Avahi and GDM problem

I didn’t blog about system issues for a little while. Not that I didn’t have any, it’s just the thesis combined with work that were keeping me busy. Since I solved one problem today, here’s information on what was it and how I solved it.

After upgrading to GNOME 2.16 on my Gentoo, the gdm logging-in stopped worked correctly. It would display the initial screen where I could enter my user name and password, but instead of starting GNOME, it would flick for a little while and return to the login screen.

It turned out that it’s because the Avahi daemon wasn’t started. Each time I tried to start the Avahi daemon, it would print this message:

avahi-daemon[3015]: cap_set_proc() failed: Operation not permitted

It turned out that I needed the “capability” kernel module.

# modprobe capability

After inserting this module, Avahi daemon started and GDM started working again. To ensure that this module is loaded every time the system starts up, I added a line:


to file:


Note: this file is Gentoo-specific. Other distributions will probably have different ways of configuring the auto-load modules.


Author: automatthias

You won't believe what a skeptic I am.

2 thoughts on “Avahi and GDM problem”

Comments are closed.