Debian Bug report logs - #683373
lightdm: User switching does not work (no gdmflexiserver provided)

version graph

Package: lightdm; Maintainer for lightdm is Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>; Source for lightdm is src:lightdm.

Reported by: Jonathan Michalon <johndescs@gmail.com>

Date: Tue, 31 Jul 2012 09:06:01 UTC

Severity: important

Tags: wontfix

Found in version lightdm/1.2.2-3

Done: Yves-Alexis Perez <corsac@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, johndescs@gmail.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Tue, 31 Jul 2012 09:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Michalon <johndescs@gmail.com>:
New Bug report received and forwarded. Copy sent to johndescs@gmail.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Tue, 31 Jul 2012 09:06:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jonathan Michalon <johndescs@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lightdm: User switching does not work under GNOME
Date: Tue, 31 Jul 2012 11:03:19 +0200
Package: lightdm
Version: 1.2.2-3
Severity: normal

Using gnome, user switch does not work.
Error messsage is:
The name org.gnome.DisplayManager was not provided by any .service files

Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
(which may not be removed due to dependencies).
But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.

$ dbus-send --system --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
works but
$ dbus-send          --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
doesn't

Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
in a directory placed at the beginning of PATH which can be considered as an
(ugly) workaround. Listening to session bus (if this is standard) may be better.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                3.113+nmu3
ii  consolekit             0.4.5-3
ii  dbus                   1.6.0-1
ii  debconf [debconf-2.0]  1.5.44
ii  libc6                  2.13-33
ii  libglib2.0-0           2.32.3-1
ii  libpam0g               1.1.3-7.1
ii  libxcb1                1.8.1-1
ii  libxdmcp6              1:1.1.1-1
ii  lightdm-gtk-greeter    1.1.6-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+1

Versions of packages lightdm suggests:
ii  accountsservice  0.6.21-6

-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Tue, 31 Jul 2012 13:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Tue, 31 Jul 2012 13:51:05 GMT) Full text and rfc822 format available.

Message #10 received at 683373@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Jonathan Michalon <johndescs@gmail.com>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: lightdm: User switching does not work under GNOME
Date: Tue, 31 Jul 2012 15:49:31 +0200
[Message part 1 (text/plain, inline)]
On mar., 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> Package: lightdm
> Version: 1.2.2-3
> Severity: normal
> 
> Using gnome, user switch does not work.
> Error messsage is:
> The name org.gnome.DisplayManager was not provided by any .service files
> 
> Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> (which may not be removed due to dependencies).
> But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.
> 
> $ dbus-send --system --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
> works but
> $ dbus-send          --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
> doesn't

So you mean that GNOME stopped calling directly /usr/lib/gdmflexiserver
but rather sends a dbus call?
> 
> Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> in a directory placed at the beginning of PATH which can be considered as an
> (ugly) workaround. Listening to session bus (if this is standard) may be better.
> 

The script is upstream, but I remove it on purpose. But How could
lightdm listen on the session bus, which is owned by the user, afaict.

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Wed, 01 Aug 2012 12:54:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Michalon <johndescs@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Wed, 01 Aug 2012 12:54:06 GMT) Full text and rfc822 format available.

Message #15 received at 683373@bugs.debian.org (full text, mbox):

From: Jonathan Michalon <johndescs@gmail.com>
To: Yves-Alexis Perez <corsac@debian.org>
Cc: 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: lightdm: User switching does not work under GNOME
Date: Wed, 1 Aug 2012 14:50:29 +0200
Le Tue, 31 Jul 2012 15:49:31 +0200,
Yves-Alexis Perez <corsac@debian.org> a écrit :
> On mar., 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> > Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> > (which may not be removed due to dependencies).
> > But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.

> So you mean that GNOME stopped calling directly /usr/lib/gdmflexiserver
> but rather sends a dbus call?

Nope, GNOME uses gdmflexiserver, which in turn seems to send a dbus call (at
least everything tend to show that).
Maybe my sentence was not that clear ;)

> > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > in a directory placed at the beginning of PATH which can be considered as an
> > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > 
> 
> The script is upstream, but I remove it on purpose. But How could
> lightdm listen on the session bus, which is owned by the user, afaict.

