On 27-Oct-00 at 04:43:46 Raymond H. Kraft wrote:
> I just installed KDE 2.0 and noticed that the PATH environment variable
> (and umask) in my login sessions is not being set according to
> /etc/profile or ~/.bash_profile.  If I switch to gdm, everything works
> OK again.  Has anyone else noticed this?  Any suggestions for an easy
> fix?
> 
RedHat 7.0? Not sure about using KDE2 but with RH7 and KDE 1.1.2 there is a
known problem with the PATH setup. The fix as far as I remember is to edit
/etc/X11/xdm/Xsession and change the very first line to:

  #!/bin/bash --login

I also changed /etc/X11/xdm/Xsetup_0 where it says 'pidof'; change this to
'/sbin/pidof' - because the PATH is incomplete/wrong it can't find just
'pidof'.

Hopefully it should all then work - well it does on my machine :-)

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to