Debian Bug report logs -
#512505
ldm doesn't store default session
Reported by: Arthur Lutz <arthur.lutz@logilab.fr>
Date: Wed, 21 Jan 2009 11:21:02 UTC
Severity: important
Found in version ldm/2:2.0.6-4
Fixed in versions ldm/2:2.0.21-1, 2:2.0.38-1
Done: Vagrant Cascadian <vagrant@freegeek.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#512505; Package ldm.
(Wed, 21 Jan 2009 11:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Arthur Lutz <arthur.lutz@logilab.fr>:
New Bug report received and forwarded. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Wed, 21 Jan 2009 11:21:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: ldm
Version: 2:2.0.6-4
Severity: important
ldm doesn't remember between reboot the default session that I have
chosen. When I reboot, I login, correct password and all, black screen
and it comes back to the ldm prompt.
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...)
Thanks.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ldm depends on:
ii gtk2-engines [gtk2-engin 1:2.14.3-2 theme engines for GTK+ 2.x
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh
ii ssh 1:4.6p1-6 secure shell client and server (me
ii vnc4server [xserver] 4.1.1+X4.3.0-30 Virtual network computing server s
ii xserver-xorg 1:7.3+18 the X.Org X server
ii xserver-xorg-core [xserv 2:1.4.2-10 Xorg X server - core server
Versions of packages ldm recommends:
ii netcat 1.10-38 TCP/IP swiss army knife -- transit
ii netcat-openbsd [netcat] 1.89-3 TCP/IP swiss army knife
ii netcat-traditional [netcat] 1.10-38 TCP/IP swiss army knife
ldm suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#512505; Package ldm.
(Thu, 22 Jan 2009 00:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@freegeek.org>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Thu, 22 Jan 2009 00:39:02 GMT) (full text, mbox, link).
Message #10 received at 512505@bugs.debian.org (full text, mbox, reply):
fixed 512505 2:2.0.21-1
thanks
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.
unfortunately, it would likely be difficult to backport those changes to the
version in lenny, especially this late in the freeze.
> When I reboot, I login, correct password and all, black screen
> and it comes back to the ldm prompt.
i'm not sure i understand you here, you mean that you cannot login after
rebooting the thin client? or it merely doesn't default to the previously
selected session?
> 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.
to configure per-user, you'd need to create a ~/.xsession
for each user that sets the session.
live well,
vagrant
Bug marked as fixed in version 2:2.0.21-1.
Request was from Vagrant Cascadian <vagrant@freegeek.org>
to control@bugs.debian.org.
(Thu, 22 Jan 2009 00:39:03 GMT) (full text, mbox, link).
Message sent on
to Arthur Lutz <arthur.lutz@logilab.fr>:
Bug#512505.
(Thu, 22 Jan 2009 00:39:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#512505; Package ldm.
(Tue, 27 Jan 2009 07:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Arthur Lutz <arthur.lutz@logilab.fr>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Tue, 27 Jan 2009 07:54:03 GMT) (full text, mbox, link).
Message #20 received at 512505@bugs.debian.org (full text, mbox, reply):
On Wed, Jan 21, 2009 at 04:35:39PM -0800, Vagrant Cascadian wrote:
> fixed 512505 2:2.0.21-1
> thanks
>
> 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
LDM2 running on ip address XX.XX.XX.XX
rc_files: /bin/sh /usr/share/ldm/ldm-script init
ldm_spawn: pid = 2027
Process 2027 exited with status 0
Spawning greeter: /usr/lib/ldm/ldmgtkgreet
ldm_spawn: pid = 2033
ssh_session: ssh -Y -t -M -S /var/run/ldm_socket_2026_XX.XX.XX.XX -o NumberOfPasswordPrompts=1 arthur@XXX.XX.X.X echo LTSPROCKS; /bin/sh -
ldm_spawn: pid = 3144
expect saw: arthur@XX.XX.XX.XX's password:
expect saw:
ESC7ESC[rESC[999;999HESC[6n
expect saw:
resize: Time out occurred^M
expect saw: LTSPROCKS
Logged in successfully.
Process 2033 exited with status 0
Established ssh session.
Executing rc files.
rc_files: /bin/sh /usr/share/ldm/ldm-script start
ldm_spawn: pid = 3177
Process 3177 exited with status 0
Beginning X session.
rc_files: /bin/sh /usr/share/ldm/ldm-script xsession
ldm_spawn: pid = 3207
Process 3207 exited with status 0
X session ended.
Executing rc files.
rc_files: /bin/sh /usr/share/ldm/ldm-script stop
ldm_spawn: pid = 3248
Process 3248 exited with status 0
Ending ssh session.
Shutting down ssh session: ssh -S /var/run/ldm_socket_2026_XX.XX.XX.XX -O exit XX.XX.XX.XX
ldm_spawn: pid = 3257
Process 3257 exited with status 0
Process 3144 exited with status 0
> unfortunately, it would likely be difficult to backport those changes to the
> version in lenny, especially this late in the freeze.
>
> > When I reboot, I login, correct password and all, black screen
> > and it comes back to the ldm prompt.
>
> i'm not sure i understand you here, you mean that you cannot login after
> rebooting the thin client? or it merely doesn't default to the previously
> selected session?
Both. It doesn't remember the previously selected session, and loops back to
ldm when correct password is entered.
> > 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
> 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. I just realized it
didn't have the +x in it's attributes, I've added and with test
on next reboot.
Nope, not better.
--
Arthur LUTZ LOGILAB, Paris (France)
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Développement logiciel avancé - Intelligence Artificielle - Formations
Information stored
:
Bug#512505; Package ldm.
(Tue, 27 Jan 2009 07:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Arthur Lutz <arthur.lutz@logilab.fr>:
Extra info received and filed, but not forwarded.
(Tue, 27 Jan 2009 07:54:04 GMT) (full text, mbox, link).
Message sent on
to Arthur Lutz <arthur.lutz@logilab.fr>:
Bug#512505.
(Tue, 27 Jan 2009 07:54:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#512505; Package ldm.
(Wed, 28 Jan 2009 22:06:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@freegeek.org>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Wed, 28 Jan 2009 22:06:19 GMT) (full text, mbox, link).
Message #33 received at 512505@bugs.debian.org (full text, mbox, reply):
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!
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#512505; Package ldm.
(Tue, 03 Feb 2009 15:48:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Arthur Lutz <arthur.lutz@logilab.fr>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Tue, 03 Feb 2009 15:48:05 GMT) (full text, mbox, link).
Message #38 received at 512505@bugs.debian.org (full text, mbox, reply):
On Wed, Jan 28, 2009 at 01:46:57PM -0800, Vagrant Cascadian wrote:
> 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:
>
> > > 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.
>
The .xession, .dmrc are all in place, I still don't understand where it
is bugging, or even where I can find some debugging information. Nowhere
in the logs (client or server) do I find any usefull information.
I even tried to add "set -x" to the scripts in /usr/lib/ldm/scripts
but nothing came out of that.
Any clues on how to proceed ? (I'm back on Version: 2:2.0.6-4 because
the upgrade of ltsp-client-core made things worse (no X - probably needs
to upgrade all packages...)
--
Arthur LUTZ LOGILAB, Paris (France)
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Développement logiciel avancé - Intelligence Artificielle - Formations
Reply sent
to Vagrant Cascadian <vagrant@freegeek.org>:
You have taken responsibility.
(Fri, 13 Mar 2009 16:18:03 GMT) (full text, mbox, link).
Notification sent
to Arthur Lutz <arthur.lutz@logilab.fr>:
Bug acknowledged by developer.
(Fri, 13 Mar 2009 16:18:03 GMT) (full text, mbox, link).
Message #43 received at 512505-done@bugs.debian.org (full text, mbox, reply):
Version: 2:2.0.38-1
the version of ldm in unstable does preserve the selected session
between logins. if there are other outstanding issues, please report
them in separate bug reports.
live well,
vagrant
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jul 2011 07:31:41 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 13:40:23 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.