Re: X11 for Mac OS X F.A.Q.
Re: X11 for Mac OS X F.A.Q.
- Subject: Re: X11 for Mac OS X F.A.Q.
- From: Eric Salathe <email@hidden>
- Date: Mon, 13 Jan 2003 10:20:29 -0800
The FAQ is great (if anything lacks only in not being widely
distributed), but isn't this bit contradictory (maybe not if you
understand it all, but then you're not reading the FAQ)?
Q: Does X11.app process my .xinitrc?
A: Yes, if one exists, it will be used. If not, then it will launch
/usr/X11/bin/quartz-wm and an xterm. You can customize launch your
favorite window manager, customize your launched xterm or launch other
applications from a .xinitrc.
Q: I do not see an xterm startup when launching X11.app.
A: Try backing up your existing .xinitrc if you have one and moving it
aside.
So X11 uses your .xinitrc, but you need to delete your .xinitrc to make
X11 work? Huge numbers of people installing X11 over existing Xdarwin
installs have had no luck until removing .xinitrc. But, clearly
removing .xinitrc is not the solution; you need to fix it, something
the FAQ does not address.
So,
Q: I do not see an xterm startup when launching X11.app.
A: You probably have a pre-existing installation of Xdarwin. X11 treats
the .xinitrc file somewhat differently than Xdarwin. For a quick start,
simply rename the .xinitrc file in your home directory so something
like .noxinitrc When you start X11, it will use Apple's quartz-wm
window manager and launch a single xterm. For information on how to use
.xinitrc to customize X11, read on.
Q: Does X11.app process my .xinitrc?
A: Yes, but applications that are not in expected locations, such as
anything installed with Fink, need to be entered with their full path
(if in doubt, inclde the full path). Thus:
quartz-wm &
/sw/bin/gimp &
/sw/bin/xemacs &
exec xterm
Will launch X11 running Apple's quartz-wm window manager, open gimp and
xemacs from your fink installation, and an xterm from the default Apple
installation.
Q: Can I run another window manager instead of quartz-wm?
Yes. For example, to run the Motif window manager installed with Fink,
replace the first line in the above .xinitrc example with (note the
full path has been given):
/sw/bin/mwm &
Apple's X11 only supports window managers running in rootless mode.
One more entry:
Q: How do I run X applications from a Terminal window?
A: You need to have the DISPLAY environment set in the Terminal. The
easiest way is to include a line like:
if ( $?REMOTEHOST == 0 ) setenv DISPLAY :0.0
in your .cshrc (.bashrc if you use bash).
--
Eric Salathe
Climate Impacts Group <email@hidden>
University of Washington
<http://www.atmos.washington.edu/~salathe>
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.