On Fri, Jan 12, 2001 at 08:08:36AM -0600, James H. Cloos Jr. wrote:

> The fix is for vncserver to $ENV{XAUTHORITY} = $xauthorityFile; and
possibly
> also to delete $ENV{DISPLAY};.

Indeed. (This was discussed on this list a month or two back.)

Here's the patch we're shipping:

--- vnc_unixsrc/vncserver.xauth Tue Oct 31 15:11:26 2000
+++ vnc_unixsrc/vncserver       Tue Oct 31 15:10:35 2000
@@ -37,7 +37,9 @@
 $desktopName = "X";
 $vncClasses = "/usr/local/vnc/classes";
 $vncUserDir = "$ENV{HOME}/.vnc";
-$xauthorityFile = "$ENV{HOME}/.Xauthority";
+unless ($xauthorityFile = "$ENV{XAUTHORITY}") {
+  $xauthorityFile = "$ENV{HOME}/.Xauthority";
+}
 
 $defaultXStartup
     = ("#!/bin/sh\n\n".


Tim.
*/

[demime 0.97b removed an attachment of type application/pgp-signature]
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to