there is a SLES11 as KVM-Guest. Each time I select ‘Shutdown guest’ from KVM
menu, the server shows an message that the server wil be shutdown in 60
seconds. After this time I get an Window which asks for the root password.
I want the server shutdown via KVM without any questions.
Hi
YaST → /etc/sysconfig editor and look in the displaymanager section
for DISPLAYMANAGER_SHUTDOWN and change to all.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
malcolmlewis wrote on Dienstag, 2. Dezember 2014 14:51 in
suse.support.server.virtualization :
[color=blue]
On Tue 02 Dec 2014 01:37:52 PM CST, Bernd wrote:
[color=green]
Hi,
there is a SLES11 as KVM-Guest. Each time I select ‘Shutdown guest’
from KVM menu, the server shows an message that the server wil be
shutdown in 60 seconds. After this time I get an Window which asks for
the root password. I want the server shutdown via KVM without any
questions.
OK, I can use an ssh login and shutdown, but …
Any hints?
Bernd
PS: libvirtd-guestd is installed[/color]
Hi
YaST → /etc/sysconfig editor and look in the displaymanager section
for DISPLAYMANAGER_SHUTDOWN and change to all.
[/color]
Hi, sorry for the late response but there where other time consumers
Unfortunately, this is not the solution. It change not the behavior. I have
to edit the file /etc/polkit-default-privs.local and insert the lines:
This allow to shutdown a system running in runlevel 5 to shutdown.
BUT ONLY if there is somebody logged in on tty0. Wtf?
If tty0 shows the graphical login screen, I get a message window on tty0
that gdm-simple-greeter.desktop is still running. The dialog waits for a
manual choice and the shutdown stucks again :-{
/var/log/messages shows:
gnome-session[4042]: WARNING: Client ‘/org/gnome/SessionManager/Client4’ fa
iled to reply before timeout
gnome-session[4042]: WARNING: Unable to find desktop file ‘gdm-simple-greet
er.desktop’: Valid key file could not be found in search dirs
gnome-session[4042]: WARNING: Unable to find desktop file ‘gnome-gdm-simple
-greeter.desktop.desktop’: Valid key file could not be found in search dirs