How To Install Remote Desktop on Ubuntu or Centos 7

Ubuntu:
sudo apt-get update
sudo apt-get install xrdp xfce4
echo xfce4-session >~/.xsession
sudo service xrdp restart


CentOS 7:
su -
vim /etc/yum.repos.d/xrdp.repo
----- content -----
[xrdp]
name=xrdp
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
enabled=1
gpgcheck=0
-------------------
su
yum update
yum -y install xrdp tigervnc-server
systemctl enable xrdp.service
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman
systemctl restart xrdp.service


Warning: Windows 7 MSTSC must be set to 16bit color; otherwise, connection problems occur!
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *