LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-24-2011, 06:19 PM   #1
kopper27
Member
 
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

Code:
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

Code:
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

Code:
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 06:26 PM.
 
Old 11-25-2011, 06:00 AM   #2
bluesatbridge
Member
 
Registered: Oct 2010
Location: england
Distribution: debian , redhat
Posts: 36

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

Original Poster
Rep: Reputation: 16
Quote:
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, 09:48 AM   #4
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
an update

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

I added
Code:
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, 01:37 PM   #5
kopper27
Member
 
Registered: Nov 2009
Posts: 147

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


Reply


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 05:12 PM
LXer: Testing the new SUSE Linux Enterprise 10 SP2 LXer Syndicated Linux News 0 05-24-2008 03:40 PM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 10:38 AM
Dual Boot SUSE 10.0 and Win XP SP2 richardguth Linux - Newbie 19 03-15-2006 09:02 AM
suSE 9.2 to XP SP2 and ICS Pyr00 Linux - Networking 2 02-25-2005 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 PM.

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