Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Re-enable remote X viewing in 10.5.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Re-enable remote X viewing in 10.5.5
Authored by: Millard73 on Sep 20, '08 10:31:47AM

Well, every once in a great while there is a reason to prefer direct X11 connections to SSH forwarding, but they are few and far between. With "trusted forwarding (i.e. the -Y option) almost any X program should work. However, every once in a while you'll run into a program that will still not work (some TCL/Tk scripts come to mind).

If you absolutely must use direct X11 connections, be sure to use the xauth mechanism to limit connections to the system(s) that you are actually using by running "xhost +name.of.remote.machine". Your connections aren't encrypted and someone could spoof the host's IP, but it's better than nothing.

However, SSH X11 forwarding has other advantages. If you're behind a firewall that only allows port 22 connections or you're on a NAT, you don't have to worry about open ports, directing traffic to a specific system, etc. It just works.

[ Reply to This | # ]