I am running the nxclient on windows. It works successfully on most windows machines, but is failing on mine and a co-workers. We both have the same windows image so I am confident it is something machine/install specific. The gui error I see is that it just hangs at Setting up x-windows environment. I looked at the runlog and see we are failing here:
<br><br>[Tue Apr 25 08:22:11 2006]: Utility::addCookieToAuthFile: Starting nxauth [C:\PROGRA~1\NXCLIE~1/bin/nxauth -i -f /cygdrive/C/DOCUME~1/dparish/.Xauthority add parrish:0 MIT-MAGIC-COOKIE-1 a7593ee4ea184c9f216b2f9626eb3896]
<br>[Tue Apr 25 08:22:11 2006]: Trying the XAUTHORITY environment variable with value [/cygdrive/C/DOCUME~1/dparish/.Xauthority].<br>[Tue Apr 25 08:22:11 2006]: Trying the default value [C:\DOCUME~1\dparish/.Xauthority].<br>
[Tue Apr 25 08:22:11 2006]: Utility::getXAuthorityFilePath: /cygdrive/C/DOCUME~1/dparish/.Xauthority<br>[Tue Apr 25 08:22:11 2006]: Trying the XAUTHORITY environment variable with value [/cygdrive/C/DOCUME~1/dparish/.Xauthority].
<br>[Tue Apr 25 08:22:11 2006]: Trying the default value [C:\DOCUME~1\dparish/.Xauthority].<br>[Tue Apr 25 08:22:11 2006]: Utility::getXAuthorityFilePath: C:\DOCUME~1\dparish/.Xauthority<br>[Tue Apr 25 08:22:11 2006]: LoginDialog::startNXWin: FATAL ERROR: cannot add cookie to authfile.
<br><br><br>I then ran nxauth by hand on my machine and get:<br><br>nxauth: creating new authority file .Xauthority<br>Ignoring locks on authority file .Xauthority<br>Ignoring locks and writing authority file .Xauthority
<br>nxauth: unable to link authority file .Xauthority, use .Xauthority-n<br><br>When I run it by hand on a working machine it correctly generates the .Xauthority file.<br><br>I double checked and I do not have any other copies of
cygwin1.dll in my system. <br><br>I reviewed the source for nxauth and found where the error occursin process.c, but that did not point me to the resolution. Here is the code block involved:<br><br>#if defined(WIN32) || defined(__UNIXOS2__)
<br> if (rename(temp_name, xauth_filename) == -1)<br>#else<br> if (link (temp_name, xauth_filename) == -1)<br>#endif<br> {<br> fprintf (stderr,<br> "%s: unable to link authority file %s, use %s\n",
<br> ProgramName, xauth_filename, temp_name);<br> } else {<br> (void) unlink (temp_name);<br><br><br><br>I looked all over the nomachine site and did not see any documentation on the problem.
<br><br>Any hints or suggestions would be greatly appreciated.<br><br>On the machines where this works I'm amazed by this product. It is fast and quite affective.<br><br>Thanks,<br>-Dave<br>