Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Whyda42 on 02 June 2023, 14:33:21

Title: Dbus Notifications unknow service error
Post by: Whyda42 on 02 June 2023, 14:33:21
I get the following error when trying to run notify-send:

Code: [Select]
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

Running Artix with openrc. I'm not sure what other info will help with the problem, I'm very lost.
Title: Re: Dbus Notifications unknow service error
Post by: Hitman on 02 June 2023, 14:57:20
Are you running this as normal user, or in a cron/root script (you'd need to override some env. variables)?
Title: Re: Dbus Notifications unknow service error
Post by: Whyda42 on 02 June 2023, 15:18:31
That is the error when I run as a normal user, when I run as root I get a different error:
Code: [Select]
Error spawning command line “dbus-launch --autolaunch=... --binary-syntax --close-stderr”: Child process exited with code 1
Title: Re: Dbus Notifications unknow service error
Post by: Hitman on 02 June 2023, 23:40:31
Okay, so that can be crossed out, it's most likely from your desktop, which one are you using?
I am on LXQt and notify-send works. Maybe you don't have a running notif. receiver?
Check if dbus works properly, i'm not a dbus guy and others know better than me but you can check the number of dbus processes, if too many get forked it gets problematic.