On a fresh/new openSUSE-12.1 install, with a new /home, I encountered a strange remote log out behaviour (when using vnc to access the desktop of this fresh install).
When I shut down (or restart) the desktop locally, the KDE4 shuts down properly, or restarts GNU/Linux properly.
But if I have taken over the desktop via vnc, and if I remotely shut down or restart via the KDE menu shutdown, the PC will then close X but have a diaglog box where one again needs to select shut down or restart.
This is the diaglog box that appears after the desktop closes:
The problem with this is when I use x11vnc to maintain her desktop, I can not shut down this way as I am kicked off of X (remote connection) prior to this last dialog box. Now I can then shut down/restart via konsole with ‘shutdown -r now’ or ‘shutdown -h now’ but if I shut down that way then any changes to the KDE desktop are not saved. Hence if I need to update her desktop, then she will need to do the shut down locally and not me remotely.
I can still ssh into her PC and force a reboot, but again I suspect any desktop settings will not have been saved. I’ve never observed this behaviour in previous GNU/Linux vnc testing on earlier openSUSE versions.
Again, note if locally from KDE she elects to reboot or shutdown directly, this second confirmation box does not occur. So it appears to be related to a vnc reboot/shutdown of KDE, forcing the local user to confirm the remote user’s action.
I encountered this during a fresh install of openSUSE-12.1 on my 86-year old mother’s PC: http://forums.opensuse.org/english/other-forums/community-fun/general-chit-chat/476059-installed-opensuse-12-1-86-year-old-mothers-pc.html