Comment 5 for bug 51227

Revision history for this message
Mathieu Pillard (diox) wrote : Re: cannot restart, logout,shutdown

I had this problem once when the lookback interface wasn't up for some reason. Just in case it's your problem here, here is a quick list of things to check:
* ping 127.0.0.1
* ping yourhostname
* ifconfig -a | grep "UP LOOPBACK RUNNING"

If any of these fail, or don't show a result, you have a problem. Check your /etc/hosts file (is your hostname correctly setup there if it needs to?), check your /etc/network/interfaces (got a "lo" entry? is it set to "auto" and "inet loopback" ?)

Also, another symptom will be that stracing "gnome-session-save --kill" will block on some network stuff with 127.0.0.1 or something similar.