knowgasra.blogg.se

Ubuntu remote desktop server restart
Ubuntu remote desktop server restart





  1. #Ubuntu remote desktop server restart install#
  2. #Ubuntu remote desktop server restart update#
  3. #Ubuntu remote desktop server restart password#
  4. #Ubuntu remote desktop server restart windows#

For example, at first, a time when I connected to Xrdp, after putting login details, I was disconnecting immediately. You may face issues and errors when connecting to Xrdp.

#Ubuntu remote desktop server restart password#

Keep the session to be as Xorg and put the username and password of your server.įinally, You will have the following interface. Once it is opened, enter the IP of your Linux server.

#Ubuntu remote desktop server restart windows#

To open it like this, press Windows Key + R simultaneously and type mstss, then press OK. Search and find it in the Windows search bar, or you can open it using the following command in Run windows. To do this, you should use the remote desktop connection application, which is installed by default on all Windows systems. There are some examples.Īllow a specific IP: # ufw allow from 149.255.38.47 to any port 3389Īllow a range of IP: # ufw allow from 149.255.38.0/24 to any port 3389Īllow from anywhere: # ufw allow 3389 4. It is better to allow the connection to Xrdp from your own static IP or to allow it from a range of IPs because of security reasons. If it is not active, you can enable it using the following command: # ufw enable You can check the UFW firewall status using the following command. The default port for Xrdp is 3389, which is the same port for Windows. If you have an active firewall on your ubuntu server, which is good to have, you should allow Xrdp in it. You don’t need to change anything in the Xrdp configuration unless if you face any issue or if you want to have modifications like changing the graphical environment. The “ /etc/xrdp” is the path which is included Xrdp configurations files. Restart the Xrdp to handle the modifications using the following command: # systemctl restart xrdp Change Xrdp Configuration (Optional) So use the following command to add the Xrdp user to this group. Xrdp uses “ /etc/ssl/private/ssl-cert-snakeoil.key” file and only the users of the “ ssl-cert” group can read it. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: >Īctive: active (running) since Mon 07:25:49 EDT 22h ago Add Xrdp User To SSL-Cert Group If you see the following message, it is all OK, and we can proceed to the next step. To check this, run the following command. It is better to be sure that Xrdp is running or not after installing. If both of them are installed on your Ubuntu server, you will be asked to choose one. In some versions, another display manager is installed, too, which is Gdm3. Note: Ubuntu has a display manager by the name Lightdm by default installed.

#Ubuntu remote desktop server restart install#

Use the following command to install Xrdp: # apt install xrdp Now that we have the desktop environment, we have to install Xrdp to connect to our desktop environment. You can use the following command to install Xfce on ubuntu 20: # apt install xubuntu-desktop 3. Of course, keep in mind that the connection speed depends on many things. By installing the Xfce desktop on your Linux server, you can be sure that you will not face slowness in your connection. In this article, we will install the Xfce desktop environment because it is light, fast, and user-friendly. So it is better to choose the best option for this purpose. This is up to you to choose any of them but consider that RDP is optimized for Windows, not Linux. There are many famous desktop interfaces for Linux like KDE, Gnome, Cinnamon, Xfce, etc. But if you want to connect to Ubuntu 20 using RDP, you have to have a graphical interface. When you buy Linux VPS or Linux dedicated server, there is probably no graphical interface installed. The second step is to install a graphical interface on your server.

#Ubuntu remote desktop server restart update#

Use the following command to update Ubuntu 20 Server: # apt-get update -y 2. Also, updating will update the versions of packages besides adding them to our server. Xrdp is available by default on ubuntu repositories. The first step to install Xrdp is to update the repositories to ensure we have the Xrdp package on our server. The steps that we will pass in this article to install Xrdp on Ubuntu 20 are updating the server, installing the graphical interface, installing Xrdp, and setting some configurations. Xrdp is a service you can install on your Ubuntu and connect to it through remote desktop connections.







Ubuntu remote desktop server restart