在从11.04更新到11.10之后,我的机器中出现了一种有线行为:
关机GUI方法(包括重新引导)只会导致注销,而在登录屏幕上,关机或重新引导选项会做任何事情(如果您想知道,重启会出现在关机对话框中)。
唯一可以重新启动或关闭的方法是低端控制台sudo shutdown -h now或sudo reboot。这对我来说没问题,但对其他用户来说就不行了。
怎么解决这个问题?
当从我的桌面选择关机时,syslog输出是:
AptDaemon: INFO: Quitting due to inactivity
AptDaemon: INFO: Quitting was requested
CRON[5095]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
CRON[5094]: (root) MAIL (mailed 1 byte of output; but got status 0x00ff, #012)
kernel: [17027.614974] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
kernel: [17027.616510] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
kernel: [17027.618037] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
kernel: [17027.619557] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
kernel: [17027.621046] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
kernel: [17027.621051] psmouse.c: issuing reconnect request
acpid: client 1032[0:0] has disconnected
acpid: client connected from 1032[0:0]
acpid: 1 client rule loaded
gnome-session[1836]: WARNING: Unable to stop system: Authorization is required
acpid: client 1032[0:0] has disconnected
acpid: client connected from 6055[0:0]
acpid: 1 client rule loaded
rtkit-daemon[1313]: Successfully made thread 6134 of process 6134 (n/a) owned by '119' high priority at nice level -11.
rtkit-daemon[1313]: Supervising 4 threads of 2 processes of 2 users.
rtkit-daemon[1313]: Successfully made thread 6139 of process 6134 (n/a) owned by '119' RT at priority 5.
rtkit-daemon[1313]: Supervising 5 threads of 2 processes of 2 users.
rtkit-daemon[1313]: Successfully made thread 6140 of process 6134 (n/a) owned by '119' RT at priority 5.
rtkit-daemon[1313]: Supervising 6 threads of 2 processes of 2 users.我怀疑gnome-session[1836]: WARNING: Unable to stop system: Authorization is required行与这个问题有关。
当从登录屏幕中选择shutdown时,输出与指向的行相同。这是输出:
gnome-session[1836]: WARNING: Unable to stop system: Authorization is required
acpid: client 1032[0:0] has disconnected
acpid: client connected from 6055[0:0]
acpid: 1 client rule loaded
rtkit-daemon[1313]: Successfully made thread 6134 of process 6134 (n/a) owned by '119' high priority at nice level -11.
rtkit-daemon[1313]: Supervising 4 threads of 2 processes of 2 users.
rtkit-daemon[1313]: Successfully made thread 6139 of process 6134 (n/a) owned by '119' RT at priority 5.
rtkit-daemon[1313]: Supervising 5 threads of 2 processes of 2 users.
rtkit-daemon[1313]: Successfully made thread 6140 of process 6134 (n/a) owned by '119' RT at priority 5.
rtkit-daemon[1313]: Supervising 6 threads of 2 processes of 2 users.
acpid: client 6055[0:0] has disconnected
acpid: client connected from 6055[0:0]
acpid: 1 client rule loaded发布于 2011-11-01 03:40:18
你们安装了吗?这就是我的罪魁祸首。这是它的bug票证:https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/670289
发布于 2011-11-05 07:35:22
我也有同样的问题,但对我来说,它是通过以下解决方案解决的。也许它也能帮助你的系统。https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792/comments/24
还请参见在:https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792中的其余部分
发布于 2012-05-08 21:12:06
我也遇到了同样的问题(在我使用Gentoo的时候也是一个类似的问题),这个问题对我来说是有效的:https://www.grendelman.net/wp/policykit-adventures/。在12.04进行了测试,问题就解决了。不过,我会用它作为临时修复,因为有东西告诉我,当每个人都可以在不检查其他运行会话的情况下重新启动主机时,这个错误并不是那么安全。在我的例子中,这个bug只是在我在VTs上运行其他会话时,或者当有其他人通过SSH登录时才出现的。无论如何,希望这个bug能为您修复。享受吧:
https://askubuntu.com/questions/71506
复制相似问题