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
signature.asc
Description: Digital signature
