Mark wrote:


So, I just got access to a machine. When I ssh in, I can't throw x apps automatically.

Before you say it, the sshd config file on the remote machine has
X11forwarding set to 'yes'.

Yebbut, do the *clients* have it set? Check /etc/ssh/ssh_config on the client side.


I did notice that the display variable was not set properly. So, comparing
it to a machine that works (ur... the way I want) and a machine that
doesn't:

works:
$ echo $DISPLAY
localhost:10.0

doesn't:
$ echo $DISPLAY
:0

This infers that the client isn't doing the xauth auto-handshake on connection. I haven't used any distribution in years that doesn't install xauth (.Xauthority "Magic Cookies") as part of the XFree86 packages, so you're left with enabling X11Forwarding on the client.


I have also, when the client was a much older release than the server, had problems with the line "X11DisplayOffset" on the server side. That sets $DISPLAY to :10 as above. If your client is anywhere near the same version as the server, that should not be a problem.

Obviously, changing the display var doesn't fix it. I can also just add
the local machine to xhosts, set the display var, and throw apps straight
over the wire.

But, I want to pipe it through the ssh connection.

Technically, you still are. However, that's not "The SSH Way", and it's not as secure.


  HTH, HAND, TMTOWTDIR, ETC.  ;^)

And when do we get to fix the damned reply-to? Please delete my address from the To: lines of any replies.


Doc _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://machito.utacm.org/mailman/listinfo/siglinux

Reply via email to