User Tools

Site Tools


doc:howto:nx-libs-betatesting

This is an old revision of the document!


How to Betatest a newer NX-Libs version from Arctica

What is Arctica and what do they have to do with X2Go and NX-Libs?

The Arctica Project is a fork/spin-off of X2Go, and overlapping with X2Go in several goals as well as volunteers.

Currently, one of the main sub-projects within the Arctica project is the task of updating the NX-Libraries (the code that NoMachines was forced to release under GPL, on which FreeNX, NeatX, X2Go etc. all depend). Some X2Go volunteers are joining in on that effort as well, also, there are sponsors involved, namely Qindel/TheQVD, who both work on improving the NX-Libs themselves as well as paying others to do so.

From time to time, Arctica will bundle up a release (see e.g. the announcement here: https://sunweavers.net/blog/node/52), but they provide nightly builds as well: https://sunweavers.net/blog/node/20.

Installation Instructions

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:

  • Search for the String “xinerama”, and when you encounter a line like this one, make sure there's the plus sign in front of “xinerama”: X2GO_NXAGENT_DEFAULT_OPTIONS+=“ +xinerama”
  • Search for the String “XFIXES”, and when you encounter a line like this one, make sure there's the plus sign in front of “extension”: 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).

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.

</note> 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.

doc/howto/nx-libs-betatesting.1483545788.txt.gz · Last modified: 2017/01/04 16:03 by stefanbaur