16

How to disable and delete goa-daemon. I'm not using online accounts and this daemon only consumes my memory and CPU.

Alen
  • 1,843

3 Answers3

5

22.04 safe little hack

Simple and safe little hack, that can be easily reversed if needed. It just changes execute permissions for the daemon: (without removing anything that could unleash hell)

sudo chmod -x /usr/libexec/goa-daemon

Worked great for me in Ubuntu 22.04. Never saw him again, without any detected side-effects

5

The "solution" isn't a solution at all, it's just the removal of powernow daemon, there are many daemons, the solution doesn't consist in removing any random daemon, but goa-daemon specifically. Which apparently doesn't get executed by the whole rc/sysv scheme.

I'm not sure yet how to disable it, but I saw some comment thanking someone for a tip on how to make hidden XDG-autostart applications (set through launcher files at /etc/xdg/autostart and ~/.config/autostart) appear on some Ubuntu GUI manager for default applications. Strangely enough, I didn't have goa-daemon on any xdg-autostart folder, but it was running still. I don't even have the powernow daemon.

I think it's autostarted by /usr/share/dbus-1/services/org.gnome.OnlineAccounts.service

It's not the right way to do it, but it probably can be disabled either removing the file or by editing the exec line and just adding an "echo" after "exec=". But there is probably a more proper way to manage "dbus-services".

the dsc
  • 79
0

To disable the GOA service:

$ cd /usr/share/dbus-1/services
$ sudo ln -snf /dev/null  org.gnome.OnlineAccounts.service
$ sudo reboot now
udo
  • 19