On 2014-10-03, Bruno Vane <bro...@gmail.com> wrote: > With Vagrant's approach I still got the error: > /etc/X11/Xsession: 6: export: -s: bad variable name
That sounds supiciously like you selected the Lubuntu session rather than Lubuntu-custom ... alternately, edit the Exec line in Lubuntu.desktop directly: Exec=/usr/local/bin/lubuntu-custom Make sure /usr/local/bin/lubuntu-custom is marked executable. live well, vagrant > 2014-10-03 18:34 GMT-03:00 John Hupp <l...@prpcompany.com>: > >> I see that setting LDM_XSESSION overrides the setup in 40-ltsp-server, >> such that you cannot log in to any environment but LXDE. You lose the >> choices to start an openbox or terminal session. >> >> So I likewise will be looking at Vagrant's approach. >> >> >> On 10/3/2014 5:19 PM, Bruno Vane wrote: >> >> Vagrant, but this file exists, it's in >> /usr/share/xsessions/Lubuntu.desktop. >> Even so, I can't login. The error is in the exec line. I'll try your tip, >> thank you! >> This is my original file, by the way: >> >> root@ltsp-server:~# cat /usr/share/xsessions/Lubuntu.desktop >> [Desktop Entry] >> # The names/descriptions should really be better >> Name=Lubuntu >> Comment=Lubuntu - Lightweight X11 desktop environment based on LXDE >> Comment[zh_TW]=Lubuntu - 輕量級的 X11 桌面環境 >> Comment[fi]=Lubuntu - kevyt X11-työpöytäympäristö >> Comment[ja]=Lubuntu - 軽量な X11 デスクトップ環境 >> Exec=/usr/bin/lxsession -s Lubuntu -e LXDE >> # Icon= >> Type=Application >> >> >> John, I let the originals 40-ltsp-server (on server) and 40-ltsp-client >> (on chroot), only changed the lts.conf. >> Now I'll try Vagrant's tip. >> >> 2014-10-03 18:04 GMT-03:00 Vagrant Cascadian <vagr...@debian.org>: >> >>> On 2014-10-03, Bruno Vane wrote: >>> > I'm using Lubuntu 14.04, dedicated chroot. >>> > Try this, in /var/lib/tftpboot/ltsp/<youchroot>/lts.conf, add in >>> [Default] >>> > section this line: >>> > LDM_XSESSION=/usr/bin/lxsession -s Lubuntu -e LXDE >>> >>> This is a poor fix, as you're not running /etc/X11/Xsession at all, or >>> all the hooks in /etc/X11/Xsession.d/* which set up the environment >>> properly... so you may find other surprising, extremely difficult to >>> troubleshoot issues by running this way. >>> >>> I recommend writing a wrapper script, say /usr/local/bin/lubuntu-custom: >>> >>> #!/bin/sh >>> exec /usr/bin/lxsession -s Lubuntu -e LXDE >>> >>> And a corresponding /usr/share/xsessions/lubuntu-custom.desktop file: >>> >>> [Desktop Entry] >>> Name=Lubuntu-custom >>> Comment=LXDE - Lightweight X11 desktop environment >>> Exec=/usr/local/bin/lubuntu-custom >>> >>> And then setting in lts.conf: >>> >>> LDM_SESSION=Lubuntu-custom >>> >>> There are/were bugs in some versions of LDM with handling sessions that >>> contained Exec lines with multiple parts... which I thought were fixed >>> in recent versions of LDM, but perhaps not... >>> >>> Please don't use LDM_XSESSION unless you're actually replacing the >>> full functionality of /etc/X11/Xsession! >>> >>> >>> live well, >>> vagrant
pgpk3KzqutBED.pgp
Description: PGP signature
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net