On Fri, Jan 02, 2004 at 10:23:18PM -0800, Curtis Vaughan wrote:
Been looking through the archives but can't find an answer to this.
I'm using Debian stable and just installed vncserver. However, when I
try to start it I get the following error:
~/.vnc: No such file or directory
Of course, there is such a directory, although there is nothing in it.
What's the solution?
Ok well this seems like a simple problem.
What command are you using to run the server? I believe the correct
command is:
vncserver
Are you sure that ~/.vnc exists and has proper permissions? What is the
output of:
ls -ld ~/.vnc
on my system it gives:
drwxr-xr-x 2 bijan bijan 4096 Jan 3 01:27
/home/bijan/.vnc
It might also be that the environment variable HOME does not agree with
what is stored in the system (usually in /etc/passwd) and vncserver is
checking the wrong one. If this is the case and HOME is correct but
/etc/passwd is wrong, then I personally think that this is a bug in
the vncserver program. I think that programs should use HOME, because
the user always knows best.
This shouldn't be a problem but the first time you run vncserver it
should
run vncpasswd to create ~/.vnc/passwd, you might want to try running it
manually.
If none of the above fixes the problem then you may have found a bug
in the vncserver package. You should check the bug tracking system
to see if someone has reported a similar bug and if not you should
report it.
Bijan
--
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com