defaults write org.x.X11 nolisten_tcp 0
[robg adds: I haven't tested this one.]
|
|
|
When you upgrade to OS X 10.5.5, remote X viewing (via X11) gets disabled. This is fine for most people, however for those of us who use remote apps, it's a pain. The following defaults setting will take care of the issue. In Terminal, issue this command:
[robg adds: I haven't tested this one.]
•
[14,782 views]
Hint Options
10.5: Re-enable remote X viewing in 10.5.5
When possible, use
ssh -X for remote apps, it's safer and works even if X does not listen to tcp connections (which seems like a reasonable default).---
10.5: Re-enable remote X viewing in 10.5.5
With newer ssh clients you should use -Y instead of -X.
Why ssh -Y instead of -X?
I've always used while it says the following for -X:
So am I to understand that using -X makes X11 sessions obey the X11 SECURITY extension (is that the xauth stuff?) whereas -Y trusts any and all X11 connections? How is that better? Or am I misreading something…?---
10.5: Re-enable remote X viewing in 10.5.5
Absolutely, especially on an insecure link.
10.5: Re-enable remote X viewing in 10.5.5
You can klick on "preferences" within X11, choose "security" and allow Network connections - so you don't have to use the terminal.
10.5: Re-enable remote X viewing in 10.5.5
For whatever reason I didn't even realize that there was an X11 preferences window. Thanks!
Not a great idea
I'm not sure why anyone who uses remote apps wouldn't know about X forwarding over ssh (as has already been commented on). Implementing this hint is really not a good idea security-wise - doubly so because there's no particular reason for doing this, AFAICT. You're basically just opening up a potential attack point for no good reason (yes, there have been remote X exploits).
Not a great idea
> I'm not sure why anyone who uses remote apps wouldn't know about X forwarding over ssh
10.5: Re-enable remote X viewing in 10.5.5
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).
10.5: Re-enable remote X viewing in 10.5.5
Well all very nice, but 10.5.5 X11-forwarding doesn't work for me... or well it works and doesn't. Taking an ssh -Y or ssh -X command works fine to a Linux box in case I'm using my own account. But since I'm a unix admin, I more of then than not need to use an application remotely with another account. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.31 seconds |
|