Bug 656210

Summary: Some Applications Cannot Be Launched From Command-Line As Super-User
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User xs3PtXj4XH <forgotten_xs3PtXj4XH>
Component: KDE4 ApplicationsAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ctrippe
Version: Milestone 4 of 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Kwrite Launch Feedback using 'su -'

Description Forgotten User xs3PtXj4XH 2010-11-29 06:35:41 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12

Attempting to launch certain applications from the command-line fails with no feedback or error messages produced.  This seems to occur only as super-user.  Applications that have so far been noted as affected are Kwrite and Dolphin, whereas Frozen-Bubble works fine.  Details for reproducing follow.

Reproducible: Always

Steps to Reproduce:
1.  Start Konsole as a regular user
2.  Become super-user using the "su" command
3.  Attempt to run Kwrite by entering "kwrite" on the command-line

(alternatively, you could attempt to run another application like Dolphin)
Actual Results:  
The command appears to run and finish, but no application appears on the screen and no feedback is given on the command-line.  The prompt re-appears to wait for the next command after less than a second.  Kwrite does not even appear to start (as distinct from a start-and-crash).

Expected Results:  
The Kwrite window appears on the screen, running with root permissions.
Comment 1 Christian Trippe 2010-11-29 19:23:42 UTC
Does it work if you use 'su -' instead of 'su'?
Comment 2 Forgotten User xs3PtXj4XH 2010-12-13 15:02:08 UTC
Created attachment 404553 [details]
Kwrite Launch Feedback using 'su -'
Comment 3 Forgotten User xs3PtXj4XH 2010-12-13 15:07:08 UTC
Using 'su -' instead of 'su' does indeed allow Kwrite to launch.  I have attached the launch feedback to this bug report.  I have also confirmed that it is present in M4.
Comment 4 Christian Trippe 2010-12-13 19:48:42 UTC
Ok it's a dup (and an upstream bug).

*** This bug has been marked as a duplicate of bug 514056 ***
Comment 5 Forgotten User xs3PtXj4XH 2010-12-15 03:43:37 UTC
Hold on, how come I didn't get this behaviour until 11.4 M4 and never once
before?  If it was an upstream bug, shouldn't it have shown up before now, and
in every release since it was reported?