No idea. But why remove the script, if they think that this is The Right Way™ ?

I'm no expert in that area, and as such I may be completely misleading. But as
is I can't use lightdm together with GNOME as I often need to change user.

--
Jonathan Michalon
IT student in Strasbourg



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Wed, 01 Aug 2012 18:21:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Wed, 01 Aug 2012 18:21:07 GMT) Full text and rfc822 format available.

Message #20 received at 683373@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Jonathan Michalon <johndescs@gmail.com>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME
Date: Wed, 01 Aug 2012 20:17:43 +0200
[Message part 1 (text/plain, inline)]
On mer., 2012-08-01 at 14:50 +0200, Jonathan Michalon wrote:
> Le Tue, 31 Jul 2012 15:49:31 +0200,
> Yves-Alexis Perez <corsac@debian.org> a écrit :
> > On mar., 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> > > Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> > > (which may not be removed due to dependencies).
> > > But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.
> 
> > So you mean that GNOME stopped calling directly /usr/lib/gdmflexiserver
> > but rather sends a dbus call?
> 
> Nope, GNOME uses gdmflexiserver, which in turn seems to send a dbus call (at
> least everything tend to show that).
> Maybe my sentence was not that clear ;)

So *who* sends to the session bus?
> 
> > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > in a directory placed at the beginning of PATH which can be considered as an
> > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > 
> > 
> > The script is upstream, but I remove it on purpose. But How could
> > lightdm listen on the session bus, which is owned by the user, afaict.
> 
> No idea. But why remove the script, if they think that this is The Right Way™ ?

Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.
> 
> I'm no expert in that area, and as such I may be completely misleading. But as
> is I can't use lightdm together with GNOME as I often need to change user.

To be honest, GNOME users aren't my priority here, considering they can
use gdm3. I'm more targetting Xfce and non-DE users.

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sat, 04 Aug 2012 13:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Michalon <johndescs@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 04 Aug 2012 13:33:04 GMT) Full text and rfc822 format available.

Message #25 received at 683373@bugs.debian.org (full text, mbox):

From: Jonathan Michalon <johndescs@gmail.com>
To: Yves-Alexis Perez <corsac@debian.org>
Cc: 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME
Date: Sat, 4 Aug 2012 15:30:06 +0200
[CCing bug, sorry]

Le Wed, 01 Aug 2012 20:17:43 +0200,
Yves-Alexis Perez <corsac@debian.org> a écrit :
> On mer., 2012-08-01 at 14:50 +0200, Jonathan Michalon wrote:
> > Le Tue, 31 Jul 2012 15:49:31 +0200,
> > Yves-Alexis Perez <corsac@debian.org> a écrit :
> > > On mar., 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> > > > Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> > > > (which may not be removed due to dependencies).
> > > > But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.
> > 
> > > So you mean that GNOME stopped calling directly /usr/lib/gdmflexiserver
> > > but rather sends a dbus call?
> > 
> > Nope, GNOME uses gdmflexiserver, which in turn seems to send a dbus call (at
> > least everything tend to show that).
> > Maybe my sentence was not that clear ;)
> 
> So *who* sends to the session bus?

According to the error popup when called it's gdm's gdmflexiserver.

> > > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > > in a directory placed at the beginning of PATH which can be considered as an
> > > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > > 
> > > 
> > > The script is upstream, but I remove it on purpose. But How could
> > > lightdm listen on the session bus, which is owned by the user, afaict.
> > 
> > No idea. But why remove the script, if they think that this is The Right Way™ ?
> 
> Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.

Didn't know there was such an implication, but I agree this is a good reason.
What about a kind of divert ? There is already a dialog asking which DM we
prefer, I suppose it may update an alternative alongside modifying the file.

> > I'm no expert in that area, and as such I may be completely misleading. But as
> > is I can't use lightdm together with GNOME as I often need to change user.
> 
> To be honest, GNOME users aren't my priority here, considering they can
> use gdm3. I'm more targetting Xfce and non-DE users.

Seems rational. But I tested lightdm as gdm3 is really buggy… and heavy.

