Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-11-26 11:31:16

wrinklytech
Member
Registered: 2020-11-26
Posts: 6

XFCE4 Screensaver Cannot Be Stopped After Activating

Having installed the screensaver package, it is activating as set up, but will not clear in response to either mouse or keyboard input. This means the system has to be rebooted!

Offline

#2 2020-11-26 11:49:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

Hello and welcome.

It would be helpful if you provided more information.

  • Which distro are you using?

  • Which version of Xfce?

  • Which version of xfce4-screensaver?

  • How did you install it (from a package in the repositories or manually built)?

If you run xfce4-screensaver in debug mode, it might be able to generate some useful output. In a terminal window, kill the existing process:

xfce4-screensaver-command --exit

...then run it in debug mode:

xfce4-screensaver --debug > $HOME/debug.txt 2>&1

...and when you recover, post back the contents of $HOME/debug.txt.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-11-26 15:39:42

wrinklytech
Member
Registered: 2020-11-26
Posts: 6

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

Thanks for the reply.

    Which distro are you using?

    Self built Linux From Scratch 9.1 (System V)

    Which version of Xfce?

    4.14

    Which version of xfce4-screensaver?

   0.1.8

    How did you install it (from a package in the repositories or manually built)?

    Built from https://archive.xfce.org/src/apps/xfce4 … .8.tar.bz2

The output from running in debug mode is:


  [gs_debug_init] gs-debug.c:115 (15:22:07.322):     Debugging enabled
  [main] xfce4-screensaver.c:97 (15:22:07.322):     Initializing xfce4-screensaver 0.1.8
  [query_session_id] gs-listener-dbus.c:1991 (15:22:07.334):     org.freedesktop.login1.NoSessionForPID raised:
   PID 6825 does not belong to any known session


  [init_session_id] gs-listener-dbus.c:2039 (15:22:07.334):     Got session-id: (null)
  [gs_listener_x11_set_timeouts] gs-listener-x11.c:312 (15:22:07.334):     Saver timeout updated to 300 seconds
  [gs_listener_x11_acquire] gs-listener-x11.c:288 (15:22:07.374):     ScreenSaver Registered


This seems to be all that's recorded.

I appreciate the fact this system has been put together manually leaves a host of unknowns with this problem. I guess I was hoping it might have been an issue that had cropped up in the past, and would ring a bell with someone.

Offline

#4 2020-11-26 23:29:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

wrinklytech wrote:

    Which version of xfce4-screensaver?

   0.1.8

0.1.11 is the latest version. It has fixed some bugs. Can you try it instead: https://git.xfce.org/apps/xfce4-screens … a9242480d8?

The output from running in debug mode is:


  [gs_debug_init] gs-debug.c:115 (15:22:07.322):     Debugging enabled
  [main] xfce4-screensaver.c:97 (15:22:07.322):     Initializing xfce4-screensaver 0.1.8
  [query_session_id] gs-listener-dbus.c:1991 (15:22:07.334):     org.freedesktop.login1.NoSessionForPID raised:
   PID 6825 does not belong to any known session

Lets see if you get this with the updated version.

I appreciate the fact this system has been put together manually leaves a host of unknowns with this problem. I guess I was hoping it might have been an issue that had cropped up in the past, and would ring a bell with someone.

You can also create a bug report if you'd like to get the developer's attention.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2020-11-27 13:17:23

wrinklytech
Member
Registered: 2020-11-26
Posts: 6

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

Thanks for your thoughts. It seems you need the XFCE development tools installed to build from the version you mention, which I'm reluctant to get into!

Offline

#6 2020-11-27 13:45:47

wrinklytech
Member
Registered: 2020-11-26
Posts: 6

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

Found an installable version of the 0.1.11 package on a Gentoo site! Compiles and installs OK. The debug info is

  [gs_debug_init] gs-debug.c:115 (13:37:36.383):     Debugging enabled
  [main] xfce4-screensaver.c:95 (13:37:36.383):     Initializing xfce4-screensaver 0.1.11
  [query_session_id] gs-listener-dbus.c:2138 (13:37:36.396):     org.freedesktop.login1.NoSessionForPID raised:
   PID 9460 does not belong to any known session


  [init_session_id] gs-listener-dbus.c:2186 (13:37:36.396):     Got session-id: (null)
  [gs_listener_init] gs-listener-dbus.c:2212 (13:37:36.396):     Acquiring logind sleep inhibitor lock ****
  [gs_listener_x11_set_timeouts] gs-listener-x11.c:312 (13:37:36.399):     Saver timeout updated to 300 seconds
  [gs_listener_x11_acquire] gs-listener-x11.c:288 (13:37:36.439):     ScreenSaver Registered

Pretty much as before apart from the additional line ***

Offline

#7 2020-11-27 18:22:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: XFCE4 Screensaver Cannot Be Stopped After Activating

wrinklytech wrote:

  [query_session_id] gs-listener-dbus.c:2138 (13:37:36.396):     org.freedesktop.login1.NoSessionForPID raised:
   PID 9460 does not belong to any known session

This is your problem. Do you have dbus installed and set up properly?

Here is my output of this section:

gs_debug_init] gs-debug.c:115 (13:16:44.281):	 Debugging enabled
[main] xfce4-screensaver.c:95 (13:16:44.281):	 Initializing xfce4-screensaver 0.1.11
[init_session_id] gs-listener-dbus.c:2186 (13:16:44.288):	 Got session-id: /org/freedesktop/login1/session/_31

...notice how it gets the session id.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 547.96 KiB (Peak: 548.8 KiB) ]