Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  1. When I am away, I've got an Apple PowerBook set up to use X11 forwarding with SSH to connect to a remote iMac client in my room for server administration.

  2. Whenever I start X client programs on the client iMac, X11 would start on my PowerBook, which is OK, but...

  3. Question: Is it possible to change my settings so I can use the WeirdX (a web-based java X server) applet to take care of the X client programs instead of Mac OS X's default X11? Is there a config file I can edit to chance the $DISPLAY variable, and what should I set it to? Is this even the issue?

Thank you very much.

share|improve this question
up vote 0 down vote accepted

The default $DISPLAY variable is set by /System/Library/LaunchAgents/org.x.startx.plist. You can disable the X11 autostart feature by running

sudo launchctl unload -w /System/Library/LaunchAgents/org.x.startx.plist

but that shouldn't be necessary — just set $DISPLAY by whatever means you feel like using (e.g. ~/.bash_profile) and ssh away.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.