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/LogoutActiveUser.py
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


_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/QJDLMATXSZ4M5Y5GDTPOLU7ZNIPPWMX4/

Reply via email to