mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-09-07 15:05:55 +00:00
Update commands to be more exact
This commit is contained in:
parent
8381eade5c
commit
76e0266ce1
@ -28,7 +28,7 @@ sub run {
|
||||
# Open terminal and make a connection to the remote server.
|
||||
menu_launch_type("terminal");
|
||||
wait_still_screen(3);
|
||||
enter_cmd("xfreerdp /u:$rdpuser /p:$rdppass /v:$ip");
|
||||
enter_cmd("xfreerdp /u:$rdpuser /p:$rdppass /v:$ip /sec:tls");
|
||||
|
||||
# Check that a connection window has appeared.
|
||||
assert_screen("connection_window");
|
||||
|
@ -51,6 +51,7 @@ sub run {
|
||||
type_very_safely($rdppass);
|
||||
assert_and_click("gnome_reveil_password");
|
||||
wait_still_screen(3);
|
||||
assert_and_click("settings_button_back");
|
||||
send_key("alt-f4");
|
||||
|
||||
# RDP does not allow connections when the user is still logged in
|
||||
@ -64,7 +65,10 @@ sub run {
|
||||
|
||||
# Check that the service is running.
|
||||
$self->root_console(tty => 3);
|
||||
assert_script_run("ps aux | grep rdp", timeout => 10);
|
||||
if (script_run("systemctl status gnome-remote-desktop --no-pager")) {
|
||||
record_soft_failure("The Gnome Remote Desktop service is not running.");
|
||||
assert_script_run("systemctl enable --now gnome-remote-desktop");
|
||||
}
|
||||
|
||||
# Create mutex to synchronise with the children.
|
||||
mutex_create("kaermorhen_opened");
|
||||
|
Loading…
Reference in New Issue
Block a user