You are here

Setting up X2GO

Install on Ubuntu server

add-apt-repository ppa:x2go/stable
apt-get update
apt-get install x2goserver x2goserver-xsession
apt-get install python-software-properties
apt-get install x2godesktopsharing
  • For Ubuntu 14:10, edit /etc/apt/sources.list.d/x2go-stable-utopic.list and replace trusty with utopic
  • For Ubuntu 16:04 you will need to apply this fix:
export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
export XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop

Install on CentOS 6/7 server

yum install fuse fuse-libs

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm #for 7
yum-config-manager --disable epel     #disable since we only want one package
yum --enablerepo=epel -y install fuse-sshfs
yum --enablerepo=epel -y install x2goserver x2goserver-xsession

Publish applications (by default they are all published)

rm /etc/x2go/applications # initially a link to /usr/share/applications
mkdir /etc/x2go/applications
  • find an application that was in Gnome
ls -al /usr/share/applications | grep firefox
app=firefox.desktop ; ln -sfn /usr/share/applications/$app /etc/x2go/applications
  • or not
ln -sfn /usr/bin/dolphin /etc/x2go/applications
  • see what is there
ls -l /etc/x2go/applications

Install on Ubuntu client

apt-get install python-software-properties
apt-get update
apt-get install pyhoca-gui #best client
#apt-get install x2goclient #alt client
#apt-get install plasma-widget-x2go #may not be there

Useful Links

kb.mozillazine.org/…e_in_Linux

CentOS 5 failed to install using:

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
sudo rpm -Uvh epel-release-5*.rpm
vi /etc/yum.repos.d/epel.repo # set enable=0
yum --enablerepo=epel -y install fuse-sshfs
wget -O /etc/yum.repos.d/x2go.repo http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/RHEL_5/X11:RemoteDesktop:x2go.repo
yum install x2goserver

Installing Mate Desktop on an Ubuntu 15:04 server

sudo apt-get install mate-desktop
sudo apt-get install mate-desktop-environment-core
  • And then configure your cliet to run MATE when connecting
Topic: