X2Go: Remote access for your Linux box.

x2go-clientX2go is a great application for remotely accessing your Linux computer from a Windows, Linux, or Mac PC. What makes this unique for Linux is that you are able to connect to your computer at the login screen.  Perhaps you are booting into a headless system and don’t want a GUI running all the time. With X2Go you are able to select your desktop environment before connecting.  For the session it will launch that GUI and then exit it upon logout.

In order to access your remote server it will need to have SSH enabled and not blocked by any firewalls. If you have a custom port you will need to enter it in the session preferences. In the session preferences there is an option for Session type.  Here you will need to select a GUI that is installed on the remote system or Connect to local desktop. The Connect to local desktop option will just show you what is on the monitor for the system as if you were sitting in front of it. Unlike many other remote desktop applications for Linux you are not required to be logged in to the machine in order to use the remote access application. The x2go server will run as a service and allow you to have full access to the system. This project is open source and actively maintained. For more information feel free to visit their website at: http://wiki.x2go.org/doku.php/start

Installing X2Go Server on your Linux distribution
Ubuntu (10.04 and 12.04)
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
Ubuntu (14.04)
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
Fedora 19+
sudo yum install x2goserver
RHEL 7
sudo rhn-channel -l
sudo rhn-channel –add -c rhel-x86_64-server-optional-7
sudo yum install x2goserver
sudo yum install x2goserver-xsession
RHEL 6
sudo rhn-channel -l
sudo rhn-channel –add -c rhel-x86_64-server-optional-6
wget http://mirror01.th.ifl.net/epel/6/i386/epel-release-6-7.noarch.rpm
sudo rpm -i epel-release-6-7.noarch.rpm
sudo yum install fuse-sshfs
sudo yum install x2goserver
sudo yum install x2goserver-xsession
Installing X2Go Client
Windows
Download and install x2goclient
MacOS X
Download and install x2goclient
Ubuntu (10.04 and 12.04)
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
apt-get install x2goclient
Ubuntu (14.04)
sudo apt-get install python-software-common
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
apt-get install x2goclient
Fedora
yum install x2goclient

About Brian Aldridge

I am a software developer and podcaster. Catch me weekly on Infection - The Survival Podcast at https://infectionpodcast.com

Leave a Reply