Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
  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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.