You are not logged in.
Pages: 1
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
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
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=noThis 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
Do you want a screensaver? If not, just remove it.
Offline
Do you want a screensaver? If not, just remove it.
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
Unfortunately it's not, and I'm looking for a way to manage this issues.
Sorry for my English
Offline
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
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
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=trueJin, Jîyan, Azadî
Offline
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
Pages: 1