forked from obel1x/fedora-OEMDRV
XRDP: Install and use X11
This commit is contained in:
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec dbus-launch startplasma-x11
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
@@ -11,7 +11,7 @@ if [ "$EUID" -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
dnf install xrdp xorgxrdp plasma-workspace-x11 -y
|
||||||
XRDP_SERVICESTATUS=$( systemctl is-enabled xrdp )
|
XRDP_SERVICESTATUS=$( systemctl is-enabled xrdp )
|
||||||
if [ ${XRDP_SERVICESTATUS} != "enabled" ]; then
|
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
|
||||||
chcon --type=bin_t /usr/sbin/xrdp-sesman
|
chcon --type=bin_t /usr/sbin/xrdp-sesman
|
||||||
fi
|
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