Browse Source

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

master
Dennis Buchhorn 1 year ago
parent
commit
0a77e69e31
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      scripts/xrdp_nvidia_setup

+ 3
- 1
scripts/xrdp_nvidia_setup 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


Loading…
Cancel
Save