VNC4 - different sessions, different passwords?

Corné Beerse cbeerse "at" lycos.nl
Tue Jan 11 10:18:01 2005


Pasztuhov Daniel wrote:

> Hi List,
> 
> I am trying to use a VNC 4.0 on a SuSE Linux. My goal is to have many 
> VNC sessions per user, with different passwords.

Best use the inetd setup as described on 
http://www.sourcecodecorner.com/articles/vnc/linux.asp.

Advantages:
- no stale vnc-sessions occupying memory and other resources
- no user-specific setup, users login with their unix account

disadvantage:
- no re-entrant sessions
- web-interface needs its own webserver on the vnc-server machine


CBee

> 
> When I am setting the password with 'vncpasswd' and connect to the 
> server (started with 'vncserver'), everything works fine.
> When I am creating a password file (even with 'vncpasswd filename' or by 
> copying the existing one) and trying to create a new server with 
> 'vncserver -PasswordFile filename', the client (Java and native Win) 
> fails to log in with the given password.
> A snippet from the appropriate log file:
> 
>> Mon Jan 10 16:34:17 2005
>>  Connections: accepted: 192.168.241.145::1604
>>  SConnection: Client needs protocol version 3.3
>>  SSecurityFactoryStandard: opening password file 'hellopasswd' failed
>>  VncAuth:     No password configured for VNC Auth
>>  Connections: closed: 192.168.241.145::1604 (No password configured 
>> for VNC
>>               Auth)
> 
> 
> I am very curious what the problem is, and how to solve it.
> 
> Thanks in advance,
> Dani
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list