SaveSavedRemoved 0
1. Remove Xfce desktop
We first uninstall Xfce desktop, we use Openbox as window manager without desktop environment, it’s light weight, easy and fast and saves a lot time of troubleshooting the black screen, authentication prompts…when connecting remotely to a Linux machine desktop using windows RDP client.
sudo apt remove xfce4
sudo apt remove xserver-xorg
sudo apt-get remove task-desktop
sudo apt autoremove --purge
2. Insatll XRDP that is the protocol to allow connection from a window RDP client
sudo su –
apt install xrdp
systemctl status xrdp
xRDP uses the /etc/ssl/private/ssl-cert-snakeoil.key file which belongs to the ssl-cert group
adduser xrdp ssl-cert
3. Install openbox
sudo apt install openbox obmenu To switch between desktop environments run the following command: sudo update-alternatives --config x-session-manager Reboot your system and select Openbox as your session
4 you now can use your window RDP client to connect to Rock PI debian unit.
It’s a black screen after it’s connected, just right click on the screen, you’ll have the menu to do the trick.