Suse 10 SP2 VNC Password

hi guys

I've configured some CentOS where you can set a password for VNC and that password is requested before connecting to the normal user login

But I found that Suse 10 SP3 has no such thing

basically it has this configuration under /etc/xinetd.d/vnc

service vnc1
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/X11R6/bin/Xvnc
        server_args     = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16
        type            = UNLISTED
        port            = 5901
}

I've tried this parameter -SecurityTypes=enable usually it set to none

server_args  = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -SecurityTypes=enable

but as soon as I add it vnc does not work.

also this parameter PasswordFile=/root/.vnc/passwd
where passwd is the file I generated with vncpasswd command

server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 PasswordFile=/root/.vnc/passwd

same thing as soon as I configure it and restart xinetd vncviewer won't connect

thanks a lot for any input

Hello again kopper!

I think the command line option is -rfbauth. So it should be like

server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -rfbauth <password file>

Regards

OK looks like kinda working

Now my VNCViewer prompts me for a password :slight_smile: but I get Authentication Failure

As I understand that password is the one set using vncpasswd command but I just used 12345678 as my password and not I get Authentication Failure

something I am missing?

thanks

---------- Post updated at 02:37 PM ---------- Previous update was at 10:34 AM ----------

done

I just needed to assign permissions to the passwd file generated by vncpasswd this way

chown nobody /etc/vnc/passwd

done I can successfully login