LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-11-2023, 11:28 AM   #1
maddy0
Member
 
Registered: May 2023
Posts: 84

Rep: Reputation: 2
Unistall services


Hello, i'm using Debian 12.2 and i would like run system with less services possible. Making Linux faster and secure, but not sure which services unistall.
running
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
alsa-restore.service loaded active exited Save/Restore Sound Card State
apparmor.service loaded active exited Load AppArmor profiles
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
blk-availability.service loaded active exited Availability of block devices
bluetooth.service loaded active running Bluetooth service
colord.service loaded active running Manage, Install and Generate Color Profiles
console-setup.service loaded active exited Set console font and keymap
cron.service loaded active running Regular background program processing daemon
cups-browsed.service loaded active running Make remote CUPS printers available locally
cups.service loaded active running CUPS Scheduler
dbus.service loaded active running D-Bus System Message Bus
fwupd.service loaded active running Firmware update daemon
getty@tty1.service loaded active running Getty on tty1
ifupdown-pre.service loaded active exited Helper to synchronize boot up for ifupdown
keyboard-setup.service loaded active exited Set the console keyboard layout
kmod-static-nodes.service loaded active exited Create List of Static Device Nodes
lightdm.service loaded active running Light Display Manager
lm-sensors.service loaded active exited Initialize hardware monitoring sensors
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
ModemManager.service loaded active running Modem Manager
networking.service loaded active exited Raise network interfaces
NetworkManager-wait-online.service loaded active exited Network Manager Wait Online
NetworkManager.service loaded active running Network Manager
nvidia-persistenced.service loaded active running NVIDIA Persistence Daemon
plymouth-quit-wait.service loaded active exited Hold until boot process finishes up
plymouth-read-write.service loaded active exited Tell Plymouth To Write Out Runtime Data
plymouth-start.service loaded active exited Show Plymouth Boot Screen
polkit.service loaded active running Authorization Manager
power-profiles-daemon.service loaded active running Power Profiles daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
smartmontools.service loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-cryptsetup@nvme1n1p3_crypt.service loaded active exited Cryptography Setup for nvme1n1p3_crypt
systemd-fsck@dev-disk-by\x2duuid-8eb...9c015ad.service loaded active exited File System Check on /dev/disk/by-uuid/8ebb1010-672b-4af3-b05f-082fa9c015ad
systemd-fsck@dev-disk-by\x2duuid-A73C\x2dE0A5.service loaded active exited File System Check on /dev/disk/by-uuid/A73C-E0A5
systemd-fsck@dev-mapper-NoVax\x2d\x2dvg\x2dhome.service loaded active exited File System Check on /dev/mapper/NoVax--vg-home
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-sysusers.service loaded active exited Create System Users
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited Coldplug All udev Devices
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
systemd-update-utmp.service loaded active exited Record System Boot/Shutdown in UTMP
systemd-user-sessions.service loaded active exited Permit User Sessions
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user-runtime-dir@1000.service loaded active exited User Runtime Directory /run/user/1000
user@1000.service loaded active running User Manager for UID 1000
wpa_supplicant.service loaded active running WPA supplicant

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
57 loaded units listed.
Any suggestion?
 
Old 12-11-2023, 11:45 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,852

Rep: Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310
you need to remove "exited" services because they are not running at all. And check the remaining ones, if they really needed, one by one.
 
Old 12-11-2023, 12:08 PM   #3
maddy0
Member
 
Registered: May 2023
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by pan64 View Post
you need to remove "exited" services because they are not running at all. And check the remaining ones, if they really needed, one by one.
Hello, like this:alsa-utils, then ?
sudo service --status-all
[ - ] alsa-utils
[ - ] anacron
[ + ] apparmor
[ + ] bluetooth
[ - ] console-setup.sh
[ + ] cron
[ - ] cryptdisks
[ - ] cryptdisks-early
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ - ] gdomap
[ - ] hwclock.sh
[ - ] keyboard-setup.sh
[ + ] kmod
[ + ] lightdm
[ + ] lm-sensors
[ + ] networking
[ ? ] nvidia-persistenced
[ - ] plymouth
[ + ] plymouth-log
[ + ] procps
[ - ] pulseaudio-enable-autospawn
[ - ] rsync
[ - ] saned
[ - ] sddm
[ + ] smartmontools
[ - ] speech-dispatcher
[ - ] sudo
[ + ] udev
[ - ] x11-common
root@NoVax:/home/tony# sudo service alsa-utils status
○ alsa-utils.service
Loaded: masked (Reason: Unit alsa-utils.service is masked.)
Active: inactive (dead)

Last edited by maddy0; 12-11-2023 at 12:29 PM.
 
Old 12-11-2023, 01:56 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,705

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
Active exited are typically services that are only run once at startup like fsck or networking. plymouth-quit-wait.service is just the splash screen graphics at boot up. Are you using any bluetooth devices?
 
Old 12-11-2023, 04:39 PM   #5
maddy0
Member
 
Registered: May 2023
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by michaelk View Post
Active exited are typically services that are only run once at startup like fsck or networking. plymouth-quit-wait.service is just the splash screen graphics at boot up. Are you using any bluetooth devices?
Hello, yes sometines i use bluetooh.
Would you like to list, based on what I posted, a list of services to eliminate?
 
Old 12-11-2023, 05:31 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,705

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
Quote:
Would you like to list, based on what I posted, a list of services to eliminate?
Without knowing anything about your hardware, how it is configured, how you use the computer or asking a lot of "do you" questions then not really. About the only one that you may not absolutely need is ModemManager.

https://www.freedesktop.org/wiki/Software/ModemManager/

To see what services are taking the longest to run look at the output of the command
systemd-analyze blame

You can ignore plymouth-quit-wait.service. It basically just displays the logo while the system is booting.
 
1 members found this post helpful.
Old 12-11-2023, 05:56 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by michaelk View Post
Without knowing anything about your hardware, how it is configured, how you use the computer or asking a lot of "do you" questions then not really.
Yeah, what he said.

There is nothing really in that list that you wouldn't want as a desktop user.
 
1 members found this post helpful.
Old 12-12-2023, 12:35 AM   #8
maddy0
Member
 
Registered: May 2023
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by michaelk View Post
Without knowing anything about your hardware, how it is configured, how you use the computer or asking a lot of "do you" questions then not really. About the only one that you may not absolutely need is ModemManager.

https://www.freedesktop.org/wiki/Software/ModemManager/

To see what services are taking the longest to run look at the output of the command
systemd-analyze blame

You can ignore plymouth-quit-wait.service. It basically just displays the logo while the system is booting.
Well, nice to know thanks!
 
Old 01-18-2024, 11:51 AM   #9
niceflipper8827
Member
 
Registered: Sep 2023
Location: Washington State,USA
Distribution: ChromeOS,SlackWare,Android and Lubuntu
Posts: 68

Rep: Reputation: 2
Might I ask why the OP wants to literally gut the necessary functions of the desktop operating system. As this seems to me to be an exercise in pain and suffering.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Unistall Mozilla? Ely Linux - Newbie 1 04-09-2002 12:25 AM
unistall How to uninstall linux tarak4u Linux - Software 6 03-11-2002 12:38 PM
How do you unistall a program that you have install? Alinuxnoob Linux - Newbie 2 02-22-2002 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration