fix[script 'xrdp_nvidia_setup']: change keyring to debian and add nvidia-driver installation

This commit is contained in:
Dennis Buchhorn 2023-01-17 10:26:19 +01:00
parent 1b2518e437
commit 0a77e69e31

View File

@ -14,9 +14,11 @@ sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove sudo apt-get -y autoremove
# Install CUDA (Shamelessly copied from Nvidia's website): # Install CUDA (Shamelessly copied from Nvidia's website):
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb #wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
wget https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update sudo apt-get update
sudo apt-get -y install nvidia-driver
sudo apt-get -y install cuda sudo apt-get -y install cuda
sudo usermod $USER -a -G video sudo usermod $USER -a -G video