Showing mac window on remote xserver(mac is not honoring DISPLAY variable)
I have a mac (snow leopard) and a windows7 desktop at work.
The windows des开发者_开发百科ktop is my primary machine.
Is it possible to get individual mac windows like xterm/finder to show up on windows desktop?
I had tried this couple of months back but couldn't get it to work. I had tried running cygwin Xserver on windows and on mac, I tried couple of command like these:
$ DISPLAY=<windows desktop ip address>:0 xterm
$ DISPLAY=<windows desktop ip address>:0.0 xterm
$ DISPLAY=<windows desktop ip address> xterm
but mac didn't want to honor the DISPLAY. The window would show up on the mac itself.
Before I try again, I wanted to know to ask the experts if this is even possible.
You can only do that with X11 apps that have been ported to Mac OS X. There are lots of such apps that you can get from MacPorts, but native Mac OS X applications use Quartz for their display and either Carbon or Cocoa for their UI, not XLib.
OS X has a display server that is conceptually similar to the X server, but it is not X.
You have a couple options. One is to get another Mac and run Remote Desktop. The other is to use VNC. VNC is cross-platform, so it should do what you need on Windows. There is a VNC implementation for OS X, but I don't recall what it is called.
There is a VNC implementation for OS X, but I don't recall what it is called.
There are at least two I know of and use
ChickenoftheVNC & Vines (eggplant)
精彩评论