This is the coolest tip I've heard in a while. I didn't even realize it was possible... (now it is no longer necessary)
In your /etc/profile:
# System-wide .profile for sh(1)
# added to allow X11 applications to run
if [[ -z $DISPLAY ]]
[ -r /etc/bashrc ] && source /etc/bashrc
Open up X11, and now you can use X11 apps from the terminal. Nice!
You can set up X11 to boot on startup, in the background, and now you have seamless X11 / Terminal use.
I discovered something related this week as I was testing different OpenACS install scenarios:
#this line makes copy paste from quartz possible
xhost + my.debian.server.com
This called up the Gnome Desktop Environment on my Powerbook (!) spread across the 17inch TFT and the TFT on my desk. Copy paste from OS X to X using only three keys to switch back and forth.
Poof the little earth spirit appears: all the OS X machines in our lab can act as thin clients for Ubuntu with OpenOffice, Gimp, etc. Reminds me of being back in college sitting in front of a huge X terminal getting my first sweet taste of Unix and the Web. Now I can give people I work with their first sweet taste of Linux. Not bad.
by Carl Robert Blesius on 11/14/04