How to xrdp to Zorin os?

TL;DR

Days of hunting around the forums, googling, stackoverflowing, and brute trial and error I worked out an install script for a clean Zorin install that will add xRDP, full screen, and keep the Zorin UI.

install-xrdp.sh

uninstall-xrdp.sh

I hope it helps,

Orion

Long version:

I'm new to Zorin, but not to Windows or Linux Distros.

I use RDP for personal networks and for work.

I've been wanting a Linux Distro that is Windows-like, can run windows programs, and has a similar look and feel. I was excited when I got Zorin OS.

My current setup is to test out Zorin in Hyper-V. But I wasn't getting the full screen. I wasn't getting good copy and paste between the Hyper-V connection and the Zorin VM.

That all lead me to look at xrdp.

I got it working without too much fuss with a bash script from GitHub (source attributions in my script at the top).

Then I got the ugly default gnome UI, not the Zorin custom UI I came for.

Fast forward 3 days later and 4+ reinstalls later. I finally just save some Checkpoints (MS speak for snapshots) to revert to so I could iterate though the install script for xrdp.

End result I got it working in all its glory, but it wasn't easy. I hope my script can help someone else out and save a lot of headache trying out Zorin OS as their daily driver/windows replacement.

I did build out an uninstall script that will remove everything that was added by the installer.

For my system, a clean install, this is completely safe. HOWEVER, please review the 'rm' commands to see if it is also safe for your system before running it.

GitHub gists:

install-xrdp.sh

uninstall-xrdp.sh

2 Likes