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 6 or 7 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 lsait@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 sometimes does not work, but KDE usually does. MATE and XFCE are very reliable. 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

Details

Article ID: 1786
Created
Wed 5/27/20 10:58 AM
Modified
Mon 8/31/20 1:40 PM