Skip to content

Instantly share code, notes, and snippets.

@rvido
Last active February 25, 2023 14:34
Show Gist options
  • Save rvido/36c6af244e3e0989df8bd30189090635 to your computer and use it in GitHub Desktop.
Save rvido/36c6af244e3e0989df8bd30189090635 to your computer and use it in GitHub Desktop.
A shell script to setup Remote Desktop Ubuntu 16.04
#!/bin/bash
#------------------------------------------------
# Setup Ubuntu 16.04 with xRDP via MATE-Desktop
#------------------------------------------------
#
sudo apt update
sudo apt install xrdp
sudo apt install mate-core mate-desktop-environment mate-notification-daemon
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh
sudo systemctl enable xrdp
sudo systemctl start xrdp
echo "Note that when using Remmina, use 16 bpp color depth."
echo "Other color depth settings will most likely fail when connceting"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment