#! /bin/bash # # This script is for Ubuntu 18.04 Bionic Beaver to download and install XRDP+XORGXRDP via # source. # # Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips. # ############################################################################### # Update our machine to the latest code if we need to. # # Check if we have the bionic-proposed sources list sudo cat /etc/apt/sources.list | grep bionic-proposed > /dev/null if [ "$?" == "1" ]; then sudo bash -c 'echo "deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main multiverse universe" >> /etc/apt/sources.list < /dev/null if [ "$?" == "1" ]; then sudo bash -c 'echo "blacklist vmw_vsock_vmci_transport" >> /etc/modprobe.d/blacklist.conf < /dev/null if [ "$?" == "1" ]; then sudo bash -c 'echo "hv_sock" >> /etc/modules </etc/polkit-1/localauthority.conf.d/02-allow-colord.conf <