Using Vncserver in Oracle Linux 6

One of the most common ways to install Oracle products is the graphical installer. Here are some simple steps to use vncserver on Oracle Linux 6.

Configure Standard rpms to get vnc binaries.

1. From a shell run
  vncserver :1
  enter a password:
2. vi ~/.vnc/xstartup
  replace the twm in this line with gnome-session to give you a graphical session
  xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  twm &
  xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  gnome-session &
3. kill the current vncsession and restart
  vncserver –kill :1
4. restart vncserver
  vncserver :1
5. Use a vnc client to manage your sessions
  Free version is realvnc or tightvnc viewer
6. standard port is “1” or “5901”
  so you will enter your ip : port
7. Once started to allow other accounts access to the windows terminal run
  xhost +(your ip)