You are not logged in.
I recently switched from booting into runlevel 3, and starting X with startx to booting to runlevel 5 and using XDM. The odd thing, however, is that now my /etc/profile.d/* scripts do not run when I login, so my $PATH is incorrect--preventing many apps from running without absolute paths (e.g. Firefox).
Anyone know when these scripts are called, and by what, and how I get XDM to do the same thing as non-graphical login in this area?
Offline
You could add:
source /etc/profile
to your .xinitrc - that oughta do it if you're using XDM.
Offline
You could add:
source /etc/profile
to your .xinitrc - that oughta do it if you're using XDM.
Actually, XDM uses ~/.xsession instead of ~/.xinitrc. Following Cerebral's suggestion and creating a symlink to your ~/.xinitrc will work.
Offline
Actually, XDM uses ~/.xsession instead of ~/.xinitrc. Following Cerebral's suggestion and creating a symlink to your ~/.xinitrc will work.
Heheh... oops. Forgot about that, and I've had those two files symlinked for ages. Thanks for the save, snowman.
Offline
Thanks--that fixed it.
And I'd noticed that XDM used .xsession, but the symlink is a good idea--I had just copied the file. No sense in redundancy.
Offline