Skip to content

Instantly share code, notes, and snippets.

@prsquee
Created January 31, 2020 20:34
Show Gist options
  • Save prsquee/85e326133acd9652e1700a8bb9f02bf1 to your computer and use it in GitHub Desktop.
Save prsquee/85e326133acd9652e1700a8bb9f02bf1 to your computer and use it in GitHub Desktop.
# xrdp install on Fedora 30:
$ dnf install xrdp.x86_64 xorgxrdp.x86_64
$ dnf groupinstall 'Xfce Desktop'
# edit `/etc/xrdp/xrdp.ini` and set the following:
~~
autorun=Xorg
~~
- find the section "Session types" comment out everything except:
~~
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20
~~
$ systemctl start xrdp
# allow port 3389:
$ firewall-cmd --permanent --add-port=3389/tcp
$ firewall-cmd --reload
# configure xfce4 as desktop environment:
as normal user:
$ echo 'xfce4-session' > ~/.xsession
$ chmod +x ~/.xsession
# Connect with any RDP client:
* Windows: mstsc.exe
* Linux: remmina, freerdp-client
* macOS: Microsoft Remote Desktop 10, Royal TSX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment