Getting XRDP Running on NVIDIA Quadro P2000 GPU with NVIDIA Drivers 390.157
In this article, we will provide a detailed guide on how to get XRDP up and running on a server with an NVIDIA Quadro P2000 GPU and NVIDIA drivers version 390.157. The desktop environment we will use is Gnome.
Prerequisites
Before we begin, make sure that your server meets the following requirements:
- Ubuntu 18.04 or later
- NVIDIA Quadro P2000 GPU
- NVIDIA drivers version 390.157
- XRDP installed
Installing NVIDIA Drivers
To install the NVIDIA drivers, you can use the following steps:
- Add the NVIDIA graphics drivers PPA:
sudo add-apt-repository ppa:graphics-drivers/ppa- Update the package list:
sudo apt update- Install the NVIDIA drivers:
sudo apt install nvidia-driver-390Installing XRDP
To install XRDP, you can use the following steps:
- Update the package list:
sudo apt update- Install XRDP:
sudo apt install xrdpConfiguring XRDP for NVIDIA GPU
By default, XRDP will use the default Xorg server, which does not support NVIDIA GPUs. To use the NVIDIA GPU, we need to configure XRDP to use the NVIDIA Xorg server.
- Create a new Xorg server configuration file:
sudo nano /etc/X11/Xwrapper.configAdd the following lines to the file:
needs_root_rights = yesallowed_users = consoleinetd_compat = yes- Create a new XRDP session configuration file:
sudo nano /etc/xrdp/startwm.shAdd the following lines to the file:
#!/bin/bashstartx /etc/X11/Xsession /usr/bin/gnome-session --session=ubuntu-Gnome --disable-acceleration-check- Make the new XRDP session configuration file executable:
sudo chmod +x /etc/xrdp/startwm.shStarting XRDP
To start XRDP, you can use the following command:
sudo service xrdp startConnecting to XRDP
To connect to XRDP, you can use a remote desktop client such as Remmina. The server address is the IP address of your server, and the username and password are the username and password of your Ubuntu user.
In this article, we have provided a detailed guide on how to get XRDP up and running on a server with an NVIDIA Quadro P2000 GPU and NVIDIA drivers version 390.157. The desktop environment we used is Gnome.