You are not logged in.

#1 2016-12-11 16:25:31

ffurbo
Member
From: Poland
Registered: 2016-02-13
Posts: 12

unknown systemd processes

I can see number of systemd processes under htop. Some of them are:
goa-daemon
cinnamon-screensaver
goa-identity-service

I don't want to uninstall these packages and I would like to stop and disable services, but there are no systemd units for these processes, neither in user nor system environment.

How these processes are run? I suspect dbus of this.
How can I disable them without uninstalling?


Sorry for my English

Offline

#2 2016-12-11 17:09:34

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: unknown systemd processes

What makes you think these are "systemd" processes? goa is part of gnome (gnome-online-accounts), and cinnamon-screensaver is part of, well, cinnamon. Chances are systemd can tell you what is starting the processes, but that doesn't mean they are part of systemd. Find out the processes' pids and check what systemctl has to say about them.

systemctl status <pid>

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-12-11 17:44:58

ffurbo
Member
From: Poland
Registered: 2016-02-13
Posts: 12

Re: unknown systemd processes

In the htop tool I can see the process tree like this:
http://static.thegeekstuff.com/wp-conte … e-view.png

The processes I mentioned before are located in the "systemd --user" branch.

I run the "systemctl status <pid>" for cinnamon-screensaver process:

michal ~ $ systemctl status 814
● user@1000.service - User Manager for UID 1000
   Loaded: loaded (/usr/lib/systemd/system/user@.service; static; vendor preset: disabled)
   Active: active (running) since Sun 2016-12-11 16:23:06 CET; 2h 1min ago
 Main PID: 540 (systemd)
   Status: "Startup finished in 772ms."
    Tasks: 51
   CGroup: /user.slice/user-1000.slice/user@1000.service
           ├─at-spi-dbus-bus.service
           │ ├─760 /usr/lib/at-spi2-core/at-spi-bus-launcher
           │ ├─774 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │ └─776 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
           ├─dbus.service
           │ ├─ 637 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
           │ ├─ 655 /usr/lib/xfce4/xfconf/xfconfd
           │ ├─ 780 /usr/lib/gnome-online-accounts/goa-daemon
           │ ├─ 814 /usr/bin/python3 /usr/share/cinnamon-screensaver/cinnamon-screensaver-main.py
           │ ├─ 822 /usr/lib/gnome-online-accounts/goa-identity-service
           │ └─1235 /usr/lib/GConf/gconfd-2
           ├─gvfs-afc-volume-monitor.service
           │ └─764 /usr/lib/gvfs/gvfs-afc-volume-monitor
           ├─gvfs-daemon.service
           │ ├─708 /usr/lib/gvfs/gvfsd
           │ ├─725 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
           │ └─828 /usr/lib/gvfs/gvfsd-trash --spawner :1.16 /org/gtk/gvfs/exec_spaw/0
           ├─gvfs-mtp-volume-monitor.service
           │ └─759 /usr/lib/gvfs/gvfs-mtp-volume-monitor
           ├─gvfs-udisks2-volume-monitor.service
           │ └─745 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
           ├─init.scope
           │ ├─540 /usr/lib/systemd/systemd --user
           │ └─551 (sd-pam)
           └─pulseaudio.service
             └─685 /usr/bin/pulseaudio --daemonize=no

This confirms my suspicion about dbus. Is there any easy way I can control this processes?

Mod note: removed oversized image -- see https://wiki.archlinux.org/index.php/Co … s_and_code -- WorMzy

Last edited by WorMzy (2016-12-11 17:52:18)


Sorry for my English

Offline

#4 2016-12-11 18:04:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: unknown systemd processes

Do you want a screensaver? If not, just remove it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-12-11 18:33:48

ffurbo
Member
From: Poland
Registered: 2016-02-13
Posts: 12

Re: unknown systemd processes

jasonwryan wrote:

Do you want a screensaver? If not, just remove it.

smile I know uninstalling package would prevent it from running. I wan't to keep the package installed, but I don't want it to occupy memory when I'm not using it.

I use xfce as my main DE. I installed cinnamon  to test  it. I like to have multiple DE's installed on my system, and I think system should be smart enough to not load cinnamon components when I'm using xfce smile

Unfortunately it's not, and I'm looking  for a way to manage this issues.


Sorry for my English

Offline

#6 2016-12-11 19:56:07

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: unknown systemd processes

ffurbo wrote:

I like to have multiple DE's installed on my system, and I think system should be smart enough to not load cinnamon components when I'm using xfce smile

https://github.com/xfce-mirror/xfce4-se … ver.c#L236
This appears to be a deliberate design choice made by xfce.  It also seems to be unconnected to systemd and only uses d-bus to launch the executable.

Offline

#7 2016-12-11 21:09:02

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: unknown systemd processes

ffurbo wrote:

How these processes are run?

As your chosen method of starting the desktop appears to be a closely guarded secret, I would have to guess that your display manager is simply obeying the freedesktop.org specification in respect of autostarted programs:

https://specifications.freedesktop.org/ … atest.html

How can I disable them without uninstalling?

Briefly, copy the unwanted applications' .desktop files to ~/.config/autostart and add this line to the end of the files:

Hidden=true

Jin, Jîyan, Azadî

Offline

#8 2016-12-11 21:38:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: unknown systemd processes

According to loqs' link, that likely won't do (seems dbus activated)

Since it's not a systemd service, you can't mask it, but will have to get rid of /usr/share/dbus-1/services/org.cinnamon.ScreenSaver.service (temporarily) what means trickery with the DM (if in use)

However "I installed cinnamon  to test  it" - you'll hardly need it's screensaver then, just uninstall it.

Offline

Board footer

Powered by FluxBB