XRDP: Install and use X11
This commit is contained in:
@@ -11,7 +11,7 @@ if [ "$EUID" -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Currently xrdp needs X11 - wayland not ye possible
|
||||
#Currently xrdp needs X11 - wayland not yet possible
|
||||
dnf install xrdp xorgxrdp plasma-workspace-x11 -y
|
||||
XRDP_SERVICESTATUS=$( systemctl is-enabled xrdp )
|
||||
if [ ${XRDP_SERVICESTATUS} != "enabled" ]; then
|
||||
@@ -24,3 +24,6 @@ if [ ${XRDP_SERVICESTATUS} != "enabled" ]; then
|
||||
chcon --type=bin_t /usr/sbin/xrdp
|
||||
chcon --type=bin_t /usr/sbin/xrdp-sesman
|
||||
fi
|
||||
cp -f .Xclients ~/.Xclients
|
||||
chown $SUDO_USER:$SUDO_USER $SUDO_HOME/.Xclients
|
||||
chmod u+x $SUDO_HOME/.Xclients
|
||||
|
||||
Reference in New Issue
Block a user