Lxd + ubuntu cloudimage + kubuntu-desktop

I’m trying to install a desktop on a cloud image. I tryed this on lxd and kvm, too.
The installation actually works quite well, but when I try to trigger a reboot from kde, the screen goes black but nothing else happens.

I have already tryed to reboot with dbus via the cli: $ dbus-send --print-reply --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:2 int32:2

or

$ qdbus org.kde.Shutdown /Shutdown logoutAndReboot

and no reboot at all.

A reboot by

$ sudo reboot

works perfect.

The problem is on both, lxd and kvm, so i think it is maybe an cloudimage related problem.
Have anyone tryed this and found a solution?

Thanks Frank

Maybe something to do with the policykit config?

Hi,

thanks for your replay.
I checked polkit and everything is like the other systems.
Today i installed gnome and this works so i think it is no lxd or cloudimage problem at all.

Thanks Frank

For documentation:

Stgrabers was on the right way.
It’s a polkit configurations problem.
KDE needs extra configuration because I connected remotely.

Thank you Frank