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

File Searching in Linux

Step 1 Index your file system with updatedb. This makes a list of files so…

Linux Mint /dev/sda1 Out of Space Issue

Issue: "sudo apt --fix-broken install"leads to something such as:"dpkg: error processing archive /var/cache/apt/archives/linux-image-6.8.0-87-generic_6.8.0-87.88~22.04.1_amd64.deb(--unpack):cannot copy extracted…

Bash Shell Quick If Then and Case Switch Statements

protocol=udp # or tcp # If-then implementation if [$protocol == udp] then prefix=@ else prefix=@@…