How to enable RDP (xrdp) with Armbian so you can login from a Windows PC


Recommended Posts

Hi,

 

There's been a few guides around on how to get RDP working with Armbian so you can login from your Windows or other PC. Some solutions mentioned in various threads here were:

 

  • Install tightvncserver instead + x2go bloat (i.e. use VNC)
  • Only login as root - didn't seem to make any difference for me
  • Change some permissions of a log file in your home directory.

 

Well, this is what I did on my Orange PI PC running Buster desktop with Kernel 5.4, as of April 2020.

 

sudo apt install xrdp xorgxrdp
sudo systemctl enable xrdp
sudo reboot

... and that was it. The missing piece of the puzzel appeared to be the install of xorgxrdp, this isn't installed automatically by 'xrdp' package, and it's useless without it.

Desktop.png

 

Update June 2020: Also works with RetroOrangePi 4.3 super quickly (given this is based on Armbian Bionic 18.04). Can RDP in and use Armbian Desktop whilst Kodi plays a 4k movie on the TV from the same device... Awesome!

 

retro.thumb.jpg.4d306c3d29a62b54f9e1468c8f984ea9.jpg

 

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Update, for whatever reason this is broken in Armbian focal, and the issue appears to be due to an Armbian shell script that xrdp doesn't like, so after doing the install, you also need to then do:

sudo mv /etc/profile.d/armbian-check-first-login.sh  /etc/profile.d/armbian-check-first-login.old

And volia, you'll actually get a desktop when you RDP from windows.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...