RE: .xinitrc Not Executing on Startup
RE: .xinitrc Not Executing on Startup
- Subject: RE: .xinitrc Not Executing on Startup
- From: Yannuzzi Mark J Civ AFRL/SNDD <email@hidden>
- Date: Wed, 12 Feb 2003 13:56:24 -0500
Randy:
My .xinitrc is as follows:
#!/bin/sh# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $# Source Fink init.cshsource /sw/bin/init.cshxhost +xaviersetenv TERM_PROGRAM Apple_Terminalxterm -geometry 80x40+2+22 &#xterm -geometry 80x61+0+17 -name login &#exec blackbox#exec enlightenment#exec icewm#exec sawfish#exec gnome-session#startkdeexec quartz-wm
The "source", "xhost" & "setenv" are not being executed when X11.app startsup. I put the setenv line in because I started to get "TERM_PROGRAM: Undefined variable." error messages recently. When X11.app starts I see an xterm window placed and sized as defined in the .xinitrc file, and the following in the xterm:
TERM_PROGRAM: Undefined variable.[You Are Here:~] yannuzmj%
"[You Are Here:~] yannuzmj% env" shows:
PWD=/Users/MJY_HomeUSER=yannuzmjDISPLAY=:0.0SHLVL=2SHELL=/bin/tcshHOME=/Users/MJY_HomePATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/MJY_Home:/usr/X11R6/bin__CF_USER_TEXT_ENCODING=0x1F5:0:0_=/usr/X11R6/bin/xtermTERM=xtermWINDOWID=4194318LOGNAME=yannuzmjHOSTTYPE=macintoshVENDOR=appleOSTYPE=darwinMACHTYPE=powerpcGROUP=staffHOST=rsndzz062003901.sn.wpafb.af.milENV_SET=Mark
> ----------
> From: Randy Ford
> Sent: Wednesday, February 12, 2003 1:41 PM
> To: Yannuzzi Mark J Civ AFRL/SNDD
> Cc: email@hidden
> Subject: Re: .xinitrc Not Executing on Startup
>
>
> On Wednesday, February 12, 2003, at 09:03 AM, Yannuzzi Mark J Civ
> AFRL/SNDD wrote:
>
> > Since upgrading to v0.2 of X11, my ~/.xinitrc no longer executes on
> > startup of X11, OR when opening a new xterm. I must type "source
> > ~/.xinitrc" in order to have it run. Has anyone else experienced
> > this? Anyone have any suggestions on what it may be?
>
> It shouldn't be executed when opening a new xterm. It should only ever
> be executed by the X11.app when you start it.
>
> What is in your ~/.xinitrc? Most people seem to have it launch an
> xterm and a windows manager. What do you see when X11.app starts? You
> may want to post what's in your .xinitrc that you are not seeing being
> executed.
>
> randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.