Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2011, 05:19 PM   #1
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
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 
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

Last edited by kopper27; 11-24-2011 at 05:26 PM.
Old 11-25-2011, 05:00 AM   #2
Registered: Oct 2010
Location: england
Distribution: debian , redhat
Posts: 36

Rep: Reputation: 2
have u tried vncpasswd command
Old 11-25-2011, 08:22 AM   #3
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
Originally Posted by bluesatbridge View Post
have u tried vncpasswd command
yeah I've tried vncpassword multiple times and it seems it's not that way
Old 11-25-2011, 08:48 AM   #4
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
an update

I added this
-rfbauth /root/.vnc/passwd

I added
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -rfbauth /root/.vnc/passwd
now I get the password prompt in my RealVNC Viewer but when I enter my 12345678 password that I set using vncpassword
I get an Authentication Failure

any idea guys

thanks a lot
Old 11-25-2011, 12:37 PM   #5
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retention Logs - SuSE 10 SP2 SingerMD Linux - Newbie 1 10-08-2010 04:12 PM
LXer: Testing the new SUSE Linux Enterprise 10 SP2 LXer Syndicated Linux News 0 05-24-2008 02:40 PM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
Dual Boot SUSE 10.0 and Win XP SP2 richardguth Linux - Newbie 19 03-15-2006 08:02 AM
suSE 9.2 to XP SP2 and ICS Pyr00 Linux - Networking 2 02-25-2005 04:31 AM

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration