Having SSH access to a server I need to install and configure remote access using a Command Line Interface, To access Server using VNC or Terminal Server Client
To enable the GUI:
yum -y groupinstall "GNOME Desktop" && systemctl set-default graphical.target && shutdown -r now
But I can't find any solution for enabling Remote Administrative Access using command line only. CentOS documentation shows how to do it using a GUI (if you have access to GUI), but nothing about command-line options or at least which config files are getting edited with GUI interface in this case...
https://www.centos.org/docs/4/html/rhd-dg-en-4/ch-ddg-remote-desktop.html
Does anyone knows how to do it?
ps ax
. – Emmanuel Rosa Jan 8 '17 at 4:00