GNOME Bugzilla – Bug 608367
gnome-session: WARNING: Unable to restart system: Not Authorized
Last modified: 2010-03-09 02:35:16 UTC
In Ubuntu 9.10, when I select "restart" system, the system fails to restart. This error message is in daemon.log: "gnome-session[1910]: WARNING: Unable to restart system: Not Authorized" Sometimes it will restart, but when it fails to restart it instead goes to the user logon screen. This prevents me from being able to restart a remote system because the remote desktop (VNC) does not connect to the user logon screen.
(In reply to comment #0) > In Ubuntu 9.10, when I select "restart" system, the system fails to restart. > > This error message is in daemon.log: > "gnome-session[1910]: WARNING: Unable to restart system: Not Authorized" Are you presented with a password prompt when this happens?
No. It is at the Gnome user logon screen when I can click on the desired user to log on.
Apologies for the delay, I hadn't seen your reply :/ I'm not sure I understand, though: what is at the user logon screen? Also, are you saying that it "sometimes" happen for VNC users? Or that it sometimes happens, but when it does, it's always for VNC users?
It is the normal user logon screen. The same thing you see if you are at the desktop and choose "log off user". It sometimes happens. It has nothing to do with VNC users. The VNC users comment is because VNC users cannot see the logon screen. If the system fails to restart and instead just goes to the log on screen, then a VNC user can no longer connect to the computer. Someone at the computer has to manually tell the system to reboot at the log on screen before a VNC user will be able to connect to the computer again.
Thanks for the clarification. So it'd be nice to know why the user is not authorized to restart the system. Is there any chance more than one person was logged in?
Just one person. No remote users. The bug is that sometimes a restart request is denied because of the "user is not authorized" error, which Gnome then probably decides to do a log off instead. So, I can sit at the computer and select restart. Sometimes it restarts. Sometimes it just logs off. If I look at the error log when it failed to restart and just logged off instead, then I will see "user not authorized".
Hrm. In all cases, this will get fixed with bug 585614, since we won't do anything instead of logging out without telling the user in such a case. *** This bug has been marked as a duplicate of bug 585614 ***