Set up X2Go Server and Client for Remote Access to your Linux Screen

Follow these steps

Note: You will need to use the terminal, and will need admin / root / sudo access as a user to complete this setup.

Setting up X2Go Server and Client

###Install SSH Server on the Server side

  1. sudo apt-get install openssh-server -y

X2Go Server setup

  1. sudo apt-get update
  2. sudo apt-get install python-software-properties -y
  3. sudo add-apt-repository ppa:x2go/stable
  4. sudo apt-get update
  5. apt-get install x2goserver x2goserver-xsession -y

Install Mate desktop (if needed)

  1. sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
  2. sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
  3. sudo apt-get update
  4. sudo apt-get upgrade -y
  5. sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop -y

X2Go Client Install

  1. sudo apt-get install x2goclient -y
  2. if necessary, create a user on the remote (server) machine that you can login to the desktop session as, as well as home directory for that user.

To create a user and add a home directory:

  1. useradd <username>
  2. passwd <username>
  3. mkdir /home/<username>
  4. chown <username>:<username> /home/<username>

Start X2Go Client and login using IP address of the server.

Note: You can set X2Go to full screen, and then use CTRL+ALT+T to un-capture from full screen.

1 Like