Mark Gordon wrote:
>
> Miles Lane wrote:
>
> > I reported a few days ago that the X bit was getting unset on
> > my files in /etc/X121/gdm/Sessions. I was then told that a
> > fix was on the way. I then installed an updated GDM2 rpm
> > from ftp.helixcode.com. The problem persists.
> >
> > I am running Mandrake 7.2.
>
> I've tested the fix on our end, and I'm not getting the problems you
> reported earlier. I'm wondering whether the problem you're having and
> the problem we fixed were different problems with similar symptoms. Has
> the problem you're having changed in any way, or is it exactly the same
> as it was previously?
>
> -Mark Gordon
I'm still having the same problem too. The problem is that every time
you reboot the mandrake_desk package recreates all the window manager /
desktop sessions from some other files. This is done by the
/usr/sbin/fndSession program which is started in
/etc/rc.d/init.d/mandrake_everytime script. The fndSession program looks
in /etc/X11/wmsession.d for scripts named XXWM where XX is 01 to
whatever, and WM is the session name. Looking in that directory I see :
[drfickle@potato wmsession.d]$ ls -l
total 32
-rw-r--r-- 1 root root 117 Oct 26 10:12 01KDE
-rw-r--r-- 1 root root 136 Oct 30 22:04 02GNOME
-rw-r--r-- 1 root root 224 Oct 2 09:53 03WindowMaker
-rw-r--r-- 1 root root 173 Oct 25 03:03 04enlightenment
-rw-r--r-- 1 root root 179 Oct 3 13:42 05blackbox
-rw-r--r-- 1 root root 134 Oct 3 02:09 06afterstep
-rw-r--r-- 1 root root 143 Oct 3 12:03 07IceWM
-rw-r--r-- 1 root root 139 Oct 30 22:06 08failsafe
So the fndSession does something with these files, then creates the real
sessions in /etc/X11/gdm/Sessions
In that directory I have :
[drfickle@potato Sessions]$ ll
total 40
-rwxr-xr-x 1 root root 43 Nov 20 21:20 AfterStep*
-rwxr-xr-x 1 root root 42 Nov 20 21:20 BlackBox*
lrwxrwxrwx 1 root root 5 Nov 20 21:20 Default ->
GNOME*
-rwxr-xr-x 1 root root 47 Nov 20 21:20 Enlightenment*
-rwxr-xr-x 1 root root 39 Nov 20 21:20 GNOME*
-rw-r--r-- 1 root root 325 Nov 17 16:24 Gnome
-rwxr-xr-x 1 root root 39 Nov 20 21:20 IceWM*
-rwxr-xr-x 1 root root 37 Nov 20 21:20 KDE*
-rw-r--r-- 1 root root 41 Oct 29 01:48 Sawfish
-rwxr-xr-x 1 root root 45 Nov 20 21:20 WindowMaker*
-rw-r--r-- 1 root root 781 Nov 17 16:24 Xsession
lrwxrwxrwx 1 root root 7 Oct 29 01:00 default ->
Default*
Looking at the GNOME file I see:
#!/bin/sh
exec /etc/X11/Xsession GNOME
Looking at the Gnome file I see:
#!/bin/bash -login
for errfile in "$HOME/.gnomerc-errors" "${TMPDIR-/tmp}/gnomerc-$USER"
"/tmp/gnomdo
if ( cp /dev/null "$errfile" 2> /dev/null )
then
chmod 600 "$errfile"
exec > "$errfile" 2>&1
break
fi
done
if [ -x "$HOME/.gnomerc" ]; then
exec "$HOME/.gnomerc"
else
exec "/etc/X11/gdm/gnomerc"
fi
and the gnomerc file mentioned in there contains:
/usr/bin/gnome-session
My thoughts: the fndSession app is creating the GNOME file which doesn't
appear to like Helix's GDM package. The Helix GDM package is creating
the Gnome file. Also notice that the Gnome file is not set executable. I
think this has something to do with why it's not showing up in the GDM
screen.
Anyways, I hope that between the Mandrake people and the Helix people
someone can figure out the difference in packaging and squash this bug.
I'm getting tired of having to select GNOME from the GDM session screen
every time I login ;0)
--
Steve Fox
http://k-lug.com