[Pkg-ltsp-devel] Bug#512505: ldm doesn't store default session

Vagrant Cascadian vagrant at freegeek.org
Wed Jan 28 21:46:57 UTC 2009


On Tue, Jan 27, 2009 at 08:53:12AM +0100, Arthur Lutz wrote:
> On Wed, Jan 21, 2009 at 04:35:39PM -0800, Vagrant Cascadian wrote:
> > On Wed, Jan 21, 2009 at 12:19:58PM +0100, Arthur Lutz wrote:
> > > ldm doesn't remember between reboot the default session that I have 
> > > chosen. 
> > 
> > this was fixed upstream in 2.0.21, and fixed in the debian experimental upload
> > 2:2.0.21-1.
> 
> I am running ltsp in mixed environnement (not lenny) so I was able to add 
> the experimental branch and 
> 
>    apt-get -uVf install ldm=2:2.0.28-1
> 
> But, things are worse. (Tried out a bunch of options) after typing my password
> and entering, it shuts down X. Here is what I have in /var/log/ldm

that sounds like a separate issue that maybe warrants it's own bug report. i've
definitely experienced similar problems, but not recently. please try it with
ltsp-client and ltsp-client-core from experimental as well. if you still have
problems with it, please report a separate bug.

> > > Selecting the session works, but I have to do it everytime I use ldm.
> > > 
> > > Where is this info about default session taken ? (with gdm it remembers
> > > fine...)
> > 
> > it uses the defaults for /etc/alternatives/x-session-manager, which is a
> > systemwide default.
> 
> $ update-alternatives --config x-session-manager
> 
> There are 4 alternatives which provide `x-session-manager'.
> 
>   Selection    Alternative
> -----------------------------------------------
>           1    /usr/bin/startkde
> *+        2    /usr/bin/startlxde
>           3    /usr/bin/openbox-session
>           4    /usr/bin/gnome-session

looks like your default is set to startlxde...

> > to configure per-user, you'd need to create a ~/.xsession
> > for each user that sets the session.
> 
> I have an ~/.xsession with ion3 in it.

well, all ldm does is call the server's /etc/X11/Xsession with "default" as an
argument. i think /etc/X11/Xsession first checks for ~/.xsession, failing that,
tries x-session-manager, failing that, tries x-window-manager, and failing
that, i think it tries an x-terminal-emulator. but if you've gotten that far,
you're already well past what ldm does...

the version of ldm in experimental uses the user's ~/.dmrc to determine which
session to try, which should be the same as what GDM uses.

if you select the "Default" session from GDM, i think it should use
~/.xsession if present.

live well,
  vagrant

p.s. please reply only to the bug report, and not to me directly. thanks!





More information about the Pkg-ltsp-devel mailing list