Vnc Passwd File / Multiple Independent VNC Connections

Carlos Sunden realteam1 "at" yahoo.com
Wed Jun 2 19:44:01 2004


Ok. Created other users in the system with useradd/passwd
Edited the vncserver file in /etc/sysconfig to look something like this: 
 
VNCSERVERS="1:jdimpson 2:phred 3:sysadmin"
 
Then:
/etc/rc.d/init.d/vncserver restart
 
It shut down my root session & daemon never came back up. I regret doing this ; there's no one that can start the vncserver at the console until the day after tomorrow.
 
The passwd file then only exists for root. ok, Just manually create a passwd file in the user's home directories and that would do it? OR does a password has to be written/specified manually in that file?
 
Thanks again!
 
Angel
 
 
 
 
 


 
 
 
 
 
William Hooper <whooper "at" freeshell.org> wrote:
Carlos Sunden said:
> Hello,
>
> While reading an article at
> http://www.linuxjournal.com/article.php?sid=5499
> It refers to starting the VNC server at boot up, and editing the passwd
> file.

Yes, each user needs a passwd file.

> However, if the vncserver has a password assigned already, this means the
> passwd file in the /root/.vnc is being used?

No, /root/.vnc/passwd is only used for the root user. Notice the "su -"
in front of the command. This changes to the assigned user and starts
VNC.

Using their example of jdimpson, you would need a
/home/jdimpson/.vnc/passwd file. If this file doesn't exist, the jdimpson
VNC session wouldn't start.

-- 
William Hooper
_______________________________________________
VNC-List mailing list
VNC-List "at" realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger