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 |
If you want to vnc an existing session, you must install x11vnc.
Also, you should only log in as "root" to perform administrative tasks. Running *normally* as "root", or as a user with "root" powers is a neverending MSWindows legacy issue that is arguably responsible for the endless security nightmares affecting windows machines, and ultimately affecting all of us who are connected to the internet. Running an X session as root is worse to the 10th power than simply logging in as root. cheers, |
All times are GMT -5. The time now is 10:03 AM. |