Poweroff gives "Policy timeout is not valid"
Peter Garrett
peter.garrett at optusnet.com.au
Mon Feb 11 17:08:05 UTC 2008
On Mon, 11 Feb 2008 11:51:23 +0100
Daniele <d.conca at gmail.com> wrote:
> " Action forbidden
> Policy timeout is not valid. Please wait a few seconds and try again. "
>
> If I wait any amount of time I get the same error.
> This only happens if I boot to the shell and start the xserver
> manually with startx. If I login through gdm and then press the power
> button the system shutdown works correctly.
> I have the same issue using both Gnome and Xfce.
This is because the shutdown is dependent on running gdm - gdm runs as
root, and the shutdown buttons and dialogs in such a session have root
privileges. Thus, when you shutdown from a session started from gdm, the
shutdown comand runs.
If you start X from a tty ( tty1-6), you are running as your user - (unless
you startx as root, which is *not* a good idea... for all kinds of reasons)
To shutdown or reboot from such a "startx" session, you can for example
open a terminal and run
sudo shutdown -h now ( to halt the system) or
sudo shutdown -r now ( to reboot)
sudo halt or
sudo reboot
also should work.
Peter
--
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080212/69f837af/attachment.sig>
More information about the ubuntu-users
mailing list