XRDP: Install X11

This commit is contained in:
Daniel Pätzold
2026-03-27 22:51:07 +01:00
parent f20058cc34
commit 5e63d48876
+3 -1
View File
@@ -11,11 +11,13 @@ if [ "$EUID" -ne 0 ]; then
exit 1 exit 1
fi fi
dnf install xrdp -y #Currently xrdp needs X11 - wayland not ye possible
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
echo "Enabling XRDP Service and Firewall:" echo "Enabling XRDP Service and Firewall:"
systemctl enable xrdp systemctl enable xrdp
systemctl enable xrdp-sesman
systemctl start xrdp systemctl start xrdp
firewall-cmd --permanent --add-port=3389/tcp firewall-cmd --permanent --add-port=3389/tcp
firewall-cmd --reload firewall-cmd --reload