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 [2018/04/02 09:52] ionic Add deprecation warning. |
doc:howto:nx-libs-betatesting [2020/01/14 16:46] (current) stefanbaur [Installation Instructions] Added an error-check for /etc/os-release |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== 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? ===== | ||
| - | |||
| - | <note warning> | ||
| The [[https:// | The [[https:// | ||
| Line 12: | 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 21: | 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. | ||
| < | < | ||
| - | # add the X3Go repo key (Debian only) | + | # |
| - | apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E | + | # 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 [ ' |
| - | echo 'deb http:// | + | add-apt-repository ppa: |
| + | elif [ ' | ||
| + | echo 'deb http:// | ||
| + | fi | ||
| # add the Arctica repo key | # add the Arctica repo key | ||
| - | wget -qO - http:// | + | wget -qO - http:// |
| # add the Arctica repo | # add the Arctica repo | ||
| - | 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 65: | Line 91: | ||
| libcanberra-pulse | libcanberra-pulse | ||
| - | apt-get install -y firefox ubuntu-mate-themes # for Ubuntu | + | if [ ' |
| - | apt-get install -y firefox-esr mate-themes # for Debian | + | 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 82: | Line 114: | ||
| Next, **disable** XINERAMA in your X2GoClient' | Next, **disable** XINERAMA in your X2GoClient' | ||
| - | <note important> | + | <note important> |
| If you don' | If you don' | ||
| Line 88: | Line 120: | ||
| - | <note important> | + | <note important> |
| - '' | - '' | ||
| - '' | - '' | ||
| This should only show libraries from the nx installation directory, not from the system.</ | 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: | ||
| Line 98: | Line 131: | ||
| Also, when reporting a bug, please indicate which repositories you were using, and the X2Go/ | 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. | ||