Installing VNC-Server

  1. yum check-update
  2. yum update
  3. yum groupinstall “GNOME Desktop”
  4. unlink /etc/systemd/system/default.target
  5. ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
  6. Reboot
  1. I assume you have either kvm, or any other way to access console. You need to see Gnome GUI on the console  after the reboot
  2. yum install tigervnc-server xorg-x11-fonts-Type1 –y
  3.  useradd pirat9
  4. passwd pirat9
  5.  cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
  6. Edit /etc/systemd/system/vncserver@:1.service and replace string <USER> with pirat9
  7. systemctl daemon-reload
  8.  su – pirat9
  9. As user pirat9 run “vncpasswd” and set vNC server password for user pirat9. 
  10. systemctl start vncserver@:1.service
  11. systemctl enable vncserver@:1.service
  12. firewall-cmd –permanent –add-service vnc-server
  13. systemctl restart firewalld.service
  14. Install telnet “yum install telnet” and test you can connect to service with “telnet localhost 5901”