I am searching for a way to have multiple sessions or users on the same vnc server. I have a machine that I need to remotely access as root (for admin purposes) and as myself (as the normal user) the rest of the time. I probably will never have to remotely login at the same time as both root and myself (I am not that multitasking!)
I searched the web for almost 1 hour without finding anything useful...
Right now my /etc/rc.d/rc.vncservers.conf looks like:
Code:
VNCSERVERS="1:root 2:lpallard"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 24"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"
but when I start the vnc server, I get:
Code:
root@amd666:~# /etc/rc.d/rc.vncservers start
Starting VNC server: 1:root
New 'X' desktop is amd666:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/amd666:1.log
2:lpallard failure
Seems that the desktop 1 gets created and I can access it. Desktop 2 (my normal user account is inaccessible. What am I doing wrong?
Thanks