Suse 10 SP2 VNC Password


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Suse 10 SP2 VNC Password
# 1  
Old 11-24-2011
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
# 2  
Old 11-25-2011
Hello again kopper!

I think the command line option is -rfbauth. So it should be like
Code:
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -rfbauth <password file>

Regards

Last edited by sagoiz; 11-25-2011 at 03:52 AM..
# 3  
Old 11-25-2011
Quote:
Originally Posted by sagoiz
Hello again kopper!

I think the command line option is -rfbauth. So it should be like
Code:
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -rfbauth /root/.vnc/passwd

Regards

OK looks like kinda working

Now my VNCViewer prompts me for a password Smilie 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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. High Performance Computing

Job Schedular for Suse Enterprise SLES 11 SP2

We have a server with 160 hyper-threaded cpu's threads and 2Tb of RAM. I need to implement command line job queue and parallel thread usage for multiple user environment kindly suggest necessary tools to be installed. I have understanding that sun grid engine like applications are available for... (0 Replies)
Discussion started by: vaibhavvsk
0 Replies

2. Fedora

Install memcached on Suse 11 SP2

hi guys I am trying to install this extension for php named memcached but I am not really able to do it PECL :: Package :: memcached I have Suse 11 SP2 installed without any registration (I mean installed not paying subscription) so my question is there a way to install it like in... (0 Replies)
Discussion started by: karlochacon
0 Replies

3. UNIX for Dummies Questions & Answers

How to recover root password on SuSE?

Hi, We forgot the root password on SuSE version 10 server. Since I didn't have SuSE DVD, I started the server using Redhat. I updated /etc/shadow and removed the root password. I then started the server and I still can't login using root. Any idea? One more question, on Novell web... (6 Replies)
Discussion started by: samnyc
6 Replies

4. UNIX for Dummies Questions & Answers

Password security Suse 11

hi guys Suse 11 SP x64 I want to set a password policy but I am unable to get it working I have this under /etc/pam.d/common-password password requisite pam_pwcheck.so nullok cracklib password required pam_unix2.so use_authtok nullok I tried the last... (1 Reply)
Discussion started by: karlochacon
1 Replies

5. Cybersecurity

vnc password hit from Retina

Hello, I'm having an issue with VNC. Security at work says that they scanned my servers (Solaris, RHEL, SLES) and found that you don't need a password to access a VNC session. I have tested this and you can't login to the VNC session without a password. Can someone tell what the Retina scanner... (1 Reply)
Discussion started by: bitlord
1 Replies

6. Solaris

How to set password for vnc software installed in windows machine?

i want user to prompt for password when ever he tries to login into solaris box using vnc software. is it possible.. each time the user tries to access a solaris box should be prompted for password. and each user can set his own password for his session? if all the above are possible which... (3 Replies)
Discussion started by: chidori
3 Replies

7. UNIX for Dummies Questions & Answers

Where are the repositories located in SUSE SLES 10 SP2

Hi, In SUSE SLES 10 SP2 where are the software repositories located? In CENTOS they are in /etc/yum.repositories or something like that. What does SLES use? (1 Reply)
Discussion started by: mojoman
1 Replies
Login or Register to Ask a Question