>>>> "Richard" == Richard Zidlicky
<rz(a)linux-m68k.org> writes:
Richard> xemacs is started on host "bob" in a gnome session and
Richard> XOpenDisplay uses implicitly
Richard> DISPLAY=:0.0
Richard> and
Richard> XAUTHORITY=/var/run/gdm/auth-for-XXXX/database
Richard> for the connection.
OpenSolaris does something similar.
Richard> As a quick workaround, it is possible to do
Richard> cat .Xauthority >> /var/run/gdm/auth-for-XXXX/database
Richard> or equivalent using "xauth" before calling gnuclient. However
Richard> the value of XAUTHORITY is not known within the ssh session so
Richard> it is not quite so trivial to script this.
Indeed. I've hacked up a "fixxauth" script that does
xauth list | while read foo; do
gnudoit "(shell-command \"xauth add $foo\")"
done
So I can do
alice$ ssh -X bob
bob$ fixxauth
bob$ gnuclient
I've got somewhere on my to-do list to work this into gnuclient itself,
but I don't know when I'll get to it.
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta