.xsession not being run
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > .xsession not being run




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    .xsession not being run  
mark.bergman@thales-is.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-05-07 12:20 PM

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






[ Post a follow-up to this message ]



    Re: .xsession not being run  
Jeremy Worrells


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: .xsession not being run  
Andy Bennett


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-11-07 12:19 PM

Hi,

> 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 ?)

Have you tried using .xinitrc instead?
.xinitrc and .xsession are usually executed depending on how the xserver
is started. i.e. a startx will use one and an xdm session will use the
other.



Regards,
@ndy

--
andyjpb@ashurst.eu.org
http://www.ashurst.eu.org/






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register