Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Is there a way to...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Is there a way to...
Authored by: ajr on Jan 27, '02 05:46:27PM

have this open files from other servers. I know when running linux, if I ssh to another server and then "emacs <filename> &" it will open emacs within my system. Is there any way to do this with this program?? I work off of a lot of linux boxes, and this would help immensly!



[ Reply to This | # ]
Is there a way to...
Authored by: packy on Jan 29, '02 11:21:39AM
Simplicity itself. Run XDarwin (at http://www.xdarwin.org/), and from an xterm window type:
xhost +remote.linux.box
ssh remote.linux.box
Once you're there, check to see if your $DISPLAY variable is set:
echo $DISPLAY
If you get a blank line, define your display to be your OSX box (I'm using a bash syntax here, your milage may vary):
DISPLAY=address.of.mac:0.0
export DISPLAY
Voila! Now, when you do anything that creates an X window, the X window will appear on your Mac! All that's happening is the remote linux system is using your Mac to display the emacs session it's running. All the real work is being done on the remote linux box.

[ Reply to This | # ]