Page 1 of 1

can't choose desktop in lxdm

Posted: Wed Jan 06, 2010 3:20 pm
by obgr_seneca
Hi,
I'm momentarily trying to build an lxdm package for Mandriva Linux, but now I'm facing a problem. First I had to patch lxdm because Mandriva stores its available desktops not in /usr/share/xsessions but in /etc/X11/dm/Sessions.
The problem is, I can choose an environment from the dropdown-menu and it will be stored in lxdm.conf but it doesn't have any effect about the desktop being started. It is starting the default environment defined in /etc/sysconfig/desktop
When I change the lines

Code: Select all

if [ $# -eq 1 -a -n  "$1" ], then
        LXSESSION=$1
else
at the beginning of /etc/to

Code: Select all

if [ $# -eq 1 -a -n  "$1" ], then
        LXSESSION=LXDE
else
it is starting LXDE. If I change them to

Code: Select all

if [ $# -eq 1 -a -n  "$1" ], then
        LXSESSION=GNOME
else
it is starting it is starting GNOME and so on.

Does anybody have an idea, how to fix this?

Oliver