| 108 | |
| 109 | === Using X2GO as a CORNET virtual desktop === |
| 110 | |
| 111 | 1. If not already installed, run “sudo apt-get install x2goclient” in terminal |
| 112 | |
| 113 | 2. Once installed, create new session in X2GO |
| 114 | |
| 115 | 3. An example set-up session |
| 116 | |
| 117 | In the X2GO session window, the following fields need to be changed: |
| 118 | Login: change to username provided by CORNET admin |
| 119 | In the X2GO session window, the following fields can be changed: |
| 120 | Session name: can be any name, typically named Cornet <node> for simplicity in example |
| 121 | SSH port: change to access desired CORNET node based on tables listed on wiki, set to access node 22 in example |
| 122 | |
109 | | === Accessing Nodes via NX Server (Linux and Windows) === |
110 | | Each CORNET node runs a local NX server program for encrypted remote desktop forwarding. Users can download the NX client software for free from the NX website (we recommend version 3.5 for Linux): |
111 | | |
112 | | [http://www.nomachine.com/download NX Client] |
113 | | |
114 | | After downloading and installing the binaries, start the NX Client software and set up a new connection with the following parameters: |
115 | | |
116 | | '''Host''': cornet.wireless.vt.edu [[BR]] |
117 | | '''Port''': 70xx (Each node uses a different tunneling port from the list above)[[BR]] |
118 | | '''Desktop''': Unix,Gnome,ADSL[[BR]] |
119 | | '''Display''': Available area[[BR]] |
120 | | |
121 | | Select 'OK' and enter your user name and password when prompted. You should now have a remote desktop window connected to the specified node. |
122 | | |
123 | | '''When ending your session, select "End" instead of "Disconnect" to close all running programs. Users who leave waveforms running after logging off risk losing access privileges.''' |
124 | | |
125 | | === NX-Server "Address Already in Use" Error === |
126 | | When attempting to access multiple nodes from the same remote machine, the NX server will fail to negotiate a unique X11 display connection on the client machine, and will return an error stating that the display address is already in use. To fix this problem, SSH into the problem node from a local shell: |
127 | | |
128 | | {{{ |
129 | | # ssh <username>@trac.cornet.wireless.vt.edu -p <port_number> |
130 | | }}} |
131 | | |
132 | | In the /tools/ directory, execute the script called "NX_offset" as root |
133 | | |
134 | | {{{ |
135 | | #cd /tools/ |
136 | | # sudo ./NX_offset |
137 | | }}} |
138 | | |
139 | | If the /tools/ directory is not already mounted, you can mount it manually: |
140 | | |
141 | | {{{ |
142 | | # sudo mount 192.168.1.102:/tools /tools |
143 | | }}} |