Install TigerVNC in RHEL or OEL
The following are quick and easy steps for installing VNC server in RHEL/OEL Linux distros.
Installation Steps
Edit the vncserver config file:
vi /etc/sysconfig/vncservers
Add usernames to config file:
[...]
VNCSERVERS="2:weblogic 3:johnsmith"
VNCSERVERARGS[2]="-geometry 1200x1024 -nolisten tcp -localhost"
Login as the user you want VNC in as and then set the password using vncpasswd command.
Adding Gnome/KDE
Run the below commands to install GNOME/KDE desktop environments.
yum groupinstall "Development Tools"
yum groupinstall "X Window System" "Desktop"
yum groupinstall "GNOME Desktop Environment"