Install Xrdp for VNC via Windows Remote Desktop
xrdp
creates an RDP server on remote Linux PCs.
Setup RDP client
RDP client (on your laptop) is installed by:
- Windows: factory installed
- Mac: RDP client
- Linux:
apt install xfreerdp
- BSD:
pkg install xfreerdp
Setup Xrdp server
The remote PC has the Xrdp server.
- install Xrdp and Openbox desktop
apt install xrdp openbox
- create
~/.xession
containingexec openbox-session
- enable xrdp with new config
service xrdp restart
Notes
- Openbox will show a grey screen upon typing password at Xrdp login. Right-click mouse to open menu.
- If you just get a gray screen, try editing
/etc/xrdp/startwm.sh
to contain#!/bin/sh if [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGE fi exec openbox-session
Leave a Comment