Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

CentOS 7 VPS + MATE DESKTOP + Remote Desktop Access

1) Stop and disable NetworkManager then restart the server

systemctl stop NetworkManager

systemctl disable NetworkManager

2) Activar repositorio EPEL

yum install epel-release -y

yum update

yum clean all

3) Instalar Mate Desktop

yum groupinstall "MATE DESKTOP" -y

4) Correr este comando para que MATE inice con el servidor

ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

5) Instalar VNC y Remote Desktop

yum install xrdp tigervnc-server -y

6) Desactivar SELinux

nano /etc/selinux/config

Cambiarlo a DISABLED

7) Iniciar remote desktop y configurarlo para que inicie con el OS.

systemctl start xrdp

systemctl enable xrdp

echo "mate-session" > ~/.Xclients

chmod a+x ~/.Xclients

8) Comprobar que Remote Desktop funciona

netstat -antup | grep xrdp

Se mostrara un mensaje similar al de abajo

[root@test1 ~]# netstat -antup | grep xrdp


tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN
1720/xrdp-sesman
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN
1721/xrdp

9) Ingresar por remote desktop utilizando el IP del servidor

You might also like