I'm used to working on Unix/Linux and recently moved to Mac. In used to be able to do this:
derick@linux1:~$ ssh -X linux2
derick@linux2's password:
derick@linux2:~$ xclock
I've install X11 from maxports and I can do the same from my mac. If I try the reverse by ssh-ing into my mac from linux I can only run certain apps:
-
/usr/X11/bin/xclock
works fine -
Something like
/Applications/Preview.app/Contents/MacOS/Preview
opens the GUI on the mac.It seems that this is not possible on a mac? If not, how do I run an application remotely (on a mac) with a local (linux) display? Do I need some third-party app?
Update:
To be more precise: I have synergy and use Mac for coding. On my linux PC I would like to see another application's display (GUI) from Mac. Thus, 'live screen sharing' apps like VNC will not work.
For example I'm working on my mac in app A (say Word) and want to see the output of Excel (running on mac) on my linux PC next to me. (Simulating a dual screen via the network). It worked nicely on linux, hoping for a solution for mac.
Best Answer
So if I am not mistaken the the problem you have with VNC currently is that it is sharing the current Mac user's screen with apps open that you don't want to see on your other computer? Lion introduces the ability to screen share users that are logged in the background. Quoting the text from the link:
You will likely just need to create another user for sharing.