A daemon is a program that runs in the background, waiting for events to occur and offering services. A good example is a webserver that waits for a request to deliver a page or a ssh server waiting for someone trying to log in. While these are full featured applications, there are daemons whose work is not that visible. A daemon which writes messages into a log file (e.g. syslog, metalog), a daemon which lowers your CPU frequency if the system has nothing to do.
Starting on Boot
A default install of Arch Linux will leave you with very few services (or daemons) enabled during boot. You can add or remove services by editing the daemon array line in your rc.conf file. It will initially look something like this:
DAEMONS=(syslog-ng network netfs crond)
They will start in the order you have them listed. You can disable one and keep it in the array by prefixing it with an exclamation mark (!). You can also have them start in the background by adding an at (@) symbol in front of it.
Manual Starting and Stopping
You can see what service start up scripts you have by looking in your /etc/rc.d/ directory. You can also manually start, stop, and restart them by issuing
They may also have other commands, check with the documentation.
You do not have to add any more services, if you do not feel the need. However, a typical desktop user will add at least CUPS and HAL. As you install new services, you will have to manually add them to the DAEMONS array in /etc/rc.conf. (The DAEMONS array is at the end of the default rc.conf file.)
Starting Daemons in Background
This is helpful for starting a service and letting the next service start before the previous one has finished. Which services to start background depends on your needs. Do not background anything you need immediately. Here is an example:
DAEMONS=(syslog-ng gensplash network netfs dbus hal @avahi-daemon @samba @crond @alsa @openntpd @cups @mpd)
Starting openntpd in the background could lead to synchronization errors between the actual time and the time stored on your computer. If you recognize an increasing time difference between your desktop clock and the actual time, try to start the openntpd daemon normally and not in the background.
ArchLinux Daemon Manager GUI
List of Daemons
(Here is a list of daemons, although it might not be complete. Please feel free to add any missing daemons here, in alphabetical order.)
|crond||Daemon to schedule and time events.|
|cups||Common UNIX Printing System daemon.|
|dbus||Message bus system for software communication.|
|fam||File Alteration Monitor.|
|hal||Hardware Abstraction Layer.|
|mpd||Music Player Daemon.|
|mysqld||Daemon to connect to MySQL databases.|
|netfs||Mounts network file systems.|
|openntpd||Network Time Protocol daemon (client and server).|
|rsyslogd||The latest version of a system logger.|
|samba||File and print services for Microsoft Windows clients.|
|sensors||Hardware (temperature, fans etc) monitoring.|
|sshd||Open SSH (secure shell) daemon.|
|stbd||This daemon was previously necessary for gnome-system-tools. However, as of gnome-tools 2.28, it is no longer needed.|
|syslogd||This was the older and basic system logger.|
|syslog-ng||System logger next generation.|