-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10/17/2011 03:43 PM, Dr. Rüdiger Kupper (Kepler-Gymnasium
Freudenstadt) wrote:
> Hello Stephane,
> 
> I'm still running natty with the ldm package from your PPA, as you 
> suggested. This does definitely not work as expected: Chosing
> "default" from the ldm login screen does not honor ~/.dmrc. It's
> true that ldm somehow remembers the last session the user chose, 
> but this is not reflected in ~/.dmrc. (Actually where does ldm
> save the default session? I was not able to find out.)
> 
> I have been trying for several hours and could just not predict
> how ldm choses the default session. Sometimes it seemd to depend
> on ~/.dmrc, sometimes it didn't. Since I cannot run a production
> system for hundreds of users without being able to predict what
> login session they will see, I turned back to forcing gnome-classic
> via LDM_XSESSION. This, at least, works reliably.
> 
> Expected behaviour: ldm should behave exactly as gdm would, i.e.
> save the user's choice in ~/.dmrc and act accordingly.
> Specifically, there should be no difference if the user logs in
> locally on the server via gdm, or logs on remotely on a client via
> ldm. (Some users in our setup can actually log onto the server
> directly. This ldm and gdm must interact transparently.)
> 
> If you say the problem has been fixed in oneiric, I will be happy
> to upgrade during the next off-service time, e.g., next weekend.
> 
> Regards, Rüdiger

What I'm saying is that LDM_SESSION has been fixed in the ldm version
where's shipping in Oneiric, which is the same that's currently in the
daily PPA. In Natty's version, ldm was simply ignoring the value of
LDM_SESSION, forcing people to use LDM_XSESSION as a very hacky
workaround.

Now, quickly looking at the X50-dmrc-processing script, it seems to
only read/write dmrc if LDM_SESSION is set to "default", which it
shouldn't if your lts.conf set's it to "gnome-session
- --session=gnome-fallback".

I'm not saying we don't have another bug with dmrc handling, but
telling people to change LDM_XSESSION on a system that's running an up
to date ldm is just plain wrong and will cause weird bugs that will
take us weeks to figure out. A lot of race conditions in DBUS and the
general desktop tend to happen when you don't call /etc/X11/Xsession.


I guess it'd be a good idea to have a few of us poke at ldm next week
at the hackfest and see if there's indeed still something wrong with it.

One thing that worries me a bit looking at my dmrc here is that
lightdm on Oneiric doesn't seem to set the Exec/TryExec keys and its
syntax doesn't seem to be valid either.
So we may actually have a bug because of lightdm generating a broken
.dmrc for users that have the same home directory on LTSP and on a
regular desktop.


- -- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJOnIxnAAoJEMY4l01keS1nHZkP/2utzTx4/JxAuet7XM3YSeyM
wTzhHadIf3hOnFFwPIe8XnV1kqDCgL0T7YQVDLeydEKbttqOlU7FTEKnW14KEw7b
eNAjo9662PKbEmJdjuVCvoE4LEfv27wQK84XxDcJWiNJAxDBIkqil5wg99jvqT0E
lLvoerRw4RdzDyynGR8aqh+9OFbuzSMVJt0FTDbZUIDp16cEMmFefRFJcsnZIY5A
c0BniQ4Rd4NF/MzgPADI2HsOMvkb4aY/08bt9WtmKd7RYMfzlMCMFX6bpW6a5hYD
SeGyb/nR6hhixa++uk0VOB9xmXPJDqhpA0HRE2PDYOGVnf3h9bIlOoLtwBXn7mxN
FOHBdwelphUmgrdWmdEUq5QPoGVH1543x9WOTyLHHORDf3eNvNxdiOuyOfHHsojO
3mOVwioghbPnC8w+Bg18K+JrclRy0c6Hcb6rz0Tose1UbGjryCpvM+dN1UaT+giI
1WgFz/YPQx8AYJ0KPh6QTEtdAmtcpxudFi84jBpKQ5HIRMd/tlsLejYrJpK1vlqz
IUJL37scnQ9VoFoGDQHCiqcH1ADbDo0wm5p0DcbBp2j8krSVCQURAXurq+fOhuRX
p6n/FMJQs9XHAbXk/EZpv9Yo2U/RTvNCllHMVOHUswAEHI5vXKr7Ur902JEw4LY+
ag8ARG0qK29rAHq1g5s4
=HNxn
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_____________________________________________________________________
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

Reply via email to