Skip to content

Instantly share code, notes, and snippets.

@aimtiaz11
Last active October 7, 2016 11:59
Show Gist options
  • Save aimtiaz11/4e20f346e7b9a7a8083a to your computer and use it in GitHub Desktop.
Save aimtiaz11/4e20f346e7b9a7a8083a to your computer and use it in GitHub Desktop.
How to Install TigerVNC

Installing TigerVNC

The following steps show how to install VNC in RHEL/OEL Linux distros.

Setup VNC Server:

yum install tigervnc-server

Edit the vncservers config file:

vi /etc/sysconfig/vncservers

Add usernames to config file:

[...]
VNCSERVERS="2:weblogic 3:aimtiaz"
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment