diff --git a/ubuntu/18.04/install.sh b/ubuntu/18.04/install.sh index 8842ecd..4466fc7 100644 --- a/ubuntu/18.04/install.sh +++ b/ubuntu/18.04/install.sh @@ -54,19 +54,26 @@ sudo sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/ # Changed the allowed_users sudo sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config +sudo dpkg-reconfigure xserver-xorg-legacy # Enable the hv_sock module -sudo rmmod vmw_vsock_vmci_transport -sudo rmmod vsock -sudo modprobe hv_sock +# sudo rmmod vmw_vsock_vmci_transport +# sudo rmmod vsock +# sudo modprobe hv_sock # Blacklist the vmw module +sudo cat /etc/modprobe.d/blacklist.conf | grep vmw_vsock_vmci_transport > /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 <