[Xfce-bugs] [Bug 10345] Add a "Change User" button to xfce4-session-logout
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Tue Jun 7 16:52:20 CEST 2016
https://bugzilla.xfce.org/show_bug.cgi?id=10345
--- Comment #4 from poma <pomidorabelisima at gmail.com> ---
$ grep -R 'org.freedesktop.DisplayManager.Seat\|SwitchToGreeter'
light-locker-1.7.0/src/gs-bus.h:#define DM_SEAT_INTERFACE
"org.freedesktop.DisplayManager.Seat"
light-locker-1.7.0/src/gs-listener-dbus.c:
"SwitchToGreeter");
lightdm-1.18.0/NEWS: - Rename ShowGreeter() to SwitchToGreeter()
lightdm-1.18.0/data/org.freedesktop.DisplayManager.conf: <allow
send_destination="org.freedesktop.DisplayManager"
send_interface="org.freedesktop.DisplayManager.Seat"/>
lightdm-1.18.0/src/display-manager.xml: <method name="SwitchToGreeter"/>
lightdm-1.18.0/src/dm-tool.c:
"org.freedesktop.DisplayManager.Seat",
lightdm-1.18.0/src/dm-tool.c:
"SwitchToGreeter",
lightdm-1.18.0/src/dm-tool.c:
"org.freedesktop.DisplayManager.Seat",
lightdm-1.18.0/src/lightdm.c: if (g_strcmp0 (method_name, "SwitchToGreeter")
== 0)
lightdm-1.18.0/src/lightdm.c: emit_object_value_changed (bus,
seat_entry->path, "org.freedesktop.DisplayManager.Seat", "Sessions",
get_session_list (session_entry->seat_path));
lightdm-1.18.0/src/lightdm.c: emit_object_value_changed (bus, seat_path,
"org.freedesktop.DisplayManager.Seat", "Sessions", get_session_list
(seat_path));
lightdm-1.18.0/src/lightdm.c: path = g_strdup_printf
("/org/freedesktop/DisplayManager/Seat%d", seat_index);
lightdm-1.18.0/src/lightdm.c: " <interface
name='org.freedesktop.DisplayManager.Seat'>"
lightdm-1.18.0/src/lightdm.c: " <method name='SwitchToGreeter'/>"
lightdm-1.18.0/help/C/user-switching.page:SwitchToGreeter - A greeter session
is started. This allows the user to authenticate for a new session or
authenticate to return to their current session.
xfce4-session-43e532f/xfce4-session/xfsm-shutdown.c: const gchar
*DBUS_INTERFACE = "org.freedesktop.DisplayManager.Seat";
xfce4-session-43e532f/xfce4-session/xfsm-shutdown.c: const gchar
*DBUS_OBJECT_PATH = "/org/freedesktop/DisplayManager/Seat0";
xfce4-session-43e532f/xfce4-session/xfsm-shutdown.c:
"SwitchToGreeter",
xfce4-session-43e532f/xfce4-session/xfsm-shutdown.c: const gchar
*DBUS_INTERFACE = "org.freedesktop.DisplayManager.Seat";
$ ps ax | grep '[x]fce4-session\|[l]ight\|[d]bus'
876 ? Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd:
--nofork --nopidfile --systemd-activation
1208 ? Ssl 0:00 /usr/sbin/lightdm
1214 tty1 Ssl+ 0:01 /usr/libexec/Xorg :0 -seat seat0 -auth
/var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
1273 ? Sl 0:00 lightdm --session-child 12 19
1309 ? Ss 0:00 /usr/bin/dbus-daemon --session --address=systemd:
--nofork --nopidfile --systemd-activation
1338 ? Sl 0:00 xfce4-session
1344 ? S 0:00 /bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
1403 ? Sl 0:00 light-locker
Everything is there but "Switch User" button, within logout dialog, does not
"Switch User",
effect is same as with "Log Out" button.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list