Can you test if this solves the problem?

Replace:
    DESKTOP_SESSION=$(echo $1 | sed "s/gnome-session --session=//g"
With:
    DESKTOP_SESSION=$(grep -l "^Exec=$1\$" /usr/share/xsessions/*.desktop 
2>/dev/null | sed -n '1 s,.*/\(.*\)\.desktop,\1,p')

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1330252

Title:
  ubuntu 14.04 ltsp-server /etc/X11/Xsession.d/40-ltsp-server
  DESKTOP_SESSION breaks lubuntu-desktop login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1330252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to