Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RDP var contains string instead of bool #5994

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pyanaconda/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ def setup_display(anaconda, options):
anaconda.display_mode = constants.DisplayModes.GUI
rdp_creds = rdp_credentials(options.rdp_username, options.rdp_password)
# note if we have both set
rdp_credentials_sufficient = options.rdp_username and options.rdp_password
if options.rdp_username and options.rdp_password:
rdp_credentials_sufficient = True
else:
rdp_credentials_sufficient = False

# check if GUI without WebUI
startup_utils.fallback_to_tui_if_gtk_ui_is_not_available(anaconda)
Expand Down