On 10/6/2014 9:29 AM, Bruno Vane wrote:
I don't know what I'm doing wrong, but I still got the error:
localuser:bruno.vane being added to access control list
/etc/X11/Xsession: 6: export: -s: bad variable name
This is what I did:
root@ltsp-server:~# cat /usr/local/bin/lubuntu-custom
#!/bin/sh
exec /usr/bin/lxsession -s Lubuntu -e LXDE
root@ltsp-server:~# ls -lah /usr/local/bin/lubuntu-custom
-rwxr-xr-x 1 root root 53 Out 3 18:33 /usr/local/bin/lubuntu-custom
root@ltsp-server:~# cat /usr/share/xsessions/lubuntu-custom.desktop
[Desktop Entry]
Name=Lubuntu-custom
Comment=LXDE - Lightweight X11 desktop environment
Exec=/usr/local/bin/lubuntu-custom
root@ltsp-server:~# cat /var/lib/tftpboot/ltsp/i386printer/lts.conf
[Default]
XRANDR_DISABLE=True
X_MODE_0=1024x768
X_MODE_1=800x600
X_MODE_2=640x480
LOCALDEV=True
LOCALDEV_DENY_CD=True
LOCALDEV_DENY_FLOPPY=True
LOCALDEV_DENY_INTERNAL_DISKS=True
LOCALDEV_DENY_USB=False
NBD_SWAP=False
LDM_SESSION=Lubuntu-custom
SCREEN_02=shell
SCANNER=true
2014-10-03 21:32 GMT-03:00 John Hupp <l...@prpcompany.com
<mailto:l...@prpcompany.com>>:
Vagrant, you're a hero! (I.e. it worked!)
------------
I do note that LDM seems to ignore the setting of a default
session via LDM_SESSION (if I understand "default" properly).
Rather, it sets as the default whatever session was last used.
------------
You also wrote: "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..."
But isn't this problem due to an unfixed bug in dash at
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/139097 ["dash
variable expansion error using local, readonly, and export"], as
referenced in the LTSP bug at
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1330252
["ubuntu 14.04 ltsp-server /etc/X11/Xsession.d/40-ltsp-server
DESKTOP_SESSION breaks lubuntu-desktop login"]?
--John
[snip]
Did you then explicitly select the lubuntu-custom session from the login
screen?
Not sure if case matters, but you have LDM_SESSION set to
"Lubuntu-custom" while your actual desktop shortcut is "lubuntu-custom."
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&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