--
Jonathan Michalon
IT student in Strasbourg



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sun, 05 Aug 2012 08:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sun, 05 Aug 2012 08:45:03 GMT) Full text and rfc822 format available.

Message #30 received at 683373@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Jonathan Michalon <johndescs@gmail.com>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME
Date: Sun, 05 Aug 2012 10:43:08 +0200
[Message part 1 (text/plain, inline)]
On sam., 2012-08-04 at 15:30 +0200, Jonathan Michalon wrote:
> > So *who* sends to the session bus?
> 
> According to the error popup when called it's gdm's gdmflexiserver.

Ok, so lightdm and gdm “API”s are not compatible. GDM uses session bus
while lightdm uses system bus.
> 
> > > > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > > > in a directory placed at the beginning of PATH which can be considered as an
> > > > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > > > 
> > > > 
> > > > The script is upstream, but I remove it on purpose. But How could
> > > > lightdm listen on the session bus, which is owned by the user, afaict.
> > > 
> > > No idea. But why remove the script, if they think that this is The Right Way™ ?
> > 
> > Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.
> 
> Didn't know there was such an implication, but I agree this is a good reason.
> What about a kind of divert ? There is already a dialog asking which DM we
> prefer, I suppose it may update an alternative alongside modifying the file.

That won't work, see above.
> 
> > > I'm no expert in that area, and as such I may be completely misleading. But as
> > > is I can't use lightdm together with GNOME as I often need to change user.
> > 
> > To be honest, GNOME users aren't my priority here, considering they can
> > use gdm3. I'm more targetting Xfce and non-DE users.
> 
> Seems rational. But I tested lightdm as gdm3 is really buggy… and heavy.

Ok. But then consider lightdm as not supporting user switching :)
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sun, 05 Aug 2012 12:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Michalon <johndescs@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sun, 05 Aug 2012 12:30:03 GMT) Full text and rfc822 format available.

Message #35 received at 683373@bugs.debian.org (full text, mbox):

From: Jonathan Michalon <johndescs@gmail.com>
To: Yves-Alexis Perez <corsac@debian.org>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME
Date: Sun, 5 Aug 2012 14:27:24 +0200
Le Sun, 05 Aug 2012 10:43:08 +0200,
Yves-Alexis Perez <corsac@debian.org> a écrit :
> Ok, so lightdm and gdm “API”s are not compatible. GDM uses session bus
> while lightdm uses system bus.

This is exactly whay I tried to say from the beginning ;)

> > > > > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > > > > in a directory placed at the beginning of PATH which can be considered as an
> > > > > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > > > > 
> > > > > 
> > > > > The script is upstream, but I remove it on purpose. But How could
> > > > > lightdm listen on the session bus, which is owned by the user, afaict.
> > > > 
> > > > No idea. But why remove the script, if they think that this is The Right Way™ ?
> > > 
> > > Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.
> > 
> > Didn't know there was such an implication, but I agree this is a good reason.
> > What about a kind of divert ? There is already a dialog asking which DM we
> > prefer, I suppose it may update an alternative alongside modifying the file.
> 
> That won't work, see above.

I don't see how it is related. Imagine:
  /usr/bin/flexiserver -> /etc/alternatives/flexiserver
  /etc/alternatives/flexiserver -> /usr/bin/gdmflexiserver 
                                -> /usr/lib/lightdm/gdmflexiserver
But that would require changes in all gdmflexiserver callers and gdm itself.
A compromise could be :
  /usr/bin/gdmflexiserver -> /etc/alternatives/gdmflexiserver
  /etc/alternatives/gdmflexiserver -> /usr/bin/gdmflexiserver.gdm (or elsewhere)
                                   -> /usr/lib/lightdm/gdmflexiserver
which is hackish but avoids GNOME changes.

> Ok. But then consider lightdm as not supporting user switching :)

This is what I did, so I will stop bother you with that, and this bug can remain
as a placeholder for someone with a magic idea to implement. ;)
Nevertheless, thanks for your very fast replies!

--
Jonathan Michalon
IT student in Strasbourg



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sun, 05 Aug 2012 12:54:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sun, 05 Aug 2012 12:54:08 GMT) Full text and rfc822 format available.

