You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
To reproduce
Create VM with console disconnect action set to logout.
Start VM and install qemu-guest-agent
Start the VM and connect to the console
Disconnect the console. Connect to the console again. User is logged to previous session
Expected behavior
When console is disconnected, user is logged out
The text was updated successfully, but these errors were encountered:
Affected version
oVirt-4.5.4-1
Describe the bug
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?
To reproduce
Expected behavior
When console is disconnected, user is logged out
The text was updated successfully, but these errors were encountered: