1 Index: lxdm-svn/src/lxdm.c
2 ===================================================================
3 --- lxdm-svn/src/lxdm.c (revision 2334)
4 +++ lxdm-svn/src/lxdm.c (working copy)
6 session = g_key_file_get_string(config, "base", "session", 0);
7 if( !session && getenv("PREFERRED") )
8 session = g_strdup( getenv("PREFERRED") );
9 - if( !session && getenv("DESKTOP") )
10 + if( !session && getenv("DESKTOP_SESSION") )
12 - char *p = getenv("DESKTOP");
13 + char *p = getenv("DESKTOP_SESSION");
14 if( !strcmp(p, "LXDE") )
15 session = g_find_program_in_path("startlxde");
16 + else if(!strcmp(p,"Lubuntu"))
17 + session = g_find_program_in_path("startlubuntu");
18 else if( !strcmp(p, "GNOME") )
19 session = g_find_program_in_path("gnome-session");
20 else if( !strcmp(p, "KDE") )