Linux and the hungry Penguin

Receiving remote X connections on OS X

Category: Linux
Posted: 2007-03-21 09:41, Edited: 2007-03-21 14:41

I recently needed to display an application from my Linux box to a Mac OS X machine. The Apple X server was running and working OK for local X apps but I couldn't get remote applications to display.

Well it turned out that like SuSE (see Receiving remote X connections) remote connections are disabled by default.

So for OS X to enable remote X connections you need to configure the display server to accept incoming network connections. The nolisten_tcp setting controls this. It must be set to false in order to accept connections.


To do this you use the Mac OS X user defaults system. Use defaults write to change a setting. Type the following in a terminal:

defaults write com.apple.x11 nolisten_tcp -boolean false

Remember, false enables incoming connections, true disables connections. Use the boolean values instead of their numeric counterparts.

Thanks,

THP
Permalink
Powered by sBLOG XHTML 1.0 Strict PHP CSS
Local time: 2017-09-21 10:40 GMT+2
Powered by sBLOG © 2005 Servous