Bug 472204 - Switch user is dangerous
Summary: Switch user is dangerous
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.27.6
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 22:56 UTC by Sergio
Modified: 2023-09-11 22:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2023-07-12 22:56:35 UTC
The switch user action is dangerous and can easily end up with a blocked desktop.

STEPS TO REPRODUCE
1. Log in to plasma via sddm 
2. Press switch user from the kde menu
3. Select the same user and enter the password

OBSERVED RESULT

The system tries to spawn a new session on a new virtual console with the same user as in an existing session. As a result the new session hangs during the startup and the old session locks up.

EXPECTED RESULT

The system should go back to the existing plasma session for the user, because there cannot be more than one plasma session working in parallel for the same user.

Furthermore, the swith user menu should have a "cancel" action.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.12-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4750HQ CPU @ 2.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Pro Graphics P5200
Manufacturer: Notebook
Product Name: W740SU
System Version: Not Applicable
Comment 1 Nate Graham 2023-09-11 22:27:42 UTC
This is a bug in SDDM which I believe is fixed in the 0.20 release.