Created
February 9, 2022 09:07
Revisions
-
davutg created this gist
Feb 9, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ ssh username@your_server_ip sudo apt-get update sudo apt-get install xrdp sudo apt-get install xfce4 #Optional sudo apt-get install xfce4-terminal sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh sudo adduser xrdp ssl-cert sudo adduser 'username' ssl-cert sudo ufw allow 3389/tcp sudo /etc/init.d/xrdp restart sudo service xrdp stop sudo nano /etc/xrdp/startwm.sh #comment out below and add startxfce4 #test -x /etc/X11/Xsession && exec /etc/X11/Xsession #exec /bin/sh /etc/X11/Xsession sudo service xrdp start