Created
October 8, 2015 02:21
-
-
Save bcambl/ff17eae67863eda34c24 to your computer and use it in GitHub Desktop.
Setup Fedora 23 Gnome3 with xRDP via XFCE4
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 Fedora 23 Gnome3 with xRDP via XFCE4 | |
################################################# | |
# install the XFCE4 desktop | |
sudo dnf groupinstall xfce-desktop | |
# open standard RDP ports | |
sudo firewall-cmd --add-port=3389/tcp | |
sudo firewall-cmd --permanent --add-port=3389/tcp | |
# install TigerVNC and xRDP | |
sudo dnf install tigervnc tigervnc-server | |
sudo dnf install xrdp | |
# stop disabling SELinux | |
sudo chcon --type=bin_t /usr/sbin/xrdp | |
sudo chcon --type=bin_t /usr/sbin/xrdp-sesman | |
# enable xRDP service | |
sudo systemctl enable xrdp.service | |
sudo systemctl enable xrdp-sesman | |
# start xRDP service | |
sudo systemctl start xrdp-sesman | |
sudo systemctl start xrdp.service | |
# set XFCE4 desktop for RDP connections | |
sudo echo "startxfce4" > ~/.Xclients | |
sudo chmod +x ~/.Xclients | |
sudo systemctl restart xrdp.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, with KDE it does not work, and this since Fedora 24: https://bugzilla.redhat.com/show_bug.cgi?id=1820270