Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-01-14 11:14:21

comanche_001
Member
Registered: 2023-01-14
Posts: 3

xfce4-panel activating Xconf via dbus every 10 minutes?

Hi,

Since xfce 4.18 my systems log (on arch linux) is filled with these messages (every 10 minutes):

dbus-daemon[]: [session uid= pid=] Activating service name='org.xfce.Xfconf' requested by ':1.1215' (uid= pid= comm="xfce4-panel --display :0.0 --sm-client-id 23f7bc55")
jan 14 11:45:19 dbus-daemon[]: [session uid= pid=] Successfully activated service 'org.xfce.Xfconf'

Does anyone know why this is happening?

Thanks in advance!

Offline

#2 2023-01-14 11:53:39

Tamaranch
Member
Registered: 2020-12-31
Posts: 322

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

This is because since 4.18, xfconfd terminates itself after 5 minutes of inactivity, whereas before it stayed running all the time. So as the panel saves its settings every 10 minutes (it was already the case before 4.18), it restarts xfconfd at that time.

Offline

#3 2023-01-14 16:16:29

comanche_001
Member
Registered: 2023-01-14
Posts: 3

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Okay thanks.

This however raises another question. wink

Why is it smart to terminate xconfd after 5 minutes of inactivity if the panel needs it every 10 minutes?

Offline

#4 2023-01-14 17:15:58

Tamaranch
Member
Registered: 2020-12-31
Posts: 322

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Because of the modular nature of Xfce. Xfconf can be used for other components, without the panel necessarily being present. In fact, this was originally implemented for the use of Xfconf in a flatpak (for Ristretto). Otherwise, xfconfd kept running indefinitely after the application was closed.

Offline

#5 2023-01-14 20:05:44

comanche_001
Member
Registered: 2023-01-14
Posts: 3

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Thanks!

Offline

#6 2023-04-14 19:10:53

patman5656
Member
Registered: 2023-04-14
Posts: 1

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Hello All!
Is there a way to stop this or at least suppress the logging?

My /var/log/messages files on filling up with this message, and it makes it hard to see the other entries.

-Thanks!

Last edited by patman5656 (2023-04-14 19:11:20)

Offline

#7 2023-04-20 22:49:58

MurdoMaclachlan
Member
From: Scotland
Registered: 2023-04-18
Posts: 2
Website

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

I'd like to throw a quick post in here to say this is also becoming quite annoying for me; every time I want to look for something in /var/log/messages, I have to wade through masses of these messages. It would be really nice to know if there's a way to stop the log messages at least.


Specs
Software: Slackware Current x86_64, Xfce
Hardware: B550-F, 3800X, RX 6600, 32GB RAM

Offline

#8 2023-04-21 01:18:35

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

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

I believe its the dbus daemon that is generating those log entries (even though Xfconf is the generator). I can't find any info on blacklist capabilities with dbus logging.

patman5656 wrote:

...it makes it hard to see the other entries.

MurdoMaclachlan wrote:

every time I want to look for something in /var/log/messages, I have to wade through masses of these messages.

For /var/log/messages, you could use something like:

cat /var/log/messages | grep -v Xfconf | more

...to be able to review the contents with the Xfconf entries filtered out.

For systemd journals, you could use the -p parameter to specify a range of priorities to display (this message being informational), so something like:

journalctl --user -p emerg..info