Message #40 received at 683373@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Jonathan Michalon <johndescs@gmail.com>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: Bug#683373: Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME
Date: Sun, 05 Aug 2012 14:52:47 +0200
[Message part 1 (text/plain, inline)]
On dim., 2012-08-05 at 14:27 +0200, Jonathan Michalon wrote:
> Le Sun, 05 Aug 2012 10:43:08 +0200,
> Yves-Alexis Perez <corsac@debian.org> a écrit :
> > Ok, so lightdm and gdm “API”s are not compatible. GDM uses session bus
> > while lightdm uses system bus.
> 
> This is exactly whay I tried to say from the beginning ;)

It would have been easier to just say that.
> 
> > > > > > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > > > > > in a directory placed at the beginning of PATH which can be considered as an
> > > > > > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > > > > > 
> > > > > > 
> > > > > > The script is upstream, but I remove it on purpose. But How could
> > > > > > lightdm listen on the session bus, which is owned by the user, afaict.
> > > > > 
> > > > > No idea. But why remove the script, if they think that this is The Right Way™ ?
> > > > 
> > > > Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.
> > > 
> > > Didn't know there was such an implication, but I agree this is a good reason.
> > > What about a kind of divert ? There is already a dialog asking which DM we
> > > prefer, I suppose it may update an alternative alongside modifying the file.
> > 
> > That won't work, see above.
> 
> I don't see how it is related. Imagine:
>   /usr/bin/flexiserver -> /etc/alternatives/flexiserver
>   /etc/alternatives/flexiserver -> /usr/bin/gdmflexiserver 
>                                 -> /usr/lib/lightdm/gdmflexiserver
> But that would require changes in all gdmflexiserver callers and gdm itself.
> A compromise could be :
>   /usr/bin/gdmflexiserver -> /etc/alternatives/gdmflexiserver
>   /etc/alternatives/gdmflexiserver -> /usr/bin/gdmflexiserver.gdm (or elsewhere)
>                                    -> /usr/lib/lightdm/gdmflexiserver
> which is hackish but avoids GNOME changes.

That still need coordination with gdm packagers (feel free to suggest
it). But it needs to be coordinated with the currently running display
manager, so at least a slave alternative or something like that.
> 
> > Ok. But then consider lightdm as not supporting user switching :)
> 
> This is what I did, so I will stop bother you with that, and this bug can remain
> as a placeholder for someone with a magic idea to implement. ;)
> Nevertheless, thanks for your very fast replies!

Yes, lets keep it open as documentation. What's really needed is some
upstream coordination (under fd.o umbrella for example) on user
switching.

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sat, 26 Jan 2013 03:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bob Bib <bobbibmpn@mail.ru>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 26 Jan 2013 03:06:03 GMT) Full text and rfc822 format available.

Message #45 received at 683373@bugs.debian.org (full text, mbox):

From: Bob Bib <bobbibmpn@mail.ru>
To: 683373@bugs.debian.org
Subject: Re: Bug#683373: lightdm: User switching does not work
Date: Sat, 26 Jan 2013 07:02:18 +0400
control: retitle -1 lightdm: User switching does not work (no gdmflexiserver provided)
control: severity -1 important
control: affects -1 lxsession xscreensaver

Well, I'm running LXDE & lightdm 1.2.2-4, and:
1) "Switch User" button is missing from LXDE logout dialog;
2) pressing XScreenSaver "New Login" button results only in an error message:
 xscreensaver: 11:22:33: could not execute "gdmflexiserver": No such file or directory
// OK, there's some bug #304406 about "New Login" button in xscreensaver without gdmflexiserver

Hence, I'm forced to use the bloated GDM3 just to have the quick user switching feature working.

