Circa 2002-Feb-23 16:20:13 +1100 dixit Luke Freeman: : Well I have Redhat 7.1 installed and i have a ~/.xinitrc file which is : executable and has the following contents: : : #!/bin/sh : exec xterm : : and sure enough .. nothing. I log in using gdm. I could add stuff to : the gdm Session file but I would like to retain the 'startup' settings : for more than one window manager. : : dont say edit all the different session files because I shouldnt have to : .. :) : : -luke
If you're using xdm, gdm, or kdm, you don't want ~/.xinitrc. That's
for 'startx' (which is really a wrapper around 'xinit'). What you
really want is ~/.xsession, with a symlink there from ~/.Xclients
(thank you, Red Hat). That is, log in via text console and:
chmod 0700 "${HOME}/.xinitrc"
ln -s .xinitrc "${HOME}/.xsession"
ln -s .xinitrc "${HOME}/.Xclients"
Then log in via gdm. You should be able to choose a "default" session
or something similar; that should run your ~/.Xclients or ~/.xsession.
--
jim knoble | [EMAIL PROTECTED] | http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
msg05602/pgp00000.pgp
Description: PGP signature