...to filter out informational and debug message (see: https://wiki.archlinux.org/title/System … rity_level).

I know this doesn't directly answer the question, but given that xfconf needs to operate in the this manner as discussed above and the dbus daemon doesn't appear to allow blacklisting of messages, this may be the best alternative.


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

#9 2023-04-21 09:11:43

MurdoMaclachlan
Member
From: Scotland
Registered: 2023-04-18
Posts: 2
Website

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

ToZ wrote:

For /var/log/messages, you could use something like:

cat /var/log/messages | grep -v Xfconf | more

...to be able to review the contents with the Xfconf entries filtered out.

Ah, thank you! I wasn't aware grep had an option to filter things out -- that works perfect for me.


Specs
Software: Slackware Current x86_64, Xfce
Hardware: B550-F, 3800X, RX 6600, 32GB RAM

Offline

#10 2023-07-11 21:00:11

PolaritonCondensate
Member
Registered: 2023-07-11
Posts: 2

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Why not make xfconfd time-out after 11 minutes of inactivity?

Offline

#11 2023-07-20 12:18:20

PolaritonCondensate
Member
Registered: 2023-07-11
Posts: 2

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

For anyone else irritated by this tsunami of log spam, the timeout delay is defined by the SHUTDOWN_TIMEOUT_SECONDS constant near the top of xfconfd/xfconf-lifecycle-manager.c .  I changed it to 1500 (25 minutes) and the spam is gone.

Offline

#12 2024-10-09 10:44:28

miceintherice
Member
Registered: 2024-10-09
Posts: 2
Windows 10Firefox 131.0

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

For those not able or willing to fix xfconfd/xfconf-lifecycle-manager.c there is another way to make these messages disappear, it is the "use a sledgehammer to kill a gnat" approach but it will stop those messages (and pretty much anything else that's not critical) from being written to the logs.  What you do is edit /etc/systemd/journald.conf and add these lines at the bottom (under all the commented-out lines):

Storage=volatile
MaxRetentionSec=1week
ForwardToSyslog=no
ForwardToKMsg=no
ForwardToConsole=no
ForwardToWall=no
MaxLevelStore=warning
MaxLevelSyslog=warning
MaxLevelKMsg=warning
MaxLevelConsole=warning
MaxLevelWall=emerg

Explanation:

Storage=volatile causes logs to be stored in memory only, not on your device's hard drive or SSD or whatever.
MaxRetentionSec=1week only saves a week's worth of logs if your system has been up for over a week

ForwardToSyslog=no
ForwardToKMsg=no
ForwardToConsole=no
ForwardToWall=no
The above stop log messages from also being placed in other logs.

MaxLevelStore=warning
MaxLevelSyslog=warning
MaxLevelKMsg=warning
MaxLevelConsole=warning
MaxLevelWall=emerg
The above are the most important, they keep anything that is not considered to be at least a warning from being written to the log (the last line is the default setting).

References:
journald.conf man page
How To Use Journalctl to View and Manipulate Systemd Logs

Note that I am just a user of Debian and XFCE on one specific machine that is used for a specific purpose but since it uses NVMe storage I was not happy about unnecessary persistent logging, so I don't mind that this disables all logging that's not at least a warning.  I can always back this out if I need to but I am not a compulsive reader of log files, and I probably would never have known this was happening had I not read a suggestion to run journalctl to possibly diagnose another unrelated issue (which it didn't).

Oh, forgot to mention this will not kill any existing logs.  To do that, go to /var/log/journal/ and in that directory there will be another directory with a long hexadecimal number, go into that and the old log files are stored there and can be removed or archived so they no longer take up space on your drive.

Last edited by miceintherice (2024-10-09 10:49:35)

Offline

#13 2024-10-09 10:52:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 131.0

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

See: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/767.

xfce4-panel was auto-saving its settings every 10 minutes causing xfconf to be re-activated. This auto-saving has been removed since version 4.18.5, This should cut down on some of those log messages.

However, whenever any xfce application saves to xfconf you would still get log entries created if xfconf needs to get re-activated.


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

#14 2024-10-09 15:28:05

miceintherice
Member
Registered: 2024-10-09
Posts: 2
Windows 10Firefox 131.0

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

Unfortunately Debian 12 with the XFCE desktop must still be using a pre-4.18.5 version of xfce4-panel, because I was still getting those messages every 10 minutes until I made the changes shown in my previous post.  And from what I hear, Debian is really slow to update things like that,

Offline

#15 2024-10-25 10:28:23

jiyahana
Member
Registered: 2024-10-19
Posts: 6
Windows 10Microsoft Edge 130.0

Re: xfce4-panel activating Xconf via dbus every 10 minutes?

The "Activating service name='org.xfce.Xfconf'" logs appear because xfce4-panel saves its settings every 10 minutes, triggering xfconfd. To reduce these logs, update to xfce4-panel version 4.18.5 or newer. If you can't update, try changing journald settings to filter out lower-priority logs.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 597.39 KiB (Peak: 614.23 KiB) ]