This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
x2go_remote_desktop [2016/01/27 20:27] mgstauff [Using the x2go client] |
x2go_remote_desktop [2018/01/17 18:06] (current) mgstauff [x2go session types] |
||
---|---|---|---|
Line 32: | Line 32: | ||
It would be a little easier to connect to chead if the x2go server were running direclty on chead. However we decided that the risk of causing complications on chead and having to interrupt cluster operations to fix issues with the x2go server is not worth it. | It would be a little easier to connect to chead if the x2go server were running direclty on chead. However we decided that the risk of causing complications on chead and having to interrupt cluster operations to fix issues with the x2go server is not worth it. | ||
+ | ==== x2go Sessions are Persistent ==== | ||
+ | An x2go sessions persists when you lose your internet connection (e.g. you close your laptop) or when you quit your x2go client (that is, when you quit the x2goclient app without exiting/ | ||
==== Setup for X11 ==== | ==== Setup for X11 ==== | ||
Line 39: | Line 41: | ||
You'll need to [[http:// | You'll need to [[http:// | ||
- | === NOTE FOR OS X USERS === | + | ==== NOTES FOR OS X USERS ==== |
Dec 2015 | Dec 2015 | ||
Line 57: | Line 59: | ||
==== x2go session types ==== | ==== x2go session types ==== | ||
There are three x2go session types available on the cx2go server. More detailed instructions regarding each session type are given below. | There are three x2go session types available on the cx2go server. More detailed instructions regarding each session type are given below. | ||
+ | |||
+ | **NOTE January 2018** | ||
+ | The Published Applications session type is currently broken. Please use a MATE session. | ||
+ | |||
* **Published Applications session (Recommended)** - this allows you to simply run an xterm graphical terminal window from cx2go - you won't see a desktop. Then after you login to chead and run a GUI application, | * **Published Applications session (Recommended)** - this allows you to simply run an xterm graphical terminal window from cx2go - you won't see a desktop. Then after you login to chead and run a GUI application, | ||
* __MATE session__ - a clone of the GNOME 2 desktop environment. | * __MATE session__ - a clone of the GNOME 2 desktop environment. | ||
Line 110: | Line 116: | ||
=== 4) Login to chead === | === 4) Login to chead === | ||
- | At this point you have a terminal open on the cx2go server, and you want to get to chead to work as you usually do: | + | At this point you should |
* '' | * '' | ||
Line 117: | Line 123: | ||
=== 5) Logout === | === 5) Logout === | ||
- | Don' | + | As described above, an x2go sessions persists when you lose your internet connection (e.g. you close your laptop) or when you quit x2go (that is, when you quit the x2goclient app without exiting your x2go session). So you don' |
- | **Sessions | + | |
+ | However, | ||
+ | |||
+ | **WARNING** the x2go system sometimes fails to properly restore an existing x2go session, requiring the session be terminated before starting a new one. So **you should still always save your work before leaving or stepping away from an x2go session.** | ||
+ | |||
+ | To logout of an x2go session: | ||
* From a desktop session (MATE or XFCE): | * From a desktop session (MATE or XFCE): | ||
* Logout of the desktop environment. Look for a " | * Logout of the desktop environment. Look for a " | ||
Line 128: | Line 139: | ||
If you need to run multiple x2go sessions on (e.g. if you are connecting to the CfN cluster and to another computer), then you need to run multiple instances of the x2go client on your computer, by launching the application from the command line instead of the usual GUI method. This works on OS X, and presumably on Windows too. So e.g. on OSX, open a terminal window and run ''/ | If you need to run multiple x2go sessions on (e.g. if you are connecting to the CfN cluster and to another computer), then you need to run multiple instances of the x2go client on your computer, by launching the application from the command line instead of the usual GUI method. This works on OS X, and presumably on Windows too. So e.g. on OSX, open a terminal window and run ''/ | ||
+ | ==== Troubleshooting ==== | ||
+ | |||
+ | If you can't resume an x2go session or you can't start a new one, you may have an old session stuck on the server. | ||
+ | |||
+ | First try terminating any running sessions that show up in the x2go client when you login to a session from the client. They' | ||
+ | |||
+ | If that doesn' | ||
+ | ssh < | ||
+ | x2goterminate | ||
+ | |||
+ | The above command should find and terminate any sessions you have running. It may take a couple minutes to take effect, or may need to be run again. | ||
+ | |||
+ | If this fails, contact the admins. |