LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   freedesktop question (https://www.linuxquestions.org/questions/fedora-35/freedesktop-question-4175559994/)

letsrock 11-27-2015 02:06 AM

freedesktop question
 
hi i am a newbie looking around in my system and found alot of freedesktop.org services running on my system they werent there before as i recall, so i wonder if its good to shut them down and remove them or if my system will break down then and stop working, or what are they good for because i see things associated to them all around my system?
i already have a network manager service enabled so i wonder why i need 2 ?

NetworkManager.service enabled

like these services?

dbus-org.freedesktop.Avahi.service enabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.import1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.machine1.service static
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.network1.service disabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.resolve1.service disabled
dbus-org.freedesktop.timedate1.service enabled

and if its good to shut them down could you please show me how to do it ?

Regards letsrock

ondoho 11-27-2015 01:08 PM

freedesktop is totally ok. you most probably want these services running.

in no particular order:
- understand what dbus is.
- go to the freedesktop.org page and have a good long read to understand what that means.

tomwest 11-27-2015 06:28 PM

With many of those service like Avahi and ModemManager, you may simply not need them because they don't run what you may use on the system. You can disable any or all of them with systemctl (as root), e.g.:
Code:

systemctl disable ModemManager
and they won't start up on next boot. If you want to stop them immediately you can run:
Code:

systemctl stop ModemManager
The simplest idea is find out what they do, decide whether you want that service, or use it, then enable and disable accordingly. If you disable lots of them, if not all, and then have trouble, you can simply re-enable them with the option: 'enable' replacing the term 'disable' in the above commands and start them up again immediately using the the option 'start' replacing 'stop' in the above command. If for example, you are running NetworkManager, then the network service shouldn't be run because the system only responds well to one networking set of programs, so, if you run network, then NetworkManager should be disabled. You can find out much of the running stuff by looking into files and directories under /etc/systemd/system/ to see what's there. There are other programs that run apart from what's there, and to find those you can use the systemctl command:
Code:

systemctl list-unit-files
which shows what's there and the status, such as active or disabled.

letsrock 11-28-2015 02:16 AM

ok thanks i will shut down thos that i have 2 of and see what happens.
thanks again


All times are GMT -5. The time now is 08:38 AM.