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
 

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

reply to topic new topic new poll
Topic: VCN Password, how to enable< Next Oldest | Next Newest >
nightowl66 Offline





Group: Members
Posts: 1
Joined: July 2005
Posted: July 08 2005,06:00 QUOTE

I'm running a HD install of DSL and love it so far but I need to be able to access it via VNC.  How do I password protect the connection?  I use VNC daily from within Window$ and I don't want anyone else on the network dinking around with my DSL box.  Thanks.......
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 08 2005,12:55 QUOTE

vncpasswd(1) - Linux man page
NAME
vncpasswd - set password for VNC server
SYNOPSIS

vncpasswd [file]

DESCRIPTION
The  vncpasswd  utility  should be used to create and change passwords for the TightVNC server authentication.
Xvnc uses such passwords when started with the -rfbauth command-line option (or when  started  from  the  vnc­ server script).
vncpasswd allows to enter either one or two passwords. The first password is the primary one, the second pass­word can be used for view-only authentication. Xvnc will restrict mouse and keyboard input  from  clients  who authenticated  with the view-only password. The vncpasswd utility asks interactively if it should set the sec­ond password.
The password file name defaults to $HOME/.vnc/passwd unless the -t  command-line  option  was  used. The $HOME/.vnc/ directory will be created if it does not exist.
Each  password  has  to  be  longer  than five characters (unless the -f command-line option was used).  Only the first eight characters are significant. If the primary password  is  too  short, the  program will abort. If the view-only password is too short, then only the primary password will be saved.
Unless a file name was provided in the command-line explicitly, this utility may perform certain sanity checks to prevent writing a password file into some hazardous place.
If  at  least  one  password  was  saved  successfully,  vncpasswd will exit with status code 0. Otherwise the returned status code will be set to 1.
OPTIONS
      -t     Write passwords into /tmp/$USER-vnc/passwd, creating the  /tmp/$USER-vnc/  directory  if  it  does  not exist,  and  checking the permissions on that directory (the mode must be 700). This option can help to improve security when your home partition may be shared via network (e.g. when using NFS).
      -f     Filter mode. Read plain-text passwords from stdin, write encrypted versions to stdout. One or two pass­words  (full-control and view-only) can be supplied in the input stream, newline terminates a password. Note that in the filter mode, short or even empty passwords will be silently accepted.
SEE ALSO
vncviewer(1), vncserver(1), xvnc(1), vncconnect(1)


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





Group: Members
Posts: 4
Joined: June 2005
Posted: July 18 2005,18:05 QUOTE

Call me crazy ???, but I can't get my VNC viewer (ultravnc) to ask me for my password. This is how my box is setup:

I have 3 users, root, dsl and ekiel - i installed the vnc server through mydsl while logged in as dsl. I then copied the .vnc folder from my dsl home to ekiel home and then reset my permissions on the folder so user ekiel is the owner. I ran the vncpasswd command (as user ekiel) and it allowed me to set the password and it didn't give me any errors. So far so good, but when i open the connection on my pc and my mac, it does not ask me for the password. I've even gone so far into opening a shell and setting the password while im connected to VNC!! Any ideas?
Back to top
Profile PM 
2 replies since July 08 2005,06:00 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: VCN Password

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