Posted On April 1, 2019

How To Install Remote Desktop on Ubuntu or Centos 7

kimconnect 0 comments
blog.KimConnect.com >> Linux >> 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!

Leave a Reply

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

Related Post

Linux: ‘Initramfs Unpacking Failed’ Error Upon Booting

Error: initramfs unpacking failed: Decoding failed Resolution: sudo sed -i 's/COMPRESS=lz4/COMPRESS=gzip/g' /etc/initramfs-tools/initramfs.confsudo update-initramfs -u# reboot…

Set Up Mail Relay Server with CentOS

Notes from 2011...Method 1: Set this relay server to use another server as a relayyum…

How to Remove Apps in CentOS/Redhat

Check the repo directory: [root@localhost ~]# ls /etc/yum.repos.d CentOS-Base.repo CentOS-Sources.repo CentOS-CR.repo CentOS-Vault.repo CentOS-Debuginfo.repo docker-ce.repo CentOS-fasttrack.repo…