Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Realvnc passwd - How to?, Can't get it to work< Next Oldest | Next Newest >
Monosourround Offline





Group: Members
Posts: 7
Joined: Nov. 2005
Posted: Nov. 03 2005,10:20 QUOTE

Hello everybody,
i have installt DSl 1.5 to my HD and want to work on it using vnc4x-1.4.6.dsl . That works so far, but how can i manage to get ask for my password. I edited vncpasswd but i can simply connect to the vncserver without being asked for pass from my Windows machine. Can somebody please tell me how?

I also have that problem that nearly everybody can get root acces by using sudo su. How can i stop that too?

Sorry, i searched the forum for answers but didn't found much helpfull stuff for these probs. I'm also a bit new to linux.
Thanx
Mo
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 03 2005,15:32 QUOTE

I believe you need to use the "vncpasswd" command to create the password file.

remove "NOPASSWD" from /etc/sudoers to keep users from automatically gaining root power.  This may break some gui tools that use sudo.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Monosourround Offline





Group: Members
Posts: 7
Joined: Nov. 2005
Posted: Nov. 03 2005,21:11 QUOTE

Thanx Mik
that sudo thing works now.

But when i use vncpasswd as root or as dsl user, i get asked for password and for vertify of the password, but when i connect from my windows machine with that realvnc viewer i didn't get asked for an password. is there something more i need to do?
Back to top
Profile PM 
dexdex
Unregistered






Posted: Nov. 21 2005,21:27 QUOTE

Quote (Monosourround @ Nov. 03 2005,16:11)
Thanx Mik
that sudo thing works now.

But when i use vncpasswd as root or as dsl user, i get asked for password and for vertify of the password, but when i connect from my windows machine with that realvnc viewer i didn't get asked for an password. is there something more i need to do?

look for vnc4x.sh or vnc4x0.sh (depends on what you use) in /usr/local/bin/

by default there is something like

securitytypes=none

in the last row, replace this with:

passwordFile=/home/dsl/.vnc./passwd

(or where you have placed the passwd file for vnc )

if you have no hd install make sure, that the vnc4x.sh and vnc4x0.sh is going through your backup ;-)
Back to top
dmizzel Offline





Group: Members
Posts: 112
Joined: April 2005
Posted: Nov. 22 2005,09:05 QUOTE

all I do is:

sudo passwd dsl

Then I am prompted to enter a new password for the user 'dsl'.
Back to top
Profile PM 
6 replies since Nov. 03 2005,10:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Realvnc passwd - How to?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code