5

Hey just installed XFCE on my Ubuntu 10.10 machine. But now I cannot log off or shutdown my computer. When I click on Log off or Shutdown nothing happens! If I again click on them a dialog box appears saying that :

Failed to receive a reply from the session manager

Session manager must be in idle state when requesting a shutdown

So how to fix this issue??

hingev
  • 6,596
Ravi
  • 1,384

3 Answers3

0

Simply try sudo shutdown -h now from your terminal.

Ringtail
  • 16,127
  • 2
    Do I always have to use this command? Can you tell another fix or why this is happening? – Ravi Mar 29 '12 at 09:13
  • Are there any other processes running while you are attempting to shut down the machine? If you want to restart, there is another instance of shutdown you can use ctrl+alt+T sudo shutdown -r now. – RSX-1327 Mar 29 '12 at 12:51
0

I found the solution here is the link :

http://ubuntuforums.org/showthread.php?t=1948916.

Thanks all for replying and answering the question.

Ringtail
  • 16,127
Ravi
  • 1,384
0

I got this problem simply because the ownership of the the $HOME directory was improperly set to root. It seems that the user must be able to write an an xfce4-session-* file to ~/.cache/sessions/. So attempts to shut down fail if this file is not present.

user247913
  • 11
  • 2