XRDP. Centos 7. XRDP server
Description
Linux RDP server at Centos 7
Links
https://serverspace.ru/support/help/installing-and-configuring-an-rdp-server-on-centos-7/
Installation and Configuring
Server
Xfce install
yum -y install epel-release;
yum update -y;
yum groupinstall "Xfce" -y;
yum -y groupinstall X11;
echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc;
sudo systemctl set-default graphical.target;
systemctl isolate graphical.target;
yum install -y lightdm;
systemctl enable lightdm.service;
systemctl start lightdm.service;
xRDP install
yum install -y epel-release
yum install -y xrdp
systemctl enable xrdp
systemctl start xrdp
Firewall
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload
User add
useradd user
passwd user
su user
echo "xfce4-session" > ~/.Xclients
chmod a+x ~/.Xclients
Windows client
mstsc
192.168.199.181:3389