VNC4 - different sessions, different passwords?

Pasztuhov Daniel dani "at" iit.bme.hu
Mon Jan 10 15:42:00 2005


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.

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