Page 1 of 1

VNC Question

Posted: Mon Dec 27, 2004 3:31 pm
by davidfowler2000
Just a quickie - where do I find / set the VNC server password?

Posted: Thu Dec 30, 2004 11:31 am
by kopibean
the command to set the password for vnc is

> vncpasswd

Posted: Thu Dec 30, 2004 6:01 pm
by davidfowler2000

Much Obliged :)

cannot write password file

Posted: Thu Jan 27, 2005 7:40 pm
by jjk212
I have a quick question, I've searched thru most of the posts having to do with vnc and cant seem to find the answer to my problem.

As root when I enter in vncpasswd into a terminal I get the error:
cannot write password file to /root/.vnc/passwd

If anyone had any insight as wo how I can correct this problem I'd appreciate it.


Posted: Thu Jan 27, 2005 7:54 pm
by vplayer
quick question...

what version of gentoox do you have installed..

Version is...

Posted: Thu Jan 27, 2005 8:36 pm
by jjk212
I'm running Home 3.2. Also I just ran Magic last night, so everything seems to be up to date. FYI, I was getting the same error previous to the update.

Posted: Thu Jan 27, 2005 10:05 pm
by jahme
whats the password for? when i use VNC they dont prompt me for any password.when i want to vnc to my computer then it does.but the default gentoox password is 'xbox' so it should work if u try that.

Posted: Thu Jan 27, 2005 10:40 pm
by vplayer
look if there is the file or folder
ls -al /root/.vnc (look for passwd file)
ls -al /root (see for .vnc directory)

if you dont find it then try to create the folder or/and file for it .

mkdir /root/.vnc
touch /root/.vnc/passwd
chmod 700 /root/.vnc/passwd

Maybe that will help. You can always change the permissions of /root/.vnc/passwd to 770 or 777 depending on what error you get after this

jahme... I think the password would be blank(empty). You can set the vncpassword by following the 2nd post in this topic...

hope that helps