can't choose desktop in lxdm

All questions and problems regarding LXDE components including LXSession, LXAppearance, GPicView, Leafpad, LXTerminal, Xarchiver, LXNM to be discussed here.

For PCManFM questions, please ask in the dedicated forum below.
Locked
obgr_seneca
Posts: 1
Joined: Wed Jan 06, 2010 12:12 pm

can't choose desktop in lxdm

Post 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
Locked