VNC is not opening the existing session
I had enabled VNC on Redhat Linux, but when i try to connect to VNC of my server its not giving the existing session. but it starts a new session instead.
vi /etc/sysconfig/vncservers
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"
vi /root/.vnc/xstartup
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
i had restated the service vncserver restart, i am able to get VNC of my server.
But its not providing existing session logged in by root, but it gives me a new session. any help would be appreciated.
Ahamed
|