X2Go server enables access to the graphical desktop of a computer remotely, even over a low bandwidth connection
X2Go is a Remote Desktop solution which allows you to remotely connect to a PC. It supports all the OS whether it is Linux, Windows or Mac OS X. A key feature is that it even supports sound transmission over remote connections. Multiple users/clients can access a single X2Go Server at the same time, with each user/client having an individual Desktop session. In this case, we are using Ubuntu (server & client) and Windows 7 (client).
X2Go server Installation
Step 1: Install X2Go server on Ubuntu 14.04 Server.
apt-get update
apt-get install python-software-properties
add-apt-repository ppa:x2go/stable
Step 2: Add PPA repository of x2Go to install x2Go server and client via repository.
sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
sudo apt-get install x2golxdebindings # if you use LXDE/lubuntu
Step 3: Now, install the graphical Desktop environment in the Ubuntu Server. Run the following command and reboot.
apt-get install xfce4
reboot
X2Go connection with Ubuntu Desktop
Step 1: Now, connect the Ubuntu 14.04 server with the X2Go client from Ubuntu 14.04 desktop. Install the X2Go client in the Ubuntu Desktop as follows:
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goclient
Step 2: After successful installation of the client, open the X2Go client in the desktop and give the following details:
Session name: New session (any name)
Host : 192.168.5.100 (Your IP)
Login : administrator (or any user on your Ubuntu Server)
SSH port : 22 ( if not altered at Ubuntu Server)
Session type : XFCE ( Graphical environment installed
in server)
Step 4: Now, it will ask for user credentials. In this case, it is user=administrator and password=pcquest. After putting credentials, it will initiate the process of the connection and ask to authenticate the SSH key. Press Yes and press Use default config. You will get the graphical connection with the Ubuntu Server.
Remote Connection with Windows machine
Step 1: To connect with Windows 7 machine first, install the X2Go client in windows machine which is available online in the form of exe file. After the installation, run the X2Go client and give the same details which were given to connect Ubuntu server like IP, Login etc.
Step2: Put the credentials as user=administrator and password=pcquest which might be different in your case. You will get the remote desktop.