Bug 435130

Summary: when i run a command to open dolphin as root and then open konsole nornaly konsole opens as root
Product: [I don't know] kde Reporter: 7d0slft1c
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: alois1, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description 7d0slft1c 2021-03-29 20:26:32 UTC
STEPS TO REPRODUCE
1.pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin
2.close dolphin  
3. open konsole

OBSERVED RESULT
konsole opens as root

EXPECTED RESULT
konsole opens as the user

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: ubuntu

KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
i think other programs are affected such as krunner
Comment 1 Alois Wohlschlager 2021-03-30 07:22:13 UTC
Sounds an awful lot like https://bugs.kde.org/show_bug.cgi?id=423059 . Just to make sure, are you running Konsole using a keyboard shortcut?
Comment 2 7d0slft1c 2021-03-31 16:10:57 UTC
also with i launched konsole with ctrl+alt+t it has a ppid of 1 aka systemd
Comment 3 Alois Wohlschlager 2021-03-31 16:12:21 UTC

*** This bug has been marked as a duplicate of bug 423059 ***
Comment 4 7d0slft1c 2021-03-31 16:28:17 UTC
no do not think this is a duplicate
Comment 5 Alois Wohlschlager 2021-03-31 16:46:16 UTC
Why do you think this is a different issue? Does kglobalaccel not run as root in your setup?
Comment 6 Nate Graham 2021-03-31 16:49:10 UTC
It does look like the same thing to me too. Please re-test after you update to Frameworks 5.81, and re-open if it's still happens.

*** This bug has been marked as a duplicate of bug 423059 ***