diff --git a/client_software/0120_xrdp/.Xclients b/client_software/0120_xrdp/.Xclients new file mode 100755 index 0000000..756f08a --- /dev/null +++ b/client_software/0120_xrdp/.Xclients @@ -0,0 +1,2 @@ +#!/bin/sh +exec dbus-launch startplasma-x11 diff --git a/client_software/0120_xrdp/.gitignore b/client_software/0120_xrdp/.gitignore deleted file mode 100644 index 8b13789..0000000 --- a/client_software/0120_xrdp/.gitignore +++ /dev/null @@ -1 +0,0 @@ - diff --git a/client_software/0120_xrdp/install.sh b/client_software/0120_xrdp/install.sh index a853aa7..9f8cfc1 100755 --- a/client_software/0120_xrdp/install.sh +++ b/client_software/0120_xrdp/install.sh @@ -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