Bug#751505: Buggy "Switch user" on the "Action Buttons" plugin

2016-03-06 Thread Ximin Luo
Package: xfce4-panel
Version: 4.12.0-3
Followup-For: Bug #751505

Note that dm-tool is lightdm specific, so it's probably not appropriate to
execute that unconditionally.

One way could be to read /etc/X11/default-display-manager and run the
appropriate command based on that.

In the meantime, users can work around this with

--- /usr/bin/gdmflexiserver
#!/bin/sh
exec dm-tool switch-to-greeter
---

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfce4-panel depends on:
ii  exo-utils0.10.7-1
ii  libatk1.0-0  2.18.0-1
ii  libc62.21-9
ii  libcairo21.14.6-1
ii  libdbus-1-3  1.10.6-1
ii  libdbus-glib-1-2 0.106-1
ii  libexo-1-0   0.10.7-1
ii  libfontconfig1   2.11.0-6.3
ii  libfreetype6 2.6.1-0.1
ii  libgarcon-1-00.4.0-2
ii  libgdk-pixbuf2.0-0   2.32.3-1.2
ii  libglib2.0-0 2.46.2-3
ii  libgtk2.0-0  2.24.29-1
ii  libice6  2:1.0.9-1+b1
ii  libpango-1.0-0   1.38.1-1
ii  libpangocairo-1.0-0  1.38.1-1
ii  libpangoft2-1.0-01.38.1-1
ii  libsm6   2:1.2.2-1+b1
ii  libwnck222.30.7-5
ii  libx11-6 2:1.6.3-1
ii  libxext6 2:1.3.3-1
ii  libxfce4ui-1-0   4.12.1-2
ii  libxfce4util74.12.1-2
ii  libxfconf-0-24.12.0-2+b1

xfce4-panel recommends no packages.

xfce4-panel suggests no packages.

-- no debconf information



Bug#751505: [Pkg-xfce-devel] Bug#751505: Buggy "Switch user" on the "Action Buttons" plugin

2014-06-13 Thread Yves-Alexis Perez
On ven., 2014-06-13 at 11:10 -0300, Raúl Benencia wrote:
> The "Switch User" option of the "Action Buttons" plugin assumes[0] that if
> gdmflexiserver is installed, then GDM is your current dm and will try to
> use that program to switch users. In my case, I've installed gdm3 but I'm
> actually using lightdm. So, when I try to switch users, xfce will complain
> with the following message:
> 
> | Unable to start new display:
> | GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> | org.gnome.DisplayManager was not provided by any .service files
> 
> The correct way of doing this in this case is, I think, that "Switch User"
> calls "dm-tool switch-to-greeter" instead of "gdmflexiserver".
> 
> [0] 
> http://sources.debian.net/src/xfce4-panel/4.10.1-1/plugins/actions/actions.c#L861

Yes, the switch user button only supports gdm3. That's a bit
unfortunate, but there's actually no generic way to support that right
now.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#751505: Buggy "Switch user" on the "Action Buttons" plugin

2014-06-13 Thread Raúl Benencia
Package: xfce4-panel
Version: 4.10.1-1
Severity: normal
Tags: upstream

Hello,

The "Switch User" option of the "Action Buttons" plugin assumes[0] that if
gdmflexiserver is installed, then GDM is your current dm and will try to
use that program to switch users. In my case, I've installed gdm3 but I'm
actually using lightdm. So, when I try to switch users, xfce will complain
with the following message:

| Unable to start new display:
| GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
| org.gnome.DisplayManager was not provided by any .service files

The correct way of doing this in this case is, I think, that "Switch User"
calls "dm-tool switch-to-greeter" instead of "gdmflexiserver".

[0] 
http://sources.debian.net/src/xfce4-panel/4.10.1-1/plugins/actions/actions.c#L861

Thanks in advance.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-panel depends on:
ii  exo-utils   0.10.2-3
ii  libatk1.0-0 2.12.0-1
ii  libc6   2.19-1
ii  libcairo2   1.12.16-2
ii  libdbus-1-3 1.8.2-1
ii  libdbus-glib-1-20.102-1
ii  libexo-1-0  0.10.2-3
ii  libfontconfig1  2.11.0-5
ii  libfreetype62.5.2-1
ii  libgarcon-1-0   0.2.1-1
ii  libgdk-pixbuf2.0-0  2.30.7-1
ii  libglib2.0-02.40.0-3
ii  libgtk2.0-0 2.24.23-1
ii  libice6 2:1.0.8-2
ii  libpango1.0-0   1.36.3-1
ii  libsm6  2:1.2.1-2
ii  libwnck22   2.30.7-1
ii  libx11-62:1.6.2-2
ii  libxext62:1.3.2-1
ii  libxfce4ui-1-0  4.10.0-5
ii  libxfce4util6   4.10.1-1
ii  libxfconf-0-2   4.10.0-2
ii  multiarch-support   2.19-1

xfce4-panel recommends no packages.

xfce4-panel suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org