Jump to content

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 comment
Share on other sites

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 comment
Share on other sites

On 4/14/2020 at 2:13 PM, AnonymousPi said:

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

 

This worked for me too!

In Debian 10, with XFCE desktop, on Armbian for a Odroid HC4.

Thank you!

 

Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines