X over SSH!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: X over SSH!
Am 30. Dec, 2003 schw=E4tzte Sanjay Darisi so:

> Wow!!! it works...Thank you Bryce. Btw, what additional things does the
> -X switch do apart from setting the DISPLAY to localhost:10.0 . 'cos I
> tried ssh without the -X switch for the second time and it works. So,
> does it have some kind of cookie setup somewhere or anything to do with
> .Xauthority file?


ssh uses 'xauth' to enable access back to the display you're coming from.
xauth sets up ~/.Xauthority.

X11 forwarding must be turned on for both the client and the server in orde=
r
to work. sshd_config is the place to turn it on on the server, which you
already got.

For the client you can use -X from the command line or set it up in global
or local config files. See 'man ssh_config' for client configuration
information. Client config info can also go in ~/.ssh/config. Config option=
s
are based on pattern-matching for the host you're sshing to.

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  Don't step in front of speeding cars, don't eat explosives
#  and don't use m$ LookOut :). - der.hans