[Xquartz-dev] Initial xterm a login shell?

Merle Reinhart merlereinhart at mac.com
Mon Dec 1 16:49:25 PST 2008


Richard,

If you had your login stuff in a ~/.profile then it would have  
worked.  To force bash see my original reply to this thread from this  
morning.

Merle


On Dec 1, 2008, at 6:14 PM, Richard Tobin wrote:

>
>>>> The ancestry of the shell in the inital xterm (as shown by ps l) is
>>>>
>>>> bash
>>>> xterm
>>>> login
>>>> X11
>>>> launchd
>>>> launchd (process 1)
>>>>
>>>> Where is the login shell?
>
>> It probably execed the xterm...
>
> The full login command is
>
>  /usr/bin/login -fp richard /bin/sh -c /usr/X11R6/bin/xterm
>
> /bin/sh appears to be bash, but it's not the same as /bin/bash and it
> doesn't run either .bashrc or .bash_login.  Presumably it's bash
> compiled in standard-Posix mode, or something like that.
>
> -- Richard
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list