1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-09-01 03:55:53 +00:00

Unlock locked screen

This commit is contained in:
Lukáš Růžička 2025-08-04 16:54:25 +02:00 committed by Adam Williamson
parent 69ffa7920f
commit e7c9663ba0

View File

@ -25,6 +25,13 @@ sub run {
# Wait until the RDP server is ready and lock parallel connection.
mutex_lock("kaermorhen_opened");
# Unlock the session if it has locked in the meantime.
if (check_screen("panel_screen_locked")) {
send_key("up");
sleep(1);
type_very_safely("$password\n");
}
# Open terminal and make a connection to the remote server.
menu_launch_type("terminal");
wait_still_screen(3);