[Wylug-discuss] How to connect to X-server
James Holden
wylug at jamesholden.net
Fri Oct 15 13:26:23 BST 2004
--
On Fri, 2004-10-15 at 12:55, John Hodrien wrote:
> Assuming you've got a capable OpenSSH setup, you should just use
>
> ssh -X sun_machine
>
> the DISPLAY variable should auto set to something like localhost:10.0
>
> Things should "just work" as X gets tunnelled over the ssh connection.
Yes, but X11Forwarding must be set to Yes in /etc/ssh/sshd_config on the
server. It sometimes isn't by default.
> You didn't say how you're connecting though, so there's some assumptions going
> on there.
>
> The way you are doing it doesn't work on a current Fedora box, as X is run
> with -nolisten tcp which prevents that technique from working.
Many distros are set up this way now. You have to restart the X server
to enable it, after editing your display manager config.
James
> jh
>
> --
> "Madam, you have between your legs an instrument capable of giving pleasure to
> thousands - and all you can do is scratch it."
> -- Sir Thomas Beecham (to a cellist)
>
> _______________________________________________
> Wylug-discuss mailing list
> Wylug-discuss at wylug.org.uk
> http://list.wylug.org.uk/mailman/listinfo/wylug-discuss
--
Content-Description: This is a digitally signed message part
[ signature.asc of type application/pgp-signature deleted ]
--
More information about the Wylug-discuss
mailing list