Last active
February 25, 2023 14:34
-
-
Save rvido/36c6af244e3e0989df8bd30189090635 to your computer and use it in GitHub Desktop.
A shell script to setup Remote Desktop Ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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