[techtalk] XDM and xinitrc

Subba Rao subb3 at attglobal.net
Sun Aug 6 19:47:14 EST 2000


On  0, Malcolm Tredinnick <malcolm at commsecure.com.au> wrote:
> On Sat, Aug 05, 2000 at 08:44:47PM -0400, Subba Rao wrote:
> > 
> > I use XDM to start my X-Window sessions. My window manager is FVWM2.
> > I have $HOME/.fvwm2rc which is being read when FVWM starts. I have my
> > .xinitrc in $HOME, which is not being read. I have some customizations
> > which are not being executed. When I try to modify the global xinitrc,
> > then after login I get one xclock, the wallpaper and nothing else.
> > 
> > What should I do or check to get $HOME/.xinitrc to be executed?
> 
> On most xdm installations I have seen, the system 'xinitrc' files are
> run and then the Xsession script checks for $HOME/.xinitrc and
> $HOME/.Xclients (in that order). If either of these exist _and_ are
> exectuable, then they are run as shell scripts.
> 
> Consequently, you could set up a link from $HOME/.xsession to
> $HOME/.xinitrc and make sure that .xinitrc is executable. Alternatively,
> just copy .xinitrc over to .xsession -- this approach being preferable
> if there are things you do when starting from xdm that you don't when
> starting from a prompt with startx.
> 

Thank you for replying! I tried to edit the /etc/X11/xdm/Xsession file with no results.
I tried to copy the file as ~/.xsession and even tried to link .xinitrc to .xsession.
None of these changes are executing my local customizations.

I prefer to have customizations to the local file rather than the global file.

-- 

Subba Rao
subb3 at attglobal.net
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com





More information about the Techtalk mailing list