06-08-07 06:24 PM
On 2007-06-05, mark.bergman@thales-is.com <mark.bergman@thales-is.com> wrote:
> I am porting from Digital Unix to Red Hat Linux 4, and
> finding .xsession file is not executed after login.
>
> Machine boots to run-level 5, user logs on, /etc/X11/gdm/gdm.conf has
> defaultSession="mwm.desktop" (we need mwm for separate reasons).
> I am finding X startup quite confusing, but I suspect /etc/X11/xdm/
> Xsession runs /usr/share/switchdesk/Xclients.mwm, which is a script
> running mwm from /usr/X11R6/bin.
> User sees a blank screen, but RMB gives menu to bring up a terminal
> etc.
> I want to display our own X application automatically after login -
> where should I put this?
>
> (Looking at the chain of scripts, it appears that a search is made for
> files named "mwm" in various locations, so possibly in our own new
> file /usr/local/bin/mwm ?)
>
> TIA
> Mark
>
My first stab at this would be to check that .xsession has execute
permissions. If that does not work, you may have to dig deeper into the
Xclients.mwm.
Jeremy
--
Jeremy Worrells
Unix Generalist
jeremy@worrells.org
[ Post a follow-up to this message ]
|