Installing Remote Desktop Ubuntu 18.04 xrdp
Guide describes how to install xrdp to be able to level the Windows based tools remote desktop connection to get to our beloved Linux.
We made in a few minutes, let's get started!
Installation xrdp
1 | sudo apt-get install xrdp |
1 | sudo apt-get update |
Installation environment: xfce4
Why do we need if we are Xfce environment Gnome on ubuntu? This is what may be the problem with the connection. This environment will serve only to remote desktop sessions.
1 | sudo apt-get install xfce4 |
then we declare (choose) graphical environment, which will be used for remote connection:
1 | echo xfce4-session >~/.xsession |
Then we restart the service xrdp.
1 | sudo service xrdp restart |
Now we can connect by using "Remote Desktop Connection" on Windows.
The standard port is xrdp 3389.
Users can add the console command adduser username eg:
1 | adduser rafal |
We set a password and a whole should work.