Just a question first, can you try to shut down by right clicking, instead off doing it
into the panel and have you tryed for example reboot in commandline do you still have the same problem then??