CSCI 160 X2Go Instructions
Fall 2021
X2Go instructions in the 356/340 lab
Configuring a X2go Remote Session
-
Once installed, run the x2go.
-
Click on Session and New Session.
-
Type a session name, for example, pup13 to have a session with pup13.csci.viu.ca
machine in the lab.
-
Type host name in Host box, for example pup13.csci.viu.ca for pup13. Hosts available for
you (first year) in CSCI Labs are pup1 - pup18.
For getting better performance from the lab
machines it is advised that each student picks a different lab machine and sticks with
that machine unless there is an issue.
-
Type your lab userid in Login box.
-
Leave SSH port 22
-
Check on Use Proxy server for SSH connection.
-
Leave Proxy server Type SSH.
-
Check on Same login as on X2GO Server
-
Check on Same password as on X2GO Server
-
Type Proxy Server Host csci.viu.ca. Please, remember this Proxy Server Host is fixed for
CSCI labs.
-
Leave Proxy Server Port 22.
-
Choose Session type MATE from the drop down but leave Run in X2GKDrive unchecked.
-
In the Connection Tab, choose a lower quality such as "4k-png”for Compression
-
Click OK to save the session configuration.
Once on X2Go, you can open up MATE monitors from the Applications->Systems tools menu, and you can open a web browser from the Applications->Internet menu.
You can use the editor nano to edit your program files.
Some useful linux commands are "cd", "cd 160", "ls", "cat x" where x is a filename, and "g++ x", "g++ -Wall x -o y" where x is a .cpp file and y is the name you want for the executable.