Ross,
Perhaps the numbers at the start of the filenames are the problem,
although I wouldn't think so. I have the files 01KDE, 02GNOME, 06XFce
and 07IceWM. Their contents are as follows:
---------- 01KDE ----------
NAME=KDE
ICON=kde-wmsession.xpm
DESC=The K Desktop Environment
EXEC=/usr/bin/startkde
SCRIPT:
exec /usr/bin/startkde
_____________________________
---------- 02GNOME ----------
NAME=GNOME
ICON=gnome-wmsession.xpm
DESC=GNOME
EXEC=/usr/bin/gnome-session
SCRIPT:
exec /usr/bin/gnome-session
______________________________
---------- 03XFce ----------
NAME=XFce
ICON=xfce-wmsession.xpm
EXEC=/usr/X11R6/bin/startxfce
DESC=Lightweight desktop environment
SCRIPT:
exec /usr/X11R6/bin/startxfce
______________________________
---------- 07IceWM ----------
NAME=IceWM
ICON=icewm-wmsession.xpm
EXEC=/usr/X11R6/bin/starticewm
DESC=Lightweight desktop environment
SCRIPT:
exec /usr/X11R6/bin/starticewm
_______________________________
I hope this helps.
On Mon, 19 Mar 2001 12:40, Ross Slade wrote:
> [Mandrake 7.2]
>
> On Thu, 15 Mar 2001, Sridhar Dhanapalan wrote:
> > Go to the directory /etc/X11/wmsession.d. You will see that the
> > contents are text files with names like 01KDE, 02GNOME and 06XFce,
> > depending on what you have installed. If you have an environment
> > installed that is not represented by one of these files, add a
> > file with a filename beginning with a unique two digit number
> > followed by its name (e.g. 07IceWM). The contents should look like
> > this (depending on the WM):
> >
> > NAME=IceWM
> > ICON=icewm-wmsession.xpm
> > EXEC=/usr/X11R6/bin/starticewm
> > DESC=Lightweight desktop environment
> > SCRIPT:
> > exec /usr/X11R6/bin/starticewm
> >
> > After you have made entries for all your desktop environments, run
> > (as root) "/usr/sbin/chksession -l". Reboot and all should be
> > well.
>
> Ok, still trying to correct the problem...I have fixed the "locale"
> error from my first attempt but still have a problem with the WM
> selection box on the graphical login screen.
>
> I created the files listed below:
>
> -------------------------
> [/etc/X11/wmsession.d]
> -rw-r--r-- 1 root root 117 Mar 15 16:40 01KDE
> -rw-r--r-- 1 root root 125 Mar 15 16:40 02Xfce
> -rw-r--r-- 1 root root 143 Mar 15 16:41 03IceWM
> -------------------------
>
> ...and run 'chksession -l' and get this:
>
> ------------------------
> chksession -l
> Xfce default failsafe
> ------------------------
>
> Now when I log in the drop box appears just like that - the three
> WMs listed on one line, comma separated. Naturally this doesn't work
> and it defaults to Twm again.
>
> Perhaps something corrupted in the script which parses the three
> files above? Perhaps tell me where that script is located and where
> to find it on the CD so I can replace it?
>
> -Ross
--
Sridhar Dhanapalan.
"There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence."
-- Jeremy S. Anderson