X over SSH!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
Subject: X over SSH!
--=-xFQ63WzxohYfNJhcctAT
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Just try `ssh -X computer` and then run something simple like xlogo to
test that X forwarding is working. The -X switch tells it to use SSH X
forwarding so the DISPLAY should automatically be set to localhost:10.0
Good Luck

On Tue, 2003-12-30 at 20:45, Sanjay Darisi wrote:
> I never had luck with exporting display over SSH. I want to run X-apps
> on my linux box (say computer 2) and export the display to my other
> linux computer (say Computer 1). I ssh'ed to computer 2 and set the
> $DISPLAY to computer1's IP:10.0 The 10 is the offset in sshd_config.
> And X11Forwarding is set to yes in sshd_config. when I run any x-app
> (like say xcalc), it says it can't open the display. Any ideas how to
> export display over ssh? Is it anything to do with .Xauthority file???
> I ran ethereal on computer 1 and saw that a few tcp packets are
> destined to port 6010 ( 6000 + 10 offset). So, does it mean my Xserver
> is not accepting connections on that port? I did xhost + too. It
> didn't work.=20
>=20
> Thank you,
> Sanjay.

--=20
Bryce C <>
CoBryce Communications

--=-xFQ63WzxohYfNJhcctAT
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/8kt8/wbq/C6yyPcRAlCPAKC7o7PR6nzPdacK4yY6qsC2/IzYlgCfeCoQ
u8b5U+2lYKPRrZ5j28zkkt0=
=/MKC
-----END PGP SIGNATURE-----

--=-xFQ63WzxohYfNJhcctAT--