On Sun, Dec 30, 2001 at 06:43:02PM -0500, John P Verel wrote:
> As I use gnome with the gnome display manager, I end up starting
> /etc/X11/xdm/Xsession, passing the argument "gnome-session".  I have
> this line in my Xsession, at line number 93:
> 
>        exec -l $SHELL -c "gnome-session"
> 
> Am I correct that this replaces the currently active login shell with a
> new one?  The -l options would seem to indicate a new login shell; the
> -c "gnome-session" passed as an argument.

Replaces, not runs two concurrently, right.

> If I've got this right, the "substitute" shell, invoked as a login
> shell, would cause re-sourcing of /etc/profile and ~/.bash_profile,
> in turn causing the path issue.

It shouldn't if the shell doesn't start with '-', e.g., "-ksh".  If that's
not happening, then it's not set up right.  (As you probaby know, the
login shell of a session is invoked as "-{shell}", where "{shell} is the
name of your shell.

Cheers,
-- 
        Dave Ihnat
        [EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to