! 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-power-manager crashes in XDMCP sessions
Status:
RESOLVED: MOVED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Dirk Hagedorn 2018-01-04 09:30:46 CET
Running a Xubuntu 16.04 on my laptop works fine as long as I start a session via XDMCP from a Windows computer (using VcXsrv).
Then I don't see any xfce power applet with the current battery status. Reason: no xfce4-power-manager running

If I try to start it manually with "xfce4-power-manager --debug" I get...

$ xfce4-power-manager --debug
TRACE[xfpm-main.c:192] xfpm_start(): Starting the power manager
Xlib:  extension "DPMS" missing on display "192.168.23.177:42.0".
...
TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-040
(xfce4-power-manager:7056): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed
Xlib:  extension "DPMS" missing on display "192.1.1.177:42.0".
(xfce4-power-manager:7056): xfce4-power-manager-WARNING **: Cannot get DPMSInfo
(xfce4-power-manager:7056): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(xfce4-power-manager:7056): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed
Speicherzugriffsfehler

(= memory access error)
Comment 1 Dirk Hagedorn 2018-01-08 09:27:24 CET
self reply: I'm currently running an XDMCP session and I see the power applet, xfce4-power-manager is up and running, confuses me.
Comment 2 Dirk Hagedorn 2018-02-13 13:36:37 CET
I still have the problem of a vanishing power applet in XDMCP sessions. Just restarted it from a terminal and saw these lines when it vanished again:

TRACE[xfpm-manager.c:490] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 2
TRACE[xfpm-manager.c:490] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 1
The program 'xfce4-power-manager' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1029 error_code 8 request_code 133 minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

May be these lines are helpful for anybody?
Comment 3 Git Bot editbugs 2020-05-27 01:41:47 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-power-manager/-/issues/30.

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 #14141

Reported by:
Dirk Hagedorn
Reported on: 2018-01-04
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information