Changed Bug title to 'lightdm: User switching does not work (no gdmflexiserver provided)' from 'lightdm: User switching does not work under GNOME' Request was from Bob Bib <bobbibmpn@mail.ru> to 683373-submit@bugs.debian.org. (Sat, 26 Jan 2013 03:06:03 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'normal' Request was from Bob Bib <bobbibmpn@mail.ru> to 683373-submit@bugs.debian.org. (Sat, 26 Jan 2013 03:06:03 GMT) Full text and rfc822 format available.

Added indication that 683373 affects lxsession and xscreensaver Request was from Bob Bib <bobbibmpn@mail.ru> to 683373-submit@bugs.debian.org. (Sat, 26 Jan 2013 03:06:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#683373; Package lightdm. (Sat, 26 Jan 2013 12:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 26 Jan 2013 12:21:03 GMT) Full text and rfc822 format available.

Message #56 received at 683373@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Bob Bib <bobbibmpn@mail.ru>, 683373@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: lightdm: User switching does not work
Date: Sat, 26 Jan 2013 13:17:04 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sat, Jan 26, 2013 at 07:02:18AM +0400, Bob Bib wrote:
> control: retitle -1 lightdm: User switching does not work (no gdmflexiserver provided)
control: severity -1 normal
> control: affects -1 lxsession xscreensaver
> 
> Well, I'm running LXDE & lightdm 1.2.2-4, and:
> 1) "Switch User" button is missing from LXDE logout dialog;
> 2) pressing XScreenSaver "New Login" button results only in an error message:
>  xscreensaver: 11:22:33: could not execute "gdmflexiserver": No such file or directory
> // OK, there's some bug #304406 about "New Login" button in xscreensaver without gdmflexiserver
> 
> Hence, I'm forced to use the bloated GDM3 just to have the quick user switching feature working.

Yes. Note that the fact that gdmflexiserver is not provided is not a bug
by itself, it's intended, so there's no need to change the severity.

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJRA8k8AAoJEG3bU/KmdcClYkcH/jsAyXmDonZZHo+MEn8mrH/8
ZqaQ2xE/4z28t4s4kJRbctH2zHKAfP3p4rnZHmvLwPaohEGiOZLLzRbzq+ztjx8n
lqec9g4kBouTRI8L6gj06vHRxszJ77Xhtf2Dhp9RGv74/4yErX1WykbplOPx4+DG
+2nE7GfrEIefBMYJFcMKtmn+ctNWJ0/9gW/8C2lWU92K2qjLbv/Sfq8eKVcAF7bH
qRBr5EO5+GZPBOJzIixk1ouYIKOfeEgAszUyPpWRzQhcyByAC3K7MjFQInmD5Nmb
TcCYxnjjx11K5WnDZm6rOzOfs0sVXsQlugCuZD2OUeU+tNHSKTmTdEIH5S7bFqA=
=2aOH
-----END PGP SIGNATURE-----



Added tag(s) wontfix. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Fri, 08 Mar 2013 07:24:03 GMT) Full text and rfc822 format available.

Reply sent to Yves-Alexis Perez <corsac@debian.org>:
You have taken responsibility. (Thu, 07 Nov 2013 09:15:06 GMT) Full text and rfc822 format available.

Notification sent to Jonathan Michalon <johndescs@gmail.com>:
Bug acknowledged by developer. (Thu, 07 Nov 2013 09:15:06 GMT) Full text and rfc822 format available.

Message #63 received at 683373-done@bugs.debian.org (full text, mbox):

From: Yves-Alexis Perez <corsac@debian.org>
To: Jonathan Michalon <johndescs@gmail.com>, 683373-done@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#683373: lightdm: User switching does not work under GNOME
Date: Thu, 07 Nov 2013 10:10:44 +0100
[Message part 1 (text/plain, inline)]
On Tue, 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> Package: lightdm
> Version: 1.2.2-3
> Severity: normal
> 
> Using gnome, user switch does not work.
> Error messsage is:
> The name org.gnome.DisplayManager was not provided by any .service files
> 
> Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> (which may not be removed due to dependencies).
> But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.
> 
> $ dbus-send --system --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
> works but
> $ dbus-send          --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
> doesn't
> 
> Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> in a directory placed at the beginning of PATH which can be considered as an
> (ugly) workaround. Listening to session bus (if this is standard) may be better.

gdmflexiserver is to be removed in the next (1.9+) lightdm version. The
correct way to switch user is to use dm-tool, so I'm just closing this
bug now.

It might still need work in desktop environments, but that's not a
lightdm bug.

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 06 Dec 2013 07:32:25 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 04:05:27 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.