Insight: 5 Tools For Remote Desktop Access On RHEL/CentOS
Let’s have a look into a few tools which will let you to enable remote desktop access on RHEL and CentOS operating system.
5 Tools For Remote Desktop Access On RHEL/CentOS
Meanwhile, at first you need to have a GUI in your server or desktop environment.
#yum groupinstall 'GNOME Desktop Environment' 'X Window System'
1. Tigervnc server
Tigervnc has been derived from VNC. It is one of the popular remote desktop access software. Run the following command to install it on RedHat and CentOS.
#yum install -y tigervnc-server
VNC or Virtual Network Computing is a popular GUI based remote desktop tool. Run the following command to install it in RHEL and CentOS. At first, you need to enable EPEL (Extra Packages for Enterprise Linux) repository.
#yum -y install epel-release
Now, install x11vnc.
#yum -y install x11vnc
xrdp is an Open Source Remote desktop Protocol server.
#yum -y install epel-release #yum -y install xrdp
Start xrdp with following command.
#systemctl start xrdp.service
FreeNX is a remote desktop tool based on NoMachine.
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
For Centos 7
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Run the following command to install server and agent:
#yum install freenx-server nxagent
Enable passdb authentication:
#echo 'ENABLE_PASSDB_AUTHENTICATION="1"' >> /etc/nxserver/node.conf
Create user for remote access and assign password:
# /usr/libexec/nx/nxserver --adduser bob NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected) NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: not detected) NX> 716 Public key added to: /home/bob/.ssh/authorized_keys2 NX> 1001 Bye. NX> 999 Bye #/usr/libexec/nx/nxserver --passwd bob NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected) New password: Password changed. NX> 999 Bye
Now, install epel-repos and opennx client on your machine:
#yum install opennx
Teamviewer is a popular cross platform remote desktop tool.
#yum -y install wget #wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
Install it, using this command:
#yum install teamviewer.x86_64.rpm