Bug 240886 - App that was "Run as different user" is launched as current user by session management
Summary: App that was "Run as different user" is launched as current user by session m...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.27.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 12:52 UTC by RalphB
Modified: 2023-05-17 17:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdesude error message (23.61 KB, image/png)
2010-06-06 12:52 UTC, RalphB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RalphB 2010-06-06 12:52:38 UTC
Created attachment 47735 [details]
kdesude error message

Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

I've created a menu entry that executes a shell wrapper script, which in turn launches an application (Firefox). The menu entry specifies that the script be "run as different user". All this works perfectly.

When I log in, however, session management is unable to restore the previous session if Firefox has been running as different user. Instead, Firefox is launched as the logged in user, and kdesude reports an error (see attachment).


Reproducible: Always

Steps to Reproduce:
Create menu entry as above. Start application as different user via shell script, log out, log in.

Actual Results:  
Application is run as logged in user, kdesude reports error.

Expected Results:  
Restart shell script as different user. Alternatively, restart application as different user.
Comment 1 Myriam Schweingruber 2012-09-08 12:34:29 UTC
I assume this is still valid for KDE 4.9.x?
Comment 2 RalphB 2012-09-08 13:42:22 UTC
Well, it certainly is for 4.8.4 (Kubuntu 12.04) ...
Comment 3 Andrew Crouthamel 2018-11-09 00:52:25 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-18 03:21:27 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 RalphB 2018-11-18 10:00:37 UTC
The error is still present on Kubuntu 18.04, so it is NOT "fixed".
Comment 6 Justin Zobel 2022-12-23 00:28:07 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 RalphB 2022-12-26 09:33:09 UTC
Yes, this issue is still relevant.

While I no longer use Run as ... functionality of KDE, I still start some programs with a different user.

The next time I logon to my session, all of those programs run under the logon user, not the original user.