I can confirm my suspect, LXDM incorrectly handles sessions with arguments. lxdm.c file, function: void switch_user(struct passwd *pw, char *run, char **env)
spawns the /etc/lxdm/Xsession script, with the full session startup command as $1 argument. In Sabayon the line: exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" is chosen for session startup, this incorrectly quotes $LXSESSION making the session startup command to be interpreted as a command without any argument. This is a pretty huge security flaw. I will make a patch to try to fix this issue and report this to LXDE devs. Il giorno mer, 04/01/2012 alle 12.12 +0100, Lorenzo Cogotti ha scritto: > I confirm that error, I suspect a bug in LXDM since > the /usr/share/xsessions/cinnamon.desktop file should check for > gnome-session existence, I suspect that LXDM tries to execute the entire > string as a single command. > > Tested Cinnamon with KDM and working fine. > > Il giorno mer, 04/01/2012 alle 10.58 +0000, wolfden ha scritto: > > > > > > On Wed, Jan 4, 2012 at 10:44 AM, Wolfden <wolf...@gmail.com> wrote: > > > > > > On Wed, Jan 4, 2012 at 10:40 AM, Lorenzo Cogotti > > <miciam...@hotmail.it> wrote: > > In the last days both Cinnamon and Razor-qt Desktop > > Environments have > > been added to Limbo. > > Testing them out would be really nice since they are > > very new to > > Sabayon. > > > > About Cinnamon, integration with Login Managers other > > than GDM would be > > really appreciated. > > Cinnamon is known to exhibit the same corruption and > > tearing problems > > that GNOME Shell produces on proprietary AMD drivers. > > > > -- > > Lorenzo Cogotti > > > > > > > > > > I installed this on the live version of Sabayon Forensics > > which is XFCE with LXDM and it fails to load Cinnamon - > > xsession-errors were, couldn't find session. Switching to GDM > > and it loads right away, much better than default Gnome 3 > > imho. > > > > > > -- > > KJS > > ~wolfden~ > > > > > > > > > > > > > The error with lxdm: > > > > > > /bin/bash: gnome-session --session=cinnamon: command not found > > > > > > -- > > Kelly Schwartz > > ~wolfden~ > > > > > -- Lorenzo Cogotti