[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startup commands



> > I am trying to start mutt and 1 rxvt shell when
> > a specific user logs into X.
> > I tried to put
> > 
> > #! /bin/bash
> > #
> > exec mutt&
> > exec rxvt&
> > 
> > 
> > in bit .xinitrc  and .xsession  but nothing really happens.
> > How do I execute these commands at startup ? 
> 
> You don't want to exec the commands, just enter:
> 
> mutt &
> rxvt &
> exec fvwm2 (or your preferred window manager)
> 
> You should also probably just put these in .xsession, as I believe
> both .xinitrc and .xsession are run by startx, but other *only* run
> .xsession.
> 
> -- 
> Morgan Wajda-Levie

OK I am running xwm. Can that mess things up ?

I put my lines in .xsession and included 
exec windowmaker& 
as the last line.

If I log in from xwm with "no change" as wm
I just bounce right back out to xwm login again.
And if I choose a wm in xwm my commands wont
be executed.

Any ideas ?

/Joakim


Reply to: