----- Original Message -----
From: "Colin J. Raven" <[EMAIL PROTECTED]>


> Hi all!
> I've RTFM'd...believe me, I've been reading posts for 2 days now on the
> xauth issue.
> The trouble is (AFAIK) no one has actually answered the question in
> layman's terms:
>
> "I try to start vncserver and get the error message;
> vncserver: couldn't find "xauth" on your PATH."
>
> Now I read through the vncserver script carefully, but I'm stupid when
> it comes to perl. This one however made me wonder if here might be the
> answer:
> $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";
> Should this be hacked to read something else?

Actually xauth is used by the following two lines:

system("xauth -f $xauthorityFile add $host:$displayNumber . $cookie");
system("xauth -f $xauthorityFile add $host/unix:$displayNumber . $cookie");

You can comment them out by putting a # in front of them.  Or find "xauth"
and install it.

> BTW, doing a find on xauth yields nothing on my system (Slackware) so I
> just dunno what to do. I'd happily add it to the path (although I read
> posts that darkly hinted this was insecure) IF I could find the damn
> thing.

Not being secure and being insecure are two different things.  It provides a
layer of security, but one that is easily bypassed.

--
William Hooper

Any neural system sufficiently complex to generate the axioms of arithmetic
is too complex to be understood by itself.
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to