! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session-manager should offer user switching
Status:
RESOLVED: DUPLICATE
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description sota2060 2012-10-05 12:48:05 CEST
It’s not possible to switch user from applications menu ("Log out" aka xfce4-session-logout). 


Steps to Reproduce: Compare the items from xfce4-session-logout and actions plugin in the xfce4 panel (screenshots: [1] vs. [2])

Actual Results: Different options are offered to the user -- switch user completely missing in xfce-session-logout.

Expected Results: "switch user" offered as it is in actions plugin; alternatively: customizable items in xfce-session-logout (as in actions plugin).


I usually prefer using xfce4-session-logout for choosing logout options because the actions plugin needs quite a lot space in the panel depending on ones username (especially combined with a small display).


(Arch Linux, Xfce 4.10.0, lightdm 1.3.3)


Screenshots:
[1] http://docs.xfce.org/_media/xfce/xfce4-session/xfce4-session-logout.png
[2] http://cdn.xfce.org/about/tour/4.10/panel-actions.png
Comment 1 Yves-Alexis Perez editbugs 2012-10-06 16:10:00 CEST
One issue is that there's no standard for user switching. gdm provides a gdm-flexiserver binary, lightdm uses a crude hack to provide the same one in another PATH, but there's (afaik) no such thing as a common, standardized way to do it.

xfswitch-plugin will enable you to call this gdm-flexiserver binary, in case you're interested.
Comment 2 Guido Berhoerster 2012-10-07 10:18:46 CEST
(In reply to comment #1)
> One issue is that there's no standard for user switching. gdm provides a
> gdm-flexiserver binary, lightdm uses a crude hack to provide the same one in
> another PATH, but there's (afaik) no such thing as a common, standardized
> way to do it.

Offering user switching based on the presence of a gdmflexiserver binary as in the actions plugin is not right since it doesn't know whether LightDM or GDM are actually running.
In any case, gdmflexiserver has been removed from GDM 3.6 and apparently it's only possible to access its user switiching interface by linking to its client library. So it is probably ok to ignore it from now on and rather support user switching via the LightDM DBus interface org.freedesktop.DisplayManager which nicely solves the problem of detecting the running DM.

> xfswitch-plugin will enable you to call this gdm-flexiserver binary, in case
> you're interested.

As the original reporter noted the actions plugin already supports that.
Comment 3 Delmir 2012-10-27 18:35:35 CEST
Is...
...switching via the LightDM DBus interface org.freedesktop.DisplayManager...

a feature request, or a is there already something in place?


Also, I see other bugs related to this same topic. Is there a way to combine bugs or reference them to each other?
Comment 4 Guido Berhoerster 2012-10-27 23:02:25 CEST
(In reply to comment #3)
> Is...
> ...switching via the LightDM DBus interface org.freedesktop.DisplayManager...
> 
> a feature request, or a is there already something in place?

So far that's only an idea on how to implement it correctly..

> Also, I see other bugs related to this same topic. Is there a way to combine
> bugs or reference them to each other?

I think only the bugowner/report have the privileges to change the bug status to duplicate.
Comment 5 Jérôme Guelfucci editbugs 2012-11-07 10:19:36 CET

*** This bug has been marked as a duplicate of bug 2819 ***

Bug #9352

Reported by:
sota2060
Reported on: 2012-10-05
Last modified on: 2012-11-07

People

Assignee:
Xfce Bug Triage
CC List:
6 users

Version

Version:
4.10.0

Attachments

Additional information