Poweroff gives "Policy timeout is not valid"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi list, I get this error in a popup window when I try to shutdown ubuntu (7.10) pressing the power button: " 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. I searched the forums but I didn't find an answer, can anybody point me to some useful resource? thanks Daniele -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHsCipmwHrgfM1DIIRAsmSAKCJv/TGqx3a0jHstjJSug47WmFlhgCfTejo ffIUBViOMkYWENetxBAlLSY= =AOgr -----END PGP SIGNATURE----- -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Poweroff gives "Policy timeout is not valid"
On Mon, 11 Feb 2008 11:51:23 +0100
Daniele <d.conca@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 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Poweroff gives "Policy timeout is not valid"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi Peter, thank you so much for the explanation, that problem was driving me crazy :-) do you think there's no way to let that button work also in a "startx" session (maybe loading gnome.power-manager at sturtup and let it manage the poweroff)? It was just so handy but of course I don't want to run it as root. Thank you again in any case, best, Daniele -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHsIXMmwHrgfM1DIIRAh5iAJsFJIXg2KoTfhaUXndcco f1X40rtQCdHft0 qcVKh0I4LCnip1Yw7ymFWd4= =oRah -----END PGP SIGNATURE----- 2008/2/11, Peter Garrett <peter.garrett@optusnet.com.au>: > On Mon, 11 Feb 2008 11:51:23 +0100 > Daniele <d.conca@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 > > -- > ubuntu-users mailing list > ubuntu-users@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users > > > -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 05:36 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.