Install Remote Desktop in Debian/Ubuntu

To install and use Linux remote server as desktop, first install lite weight desktop environment like XFCE on your server.

apt update
apt install xfce4 -y

Install XRDP

apt install xrdp

You need to create a user to be used for desktop.

Advertisement

useradd -m -s /bin/bash desktop

Set password for the user

passwd desktop

Now login as this user and create .xsession file.

su - desktop
echo xfce4-session >~/.xsession

Exit out of this user

exit

Restart XRDP

service xrdp restart

Now you will be able to connect to this server with any RDP client like you connect to Windows Server (Windows Remote Desktop).

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement