
(which you should always do), you’ll need to add a rule that will enable traffic on the Xrdp port. If you run a firewall on your Ubuntu server Configuring Firewall #īy default, Xrdp listens on port 3389 on all interfaces. If you want to use another X Window desktop, edit this file. Xrdp uses startwm.sh file to launch the X session. Whenever you make any changes to the configuration file you need to restart the Xrdp service: sudo systemctl restart xrdp This file is divided into sections and allows you to set global configuration settings such as security and listening addresses and create different xrdp login sessions. The main configuration file is named xrdp.ini Xrdp uses the default X Window desktop, which in this case, is XFCE. For basic Xrdp connections, you do not need to make any changes to the configuration files. The Xrdp configuration files are located in the /etc/xrdp directory. Xrdp has been installed on your Ubuntu server. Execute the following command to add the xrdp user to the group Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Sun 22:40:53 UTC 4min 21s agoīy default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file which is readable only by users that are members of the “ssl-cert” group. The output will look something like this: You can verify that Xrdp is running by typing: sudo systemctl status xrdp When the installation process is complete, the Xrdp service will automatically start. To install it, run: sudo apt install xrdp Xrdp package is available in the default Ubuntu repositories. To install Xfce on your server: sudo apt update sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utilsĭepending on your system, downloading and installing Xfce packages will take some time.

Type the following commands as a user with sudo privileges It is a fast, stable, and lightweight desktop environment, which makes it ideal for usage on a remote server.

There are several desktop environments (DE) available in Ubuntu repositories.

Our first step is to install X11 and a lightweight desktop environment that will act as a backend for Xrdp. Generally, Linux servers don’t have a desktop environment installed. If you want an open-source solution for remote desktop access, go with VNC This tutorial explains how to install and configure Xrdp server on Ubuntu 18.04. With RDP, you can log in to the remote machine and create a real desktop session the same as if you had logged in to a local machine. Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote system.
