You can launch the RDP client by typing "mstsc" in the run window or command line. On your Windows client, open the RDP client and enter the IP address of the Debian system. The Xrdp service is successfully installed and ready to connect. sudo ufw reloadĪll right, Your system is ready to access over RDP protocol. Systems running with UFW firewall, use the following command to open port 3389 for the LAN network. You need to adjust the firewall to allow access to port 3389 for remote systems. The Xrdp listens on port 3389, which is the default port for the RDP protocol. Restart the Xrdp service by running the command given below: sudo systemctl restart xrdp Step 4 – Adjust Firewall Press CTRL+O to write out and then CTRL+X to exit from the editor. Edit the xrdp file /etc/xrdp/startwm.sh in a text editor: sudo nano /etc/xrdp/startwm.shĪdd these commands before the commands that test & execute Xsession as shown below: So, that I ahave included steps to resolve black screen issue in background. Sometimes user faces issue with black screen appears in background. To do this, add the xrdp user to the “ssl-cert” group with the following command. ![]() So we need to allow xrdp user to access this key file. This key file is owned by root and the group owner is “ssl-cert” The XRDP sessions uses a certificate key file “/etc/ssl/private/ssl-cert-snakeoil.key”, which plays an important role with remote desktop. The installation process creates a user named xrdp in your system. The above output shows the Xrdp service is up and listening on port 3389. To verify the service status run the command: sudo systemctl status xrdp Once the xrdp installation finished successfully, its service will be started automatically. You can install a remote desktop on your Debian system by executing the following command. The Xrdp Debian packages are available under the default system repositories. Next, restart your system to apply the changes. You can set it with the following command: sudo systemctl set-default graphical.target Once all the packages are installed, you will need to set your system boots into the graphical target. Next, press the Space key to select it, also choose the Dekstop type, then press the Tab key to select OK then hit Enter to install the desktop environment. ![]() Use the arrow key to scroll down the list and find Debian Desktop Environment. Open a terminal and upgrade all installed packages with the following command: sudo apt update & apt install tasksel -yĪfter installing Tasksel, launch the Tasksel utility with the following command: sudo tasksel ![]() So you will need to add a desktop environment to your system. XRDP server is designed to controls only desktop systems. You must have shell access with a sudo privilege user to the Debian 10 system Step 1 – Installing Desktop Environmentīy default, Debian Servers doesn’t have an installed Desktop Environment. ![]() This tutorial helps you to Install XRDP Server (Remote Desktop) on the Debian 10 Linux system. The XRDP allows two-way clipboard transfer, audio and microphone voice redirection and allows us to mount local drives on the remote machines. The XRDP server allows remote users to graphical login to the remote machines using the Microsoft RDP client. It provides bridging between the RDP client and the X windows system. XRDP is an open-source implementation of the Microsoft RDP (Remote Desktop Protocol) server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |