! 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 !
Poweroff and Reboot - Bonnie and Clyde
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description poma 2016-05-19 23:48:11 CEST
$ rpm -qf /usr/bin/dbus-daemon
dbus-1.8.20-1.fc22.x86_64

$ rpm -qf /usr/bin/dbus-daemon
dbus-1.11.2-1.fc24.x86_64

$ rpm -qf /usr/bin/gdbus
glib2-2.44.1-2.fc22.x86_64

$ rpm -qf /usr/bin/gdbus
glib2-2.48.1-1.fc24.x86_64


$ xfce4-session-logout --version
xfce4-session 4.12.1git-20160515gite6aafcf (Xfce 4.12)

Copyright (c) 2004-2016
	The Xfce development team. All rights reserved.

Written by Benedikt Meurer <benny@xfce.org>
and Brian Tarricone <kelnos@xfce.org>.

Please report bugs to <http://bugs.xfce.org/>.


$ xfce4-session-logout --halt / --reboot

(xfce4-session-logout:17867): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'parameters == NULL || g_variant_is_of_type (parameters, G_VARIANT_TYPE_TUPLE)' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Received error while trying to log out
GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Type of message, '(yb)', does not match expected type '(b)'
Comment 1 Eric Koegel editbugs 2016-05-21 07:21:33 CEST
Hey thanks for pointing that out. It should now be fixed with 2 patches:
commit 95617f7759eb99eda65defe9f65944062a494a91
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Sat May 21 08:16:51 2016 +0300

    Fix the shutdown/reboot in xfsm-manager
    
    With the new GDBUS setup, we can't just call gtk_main_quit to exit
    since we'll never run the name_lost function which actually calls
    shutdown/reboot. This patch changes the gtk_main_quit calls to be
    a manager-quit signal which the main.c source will watch and
    react to.
http://git.xfce.org/xfce/xfce4-session/commit/?id=95617f7759eb99eda65defe9f65944062a494a91

commit 769c1d1e92f06772499faaf9196163e9d9cb0c1f
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Fri May 20 20:25:40 2016 +0300

    Fix shutdown and reboot gdbus calls
http://git.xfce.org/xfce/xfce4-session/commit/?id=769c1d1e92f06772499faaf9196163e9d9cb0c1f
Comment 2 poma 2016-05-27 20:22:03 CEST
All right!

Bug #12579

Reported by:
poma
Reported on: 2016-05-19
Last modified on: 2016-05-27

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information