I tested my patch from #3 and it does work, but I don't have access to commit it because it's in the Ubuntu packaging and not in the upstream code.
Both /etc/X11/Xsession.d/40-ltsp-server and /opt/ltsp/i386/etc/X11/Xsession.d/40-ltsp-client need to have that one line changed. So the result would be: if [ -n "$LTSP_CLIENT" ] && [ -z "$DESKTOP_SESSION" ]; then if ([ "$1" = "default" ] || [ -z "$1" ]) && [ "$(readlink /etc/alternatives/x-session-manager)" = "/usr/bin/gnome-session" ]; then DESKTOP_SESSION=ubuntu elif [ -n "$1" ]; then DESKTOP_SESSION=$(grep -l "^Exec=$1\$" /usr/share/xsessions/*.desktop 2>/dev/null | sed -n '1 s,.*/\(.*\)\.desktop,\1,p') fi export DESKTOP_SESSION fi But I really think that Ubuntu should sync its ltsp packaging with Debian, and that code above should go to X50-dmrc-processing instead. ** Changed in: ltsp (Ubuntu) Assignee: (unassigned) => Stéphane Graber (stgraber) ** Changed in: ltsp (Ubuntu) Importance: Undecided => Medium ** Changed in: ltsp (Ubuntu) Status: Confirmed => Triaged -- 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