<br><tt><font size=2>Marco Passerini <marco.passerini@csc.fi> wrote
on 13/05/2011 15:14:46:<br>
> Hi!<br>
> <br>
> I think I found the problem, and it happens because I'm using SU <br>
> authentication:<br>
[SNIP]</font></tt>
<br><tt><font size=2>> Is there some problem in the implementation of
the</font></tt>
<br><tt><font size=2>>SU_AUTHENTICATION mode?<br>
</font></tt>
<br><tt><font size=2>I couldn't say. I've never bothered with it and I'm
not</font></tt>
<br><tt><font size=2>sure how many people use it.</font></tt>
<br>
<br><tt><font size=2>. . . but . . . .</font></tt>
<br><tt><font size=2>/bin/su (with pam_xauth) sets XAUTHORITY</font></tt>
<br>
<br><tt><font size=2>Test this:-</font></tt>
<br><tt><font size=2> On the NX machine,
logged in as yourself.</font></tt>
<br><tt><font size=2> mkdir ~/.xauth
; touch ~/.xauth/export</font></tt>
<br><tt><font size=2> Then NXconnect/disconnect/reconnect.</font></tt>
<br>
<br><tt><font size=2>If that stops it, then you'll have to set it for each
user (and</font></tt>
<br><tt><font size=2>put up with any su consequences elsewhere . . . .)</font></tt>
<br>
<br><tt><font size=2>I'm still not sure why node isn't writing out</font></tt>
<br><tt><font size=2> ~/.Xauthority anyway.</font></tt>
<br>
<br><tt><font size=2>If that continues then the above won't work !!!</font></tt>
<br>
<br>