18 lines
No EOL
528 B
Text
Executable file
18 lines
No EOL
528 B
Text
Executable file
clear
|
|
dnf up -y
|
|
dnf in xrdp plasma-workspace-x11 -y
|
|
echo "Configuring FirewallD for XRDP Service on 0.0.0.0:3389..."
|
|
firewall-cmd --permanent --add-port=3389/tcp
|
|
firewall-cmd --reload
|
|
echo "Autorizing XRDP Processes..."
|
|
chcon --type=bin_t /usr/sbin/xrdp
|
|
chcon --type=bin_t /usr/sbin/xrdp-sesman
|
|
echo "Enabling XRDP Services Daemons..."
|
|
systemctl enable xrdp
|
|
systemctl enable xrdp-sesman
|
|
echo "Starting XRDP Services Daemons..."
|
|
systemctl start xrdp
|
|
systemctl start xrdp-sesman
|
|
echo "System Reboot in 3 seconds..."
|
|
sleep 3
|
|
reboot |