Using X2Go for Linux remote access

X2Go is an open source remote desktop software for Linux that uses the NX technology protocol. X2Go gives remote access to the Linux graphical user interface.

Environment

  • Server — Most Linux distributions
  • Client — Windows/macOS/Linux

Server Installation

OS Instructions
RHEL 7 or 8 sudo yum install x2goserver x2goserver-xsession
Fedora sudo dnf install x2goserver x2goserver-xsession
Ubuntu sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession

If you don't have administrative rights to install the server software, contact LSATechnologyServices@umich.edu.

Client Installation

OS Instructions
Windows Download and install the latest setup.exe file.
Mac Download and install the latest .dmg file for your OS version.
RHEL/CentOS Add the EPEL repository if it isn't present, then yum install x2goclient
Fedora dnf install x2goclient
Ubuntu apt-get install x2goclient

Connecting to Server

 Note
If you are off-campus (or, in some cases, using Wi-Fi on campus), you will need to connect to the University VPN before you will be able to successfully use X2Go. In general, this will apply in the same situations where you need VPN for using SSH. If you are not sure about this, you may choose to try a regular SSH connection first. If that works, X2Go should also.
  1. Run the X2Go client and click the "New session" button.
  2. Name the session (usually the host name) and fill out the Host field (hostname.lsa.umich.edu).
  3. Enter the Login username (must be an account present on the host machine).
  4. Select a Session Type. Available sessions depend on what environments are installed on the host. If one doesn't work, try another. We have found that GNOME does not work, but KDE usually does. MATE and XFCE are very reliable if those desktop environments are installed on the destination machine.  Check with the administrator of the machine to see if they are installed. If you want to access a desktop session that's already running on the monitor, specify "Connect to local desktop".
  5. On the Input/Output tab, you may wish to change the display resolution (fullscreen or custom).
  6. Click OK, select the session, and type in your password. You should see the host desktop in a few moments.

Additional Information

  • X2Go uses port 22 (SSH), so make sure your firewall accepts this port.
  • X2Go web site
  • X2Go Wikipedia page
  • We recommend using the XFCE desktop with X2Go for the most reliable operation. GNOME does not work.
  • To keep sessions from locking up, disable the screensaver and lock screen functions. This control is found under Applications > Settings > Screensaver.

Details

Article ID: 1786
Created
Wed 5/27/20 10:58 AM
Modified
Tue 1/11/22 2:58 PM

Related Articles (1)

SSH