This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
doc:howto:nx-libs-betatesting [2017/01/04 16:01] stefanbaur |
doc:howto:nx-libs-betatesting [2020/01/14 16:46] (current) stefanbaur [Installation Instructions] Added an error-check for /etc/os-release |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== What is Arctica and what do they have to do with X2Go and NX-Libs? ===== | ===== What is Arctica and what do they have to do with X2Go and NX-Libs? ===== | ||
| - | Arctica is a fork/ | + | The [[https:// |
| - | 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). | + | Currently, one of the most important |
| - | Some X2Go volunteers are joining in on that effort as well, also, there are sponsors involved, namely Qindel/ | + | Some X2Go volunteers are joining in on that effort as well, also, there are sponsors involved, namely |
| From time to time, Arctica will bundle up a release (see e.g. the announcement here: https:// | From time to time, Arctica will bundle up a release (see e.g. the announcement here: https:// | ||
| + | X2Go bases its NX-Libraries releases on Arctica' | ||
| + | |||
| + | It is possible to " | ||
| + | |||
| + | Please, try this on a test server, not on your production machine, and always make a backup copy before installing/ | ||
| + | |||
| + | That said, we are heavily interested in finding betatesters, | ||
| + | |||
| + | If you're able and willing to test, then please read on. | ||
| ===== Installation Instructions ===== | ===== 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. | + | This should work for Debian |
| - | It has been tested with Ubuntu Server 16.04, with the " | + | It has been tested with Ubuntu Server 16.04 and 18.04, as well as Debian Buster |
| - | Everything else is still avaiting | + | Everything else is still awaiting |
| < | < | ||
| + | #!/bin/bash | ||
| + | # https:// | ||
| + | set -e # abort on all errors | ||
| + | |||
| + | if ! [ $(id -u) -eq 0 ] ; then | ||
| + | echo 'This script must be run as root, or with sudo prefixed to its call.' | ||
| + | exit 1 | ||
| + | fi | ||
| + | |||
| + | if [ -f / | ||
| + | . / | ||
| + | else | ||
| + | echo '/ | ||
| + | exit 1 | ||
| + | fi | ||
| + | |||
| + | if [ ' | ||
| + | echo ' | ||
| + | exit 1 | ||
| + | fi | ||
| + | |||
| + | apt install gnupg -y | ||
| + | |||
| + | if [ ' | ||
| + | # add the X3Go repo key (Debian only) | ||
| + | apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E | ||
| + | fi | ||
| + | |||
| # add the X2Go repo | # add the X2Go repo | ||
| - | add-apt-repository ppa: | + | if [ ' |
| + | add-apt-repository ppa: | ||
| + | elif [ ' | ||
| + | echo 'deb http:// | ||
| + | fi | ||
| - | apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E # for Debian | + | # add the Arctica repo key |
| - | echo ' | + | wget -qO - http:// |
| # add the Arctica repo | # add the Arctica repo | ||
| - | wget -qO - http:// | + | echo 'deb http:// |
| - | echo "deb http:// | + | |
| - | echo "deb http:// | + | |
| # OR try the Arctica nightly repo | # OR try the Arctica nightly repo | ||
| - | echo "deb http:// | + | # echo 'deb http:// |
| - | echo "deb http:// | + | |
| # update the package list before installing anything | # update the package list before installing anything | ||
| - | apt-get update | + | apt update |
| # update the base system to the current package versions | # update the base system to the current package versions | ||
| # Download everything first, then upgrade, then dist-upgrade | # Download everything first, then upgrade, then dist-upgrade | ||
| - | apt-get dist-upgrade -d -y && \ | + | apt dist-upgrade -d -y |
| - | apt-get upgrade -y && \ | + | apt upgrade -y |
| - | apt-get dist-upgrade -y | + | apt dist-upgrade -y |
| # Install X2Go packages, a minimal MATE Desktop, and Firefox as test application | # Install X2Go packages, a minimal MATE Desktop, and Firefox as test application | ||
| - | apt-get install -y \ | + | apt install -y \ |
| x2goserver \ | x2goserver \ | ||
| x2goserver-xsession \ | x2goserver-xsession \ | ||
| Line 51: | Line 89: | ||
| mate-notification-daemon \ | mate-notification-daemon \ | ||
| mate-screensaver \ | mate-screensaver \ | ||
| - | libcanberra-pulse | + | libcanberra-pulse |
| - | firefox | + | |
| - | + | ||
| - | apt-get install -y ubuntu-mate-themes # for Ubuntu | + | |
| - | apt-get install -y mate-themes # for Debian | + | |
| + | if [ ' | ||
| + | apt install -y firefox ubuntu-mate-themes # for Ubuntu | ||
| + | fi | ||
| + | if [ ' | ||
| + | apt install -y firefox-esr mate-themes # for Debian | ||
| + | fi | ||
| # add a user | # add a user | ||
| - | useradd -m -s / | + | if ! id -u x2gotestaccount ; then |
| - | passwd | + | useradd -m -s / |
| - | </ | + | echo ' |
| + | passwd | ||
| + | fi | ||
| + | echo 'Setup complete.' | ||
| On the X2GoServer, edit / | On the X2GoServer, edit / | ||
| Line 71: | Line 114: | ||
| Next, **disable** XINERAMA in your X2GoClient' | Next, **disable** XINERAMA in your X2GoClient' | ||
| - | <note important> | + | <note important> |
| If you don' | If you don' | ||
| </ | </ | ||
| - | </note> | + | |
| - | Credits: Most of the content | + | < |
| + | - '' | ||
| + | - '' | ||
| + | |||
| + | This should only show libraries from the nx installation directory, not from the system.</ | ||
| + | |||
| + | ===== Reporting Bugs ===== | ||
| + | Please follow the instructions listed at [[wiki: | ||
| + | It may well be possible that your bug report gets forwarded to Arctica, so you might want to subscribe to their mailing list(s) as well. | ||
| + | |||
| + | Also, when reporting a bug, please indicate which repositories you were using, and the X2Go/ | ||