! 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-logout fails with "Session Manager expects system shutdown. Ple...
Status:
RESOLVED: MOVED
Product:
Xfce4-session
Component:
General

Comments

Description Alex Kaplin 2019-08-31 20:43:06 CEST
Hello,
when I try to log out from desktop (Start->Log Out) I'm getting a message box error with "Session Manager expects system shutdown. Please wait" text. I've tried to investigate source code of xfce4-session-logout and found that g_dbus_proxy_new_for_bus_sync returns NULL value instead of GDBusProxy:
xfce4-session/xfce4-session-logout/main.c:
.....
GDBusProxy      *proxy = NULL;
.....

proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
                                         G_DBUS_PROXY_FLAGS_NONE,
                                         NULL,
                                         "org.xfce.SessionManager",
                                         "/org/xfce/SessionManager",
                                         "org.xfce.Session.Manager",
                                         NULL,
                                         &err);
  if (proxy == NULL)
    {
      xfce_session_logout_notify_error (_("Received error while trying to log out"), err, have_display); /*seems this i'm getting*/
      g_error_free (err);
      return EXIT_FAILURE;
    }

Is any way to manually debug this situation? If so how I can do it? And what datas shoud I provide for you to investigate this issue?
My XFCE version is:

xfce4-session 4.12.1 (Xfce 4.12)

Copyright (c) 2004-2012
	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/>.

WBR,
Alex
Comment 1 Git Bot editbugs 2020-05-26 00:51:05 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/59.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15907

Reported by:
Alex Kaplin
Reported on: 2019-08-31
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information