Calibre is logging <org.freedesktop.DBus.Error.FileNotFound> error messages

I’m using the latest calibre image on an Unraid system (6.11.5).

I’ve noticed that a lot of writes were happening in one of the calibre log files (.xorgxrdp.12.log or .xorgxrdp.10.log)

Fri Feb 24 14:51:53 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log
Fri Feb 24 14:51:53 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log
Fri Feb 24 14:52:03 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log
Fri Feb 24 14:52:03 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log
Fri Feb 24 14:52:13 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log
Fri Feb 24 14:52:13 2023 MODIFY /mnt/user/appdata/calibre/ .xorgxrdp.12.log

In the .xorgxrdp.12.log file, there are a lot of error messages that keep adding up, like this:

[  8311.109] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[  8321.115] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[  8331.124] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)

Is there a way to fix this issue so that we can limit the number of writes that are happening in the log files? Or is there a way to direct the log messages to some other folder of my choosing?

Thank you!

I managed to “fix” the error log messages by following this guide: https://github.com/mviereck/x11docker/wiki/How-to-connect-container-to-DBus-from-host

I’ve basically added a new path variable: /run/dbus/system_bus_socket:/run/dbus/system_bus_socket

I’m not really sure though if there are any negative implications to this method.