Bug 440808

Summary: "Run as" does not work using Wayland
Product: [I don't know] kde Reporter: Andreas Hartmann <andihartmann>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: major CC: kde, kdelibs-bugs, mvourlakos, nate, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Hartmann 2021-08-09 19:52:10 UTC
Try to start e.g. konsole with a different user compared to the actual active one.


STEPS TO REPRODUCE
1. Go to the extended properties to configure a different user to run konsole as.
2. Save the changes (different user)
3. Start the program. You are asked for the password of the new user.
4. After confirmation, nothing happens

OBSERVED RESULT
nothing happens


EXPECTED RESULT
konsole is started in another user kontext


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: Qt 5.15.2

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2021-08-11 09:14:03 UTC
This has nothing to do with kinit. Moving out.

As for the bug. This is the expected behaviour on wayland. One cannot run apps as another user on wayland. 

I shall file a bug to remove the GUI option from kmenuedit.
Comment 2 Andreas Hartmann 2021-08-11 18:28:27 UTC
"One cannot run apps as another user on wayland."
You are joking, aren't you? Even Windows is able to run programs as different users.