Tzafrir Cohen <[EMAIL PROTECTED]> writes:
> On my Mandrake everything goes through /etc/X11/Xsession
On RH7.2 it seems to be /etc/X11/xdm/Xsession, both from kdm and gdm.
> I believe that with all the distros the X server normally runs (using '.':
> in the same shell) all the scripts under /etc/X11/xsession.d
/etc/X11/xdm/Xsession contains:
# run all system xinitrc shell scripts.
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done
So I solved the login problem by adding the appropriate code to
/etc/X11/xinit/xinitrc.d/xuser
Thanks Tsafrir, you helped me a lot here. I still have not solved the
logout problem though - any more brilliant ideas?
GNOME seems to have scripts like
/etc/X11/gdm/Init/Default
/etc/X11/gdm/PreSession/Default
/etc/X11/gdm/Sessions/Default
/etc/X11/gdm/PostSession/Default
I have not yet found out if they are what I need. That would not be
enough anyway, because I would like KDE to work that way, and the
whole thing to be independent of the desktop environment.
--
Oleg Goldshmidt | [EMAIL PROTECTED]
If it aint't broken it hasn't got enough features yet.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]