This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
doc:howto:nx-libs-betatesting [2017/01/04 16:11] stefanbaur [Installation Instructions] |
doc:howto:nx-libs-betatesting [2020/01/14 16:44] stefanbaur [What is Arctica and what do they have to do with X2Go and NX-Libs?] |
||
---|---|---|---|
Line 10: | Line 10: | ||
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:// | ||
- | It is possible to " | + | 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/ | Please, try this on a test server, not on your production machine, and always make a backup copy before installing/ | ||
Line 19: | Line 21: | ||
===== 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 awaiting tests by volunteers like you. | Everything else is still awaiting tests by volunteers like you. | ||
< | < | ||
+ | #!/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 [ ' | ||
+ | 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 58: | Line 84: | ||
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 78: | Line 109: | ||
Next, **disable** XINERAMA in your X2GoClient' | Next, **disable** XINERAMA in your X2GoClient' | ||
- | <note important> | + | <note important> |
If you don' | If you don' | ||
</ | </ | ||
+ | |||
+ | |||
+ | <note important> | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | This should only show libraries from the nx installation directory, not from the system.</ | ||
===== Reporting Bugs ===== | ===== Reporting Bugs ===== | ||
- | Please follow the instructions listed at [[wiki: | + | 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. | 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/ | |
- | 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. | + |