https://bugs.kde.org/show_bug.cgi?id=486918
Bug ID: 486918
Summary: Cannot logout after starting another XServer
Classification: Plasma
Product: plasmashell
Version: 6.0.4
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Session Management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
When starting a seconds X11 session (with the same user that started the kde
desktop) for example via startx then I cannot logout anymore from the plasma
desktop. Following error pops up in the journalctl:
ksmserver-logout-greeter[4361]: qt.qpa.xcb: could not connect to display :1
STEPS TO REPRODUCE
1. login to plasma and do a systemctl --user show-environment -> note down
DISPLAY and XAUTHORITY
2. startx from another tty as the same user
3. switch to plasma and do a systemctl --user show-environment -> env
variables have changed
4. try to logout or restart the computer -> nothing happens
OBSERVED RESULT
I cannot logout or restart
EXPECTED RESULT
I can logout or restart
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
ADDITIONAL INFORMATION
Maybe a easy fix is doing a systemctl --user import-environment XAUTHORITY
DISPLAY just after the user clicks on logout,restart etc. So that the
ksmserver-logout-greeter has no chance of using the wrong env variables.
--
You are receiving this mail because:
You are watching all bug changes.