Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#276939 - 07/03/2006 17:12 Using Mac OS X as an X-Windows display
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Does anyone know how to display X apps (running on a Linux box) on a Mac? There seems to be an X11 application which I ran, and I did an xhost + unixhost but the app can't connect. It connects fine to a PC running Cygwin.

There's probably some Mac magic to do!

Ta

Rob

Top
#276940 - 07/03/2006 17:21 Re: Using Mac OS X as an X-Windows display [Re: rob]
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
Have you checked your firewall settings?

Top
#276941 - 07/03/2006 19:34 Re: Using Mac OS X as an X-Windows display [Re: rob]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I don't know if this is feasible in your situation, but have you tried using ssh to connect to the remote host? SSH X tunnels work quite well and don't require any xhost nonsense. You'll probably have to give the ssh command a "-X" (or maybe "-Y") option, and it has to be enabled in the ssh server's config file, but it works a charm barring all that. (Of course, I haven't done it under MacOS. I'll try when I get home.)
_________________________
Bitt Faulk

Top
#276942 - 08/03/2006 00:41 Re: Using Mac OS X as an X-Windows display [Re: rob]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Quote:
Does anyone know how to display X apps (running on a Linux box) on a Mac? There seems to be an X11 application which I ran, and I did an xhost + unixhost but the app can't connect. It connects fine to a PC running Cygwin.

There's probably some Mac magic to do!

Ta

Rob


Is your Mac actually setup to display X? I was under the impression that the desktop was Aqua and it didn't do X11 unless the relevant installs are done.

Glenn
_________________________
Glenn

Top
#276943 - 08/03/2006 00:46 Re: Using Mac OS X as an X-Windows display [Re: rob]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
My only experience with X11 on the Mac worked fine. Opened the X11 app, ran the xhost command, and then set the display variable on the server. After that, windows started appearing like I expected. The firewall would be the only thing I can think of as well.

Top
#276944 - 08/03/2006 01:18 Re: Using Mac OS X as an X-Windows display [Re: rob]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Quote:
Does anyone know how to display X apps (running on a Linux box) on a Mac? There seems to be an X11 application which I ran, and I did an xhost + unixhost but the app can't connect. It connects fine to a PC running Cygwin.

There's probably some Mac magic to do!

Ta

Rob


Oh! Oh! After a reread of the above and drakino's post - You have to set the display variable on the remote machine and it has to be set before launching the app that is desired to show on the mac.
_________________________
Glenn

Top
#276945 - 08/03/2006 11:37 Re: Using Mac OS X as an X-Windows display [Re: gbeer]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
DISPLAY was set correctly, and X11 is installed. The firewall sounds like a good candidate - will take a look at it today.

Thanks

Rob

Top