This is an old revision of the document!
This should work for Debian Jessie as well as for Ubuntu Server 16.04 - please take note of the distribution-specific differences marked within the text.
It has been tested with Ubuntu Server 16.04, with the “regular” (non-nightly) Arctica repository. Everything else is still avaiting tests by volunteers like you.
# add the X2Go repo add-apt-repository ppa:x2go/ppa # for Ubuntu apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E # for Debian echo 'deb http://packages.x2go.org/debian jessie main' >>/etc/apt/sources.list.d/x2go.list # for Debian # add the Arctica repo wget -qO - http://packages.arctica-project.org/archive.key | sudo apt-key add - echo "deb http://packages.arctica-project.org/ubuntu xenial main" >> /etc/apt/sources.list.d/arctica.list # for Ubuntu echo "deb http://packages.arctica-project.org/debian jessie main" >> /etc/apt/sources.list.d/arctica.list # for Debian # OR try the Arctica nightly repo echo "deb http://packages.arctica-project.org/ubuntu-nightly xenial main" >> /etc/apt/sources.list.d/arctica.list # for Ubuntu Nightly echo "deb http://packages.arctica-project.org/debian-nightly jessie main" >> /etc/apt/sources.list.d/arctica.list # for Debian Nightly # update the package list before installing anything apt-get update # update the base system to the current package versions # Download everything first, then upgrade, then dist-upgrade apt-get dist-upgrade -d -y && \ apt-get upgrade -y && \ apt-get dist-upgrade -y # Install X2Go packages, a minimal MATE Desktop, and Firefox as test application apt-get install -y \ x2goserver \ x2goserver-xsession \ x2gomatebindings \ mate-core \ mate-applets mate-menus \ mate-notification-daemon \ mate-screensaver \ libcanberra-pulse \ firefox apt-get install -y ubuntu-mate-themes # for Ubuntu apt-get install -y mate-themes # for Debian # add a user useradd -m -s /bin/bash <username> passwd <username>
On the X2GoServer, edit /etc/x2go/x2goagent.options:
X2GO_NXAGENT_DEFAULT_OPTIONS+=“ +xinerama”
X2GO_NXAGENT_DEFAULT_OPTIONS+=“ +extension XFIXES”
Also on the X2GoServer, verify that /usr/bin/x2goagent
is a symlink pointing to /usr/bin/nxagent
.
Next, disable XINERAMA in your X2GoClient's session profile(s).
Note that you should also add the Arctica repo on the client where you wish to use X2GoClient, and run apt-get update && apt-get dist-upgrade -d -y && apt-get upgrade -y && apt-get dist-upgrade -y
on it.
If you don't/can't do that (e.g. because you're running Windows or macOS on your client), connecting with X2GoClient 4.0.5.2 should still work, though you might not experience all the benefits of the new NX-Libs.
For more information regarding the Arctica Nightly Builds, please refer to the following blog entry: https://sunweavers.net/blog/node/20
Credits: Most of the content of the initial revision of this page stems from an E-Mail by Walid Moghrabi, with some additional remarks by Ulrich Sibiller.