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

Re: Executing script on X login



On Thu, 9 Sep 2004 15:18:46 -0700 (PDT), Matt Perry
<matt@primefactor.com> wrote:
> Is there a file where I can put programs to be run when I log into X via
> XDM? I tried .Xsession but that just dumps me back out to XDM.

That's logical. The .xsession is run as a script. So it starts all
programs and if none of these tie it up the script ends and so does
your xsession.

> 
> What I want is for several programs to be run when I log in such as xterm
> and xmodmap. I *don't* want to start a window manager from this.  I want
> to use the window manager and whatever startup that's provided by the
> system. That way if the sysadmin changes them I'll see the changes.

I think you can use the generic 'x-window-manager' which will point to
the selected default. So you could end your .xsession with either
'exec x-window-manager' (though the exec is probably not necessary).

greets,
Wim



Reply to: