xrdp: check for install befor installing
This commit is contained in:
@@ -12,7 +12,7 @@ if [ "$EUID" -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Currently xrdp needs X11 - wayland not yet possible
|
#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 )
|
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:"
|
||||||
|
|||||||
Reference in New Issue
Block a user