Skip to content

Instantly share code, notes, and snippets.

@qzm
Last active February 27, 2021 16:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzm/8ba8ccaeb1d363bbb56365823a4f714f to your computer and use it in GitHub Desktop.
Save qzm/8ba8ccaeb1d363bbb56365823a4f714f to your computer and use it in GitHub Desktop.
install xfce4 and xrdp
sudo apt update && sudo apt -y upgrade
sudo apt-get install xrdp
sudo apt -y install xfce4
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
# sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini
sudo /etc/init.d/xrdp start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment