-
Notifications
You must be signed in to change notification settings - Fork 359
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
RHEL-10: Do not crash if RDP is selected after regular GUI startup failed #6037
Open
jkonecny12
wants to merge
2
commits into
rhinstaller:rhel-10
Choose a base branch
from
jkonecny12:rhel-10-rdp-credentials-fetching
base: rhel-10
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
RHEL-10: Do not crash if RDP is selected after regular GUI startup failed #6037
jkonecny12
wants to merge
2
commits into
rhinstaller:rhel-10
from
jkonecny12:rhel-10-rdp-credentials-fetching
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…26410) The ask_rd_question() function returns not only the credentials tuple, but also the "use remote desktop" flag. We correctly handled that in the regular case where we ask for user password if user selected RDP instead of text mode. But we missed that in the harder to test case where RDP is suggested as an option to the user after regular locally running GUI startup fails. Oops! :P So handle the extra value and avoid the crash. :) Resolves: rhbz#2326410 Resolves: RHEL-69940 (cherry picked from commit d550aa1)
The ask rdp questions dialog methods in display.py were setting display mode and flags which wasn't visible before. Let's make it obvious in the code so we don't forget about such an issue as before. (cherry picked from commit 4863cc6) Related: RHEL-69940
/kickstart-test --testtype smoke |
/kickstart-test ui_rdp |
/kickstart-test --testtype coverage |
Tested locally - works as expected. |
jkonecny12
added
the
ready to merge
The PR can be merged. It should have all BZ flags required for releasing set (usually release+).
label
Dec 4, 2024
Setting ready_to_merge even thought it needs review. |
M4rtinK
approved these changes
Dec 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready to merge
The PR can be merged. It should have all BZ flags required for releasing set (usually release+).
rhel-10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
ask_rd_question()
function returns not only the credentials tuple, but also the "use remote desktop" flag.We correctly handled that in the regular case where we ask for user password if user selected RDP instead of text mode.
But we missed that in the harder to test case where RDP is suggested as an option to the user after regular locally running GUI startup fails. Oops! :P
So handle the extra value and avoid the crash. :)
Backport of #5999
Resolves: RHEL-69940