xrdp: check for install befor installing

This commit is contained in:
Daniel Pätzold
2026-03-31 19:45:36 +02:00
parent 43d2773ea9
commit 98161c428c
+1 -1
View File
@@ -12,7 +12,7 @@ if [ "$EUID" -ne 0 ]; then
fi
#Currently xrdp needs X11 - wayland not yet possible
dnf install xrdp xorgxrdp plasma-workspace-x11 -y
rpm -qa | grep xorgxrdp || dnf install xrdp xorgxrdp plasma-workspace-x11 -y
XRDP_SERVICESTATUS=$( systemctl is-enabled xrdp )
if [ ${XRDP_SERVICESTATUS} != "enabled" ]; then
echo "Enabling XRDP Service and Firewall:"