Hello,
I am experimenting with the feature ‘console disconnect action’ . It provides four actions
on disconnect.
Lock screen - This is the default option. For all Linux machines and for Windows
desktops this locks the currently active user session. For Windows servers, this locks the
desktop and the currently active user.
Logout user - For all Linux machines and Windows desktops, this logs out the currently
active user session. For Windows servers, the desktop and the currently active user are
logged out.
Shutdown virtual machine - Initiates a graceful virtual machine shutdown.
Reboot virtual machine - Initiates a graceful virtual machine reboot.
In my testing, the shutdown and reboot options worked. However, lock screen and logout
user option did not work for me.
I looked around and found out that qemu-guest agent has no command to log off a user. I
see ovirt-guest-agent has some code to logout user as described below -
https://github.com/oVirt/ovirt-guest-agent/blob/master/ovirt-guest-agent/...
However, it turns out that the ovirt-guest-agent is not supported anymore. So I am
wondering how the ‘lock screen’ and ‘logout user’ is implemented and whether it is still
supported/supposed to work?
Thanks,
Shubha