Switch to tty7 instead of calling loginctl activate#254
Switch to tty7 instead of calling loginctl activate#254marmarek merged 1 commit intoQubesOS:mainfrom
Conversation
loginctl activate was a workaround to activate the session, but the proper solution is to activate tty on which the session is running. More importantly, this approach does not relies on polkit to allow loginctl call. Do this by calling VT_ACTIVATE ioctl on stdin - which is a tty. Fixes QubesOS/qubes-issues#10422
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025112313-4.3&flavor=pull-requests Test run included the following:
Upload failures
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025111104-4.3&flavor=update
Failed tests25 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/158999#dependencies 17 fixed
Unstable testsDetailsPerformance TestsPerformance degradation:21 performance degradations
Remaining performance tests:85 tests
|
loginctl activate was a workaround to activate the session, but the
proper solution is to activate tty on which the session is running.
More importantly, this approach does not relies on polkit to allow
loginctl call.
Do this by calling VT_ACTIVATE ioctl on stdin - which is a tty.
Fixes QubesOS/qubes-issues#10422