This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:howto:nx-libs-betatesting [2018/04/02 09:52] ionic Add deprecation warning. |
doc:howto:nx-libs-betatesting [2020/01/14 16:22] stefanbaur apt replaces apt-get |
||
---|---|---|---|
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 21: | Line 19: | ||
===== 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 [ ' | ||
+ | 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 84: | ||
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 107: | ||
Next, **disable** XINERAMA in your X2GoClient' | Next, **disable** XINERAMA in your X2GoClient' | ||
- | <note important> | + | <note important> |
If you don' | If you don' |