Noah Meyerhans wrote:
> On Sun, Jul 04, 2010 at 12:49:10PM +1000, Adam Nielsen wrote:
>>> Nothing.  I even did a cold reboot.  It seems as if .xinitrc isn't actally
>>> being executed on startup, because 'sh .xinitrc' gets everything running
>>> great.  
>> Might depend on your system config, I've never fully understood the 
>> difference
>> between ~/.xinitrc, ~/.xsession, /etc/X11/xinit/xinitrc, etc. mostly because
>> each window manager's init script seems to treat the files differently.
> 
> Window managers don't (or certainly shouldn't) touch .xsession or
> .xinitrc.  Those scripts are where the window manager should start from.
> .xinitrc is used be xinit, which is in turn used by startx.  Display
> managers (xdm, kdm, gdm, etc) won't use it.  There may be logic in some
> of the system-wide X startup scripts that changes this, depending on
> your distro, but that probably shoudn't be the case.  Display managers
> normally use ~/.xsession for their standard session initialization, but
> (particularly with gdm and kdm) it's possible to explicitly specify a
> session using a menu on the login screen.  This selection overrides the
> default behavior and also is probably remembered across logins via
> ~/.dmrc.  If you're logging in using one of these display managers and
> getting unexpected behavior, check for this file.
> 
> noah
> 
        Note that nowadays, most display managers use the desktop files
from /etc/X11/sessions to know what window managers are available on
your computer and to offer the user a choice between those. In
addition, they may use ~/.xprofile to setup the environment instead
of the older ~/.xsession (don't ask me why they switched from
.xsession to .xprofile). So you might want to look at those files too.

                Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to