On 9/14/05, Kai Grossjohann <[EMAIL PROTECTED]> wrote:
Adam Hardy <[EMAIL PROTECTED]> writes:

> If you want to change the envvars globally, then change them in
> /etc/profile since all users' profile include that.

Is /etc/profile read when a user logs in via xdm, kdm, gdm or a
similar program?

I tried to get my ~/.profile (or ~/.bash_profile or ~/.zprofile) read
when logging in via [gkx]dm, but gave up long ago.  Now I use startx...

It works if .xsession file is there in user's home dir and default wm is selected from kdm for me.
my .xsession is as follows
[EMAIL PROTECTED]:~$ cat .xsession
#!/bin/bash --login
exec startkde


--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042

Reply via email to