Bug 309233

Summary: unable to run kde applications from dolphin as root
Product: [Applications] dolphin Reporter: Simple <simplew8>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Simple 2012-10-30 03:07:10 UTC
Unable to run kde applications from dolphin as root.

Doesnt make any difference even if i previous run in console 'xhost +' to allow clients to connect from any host, i always end in the same sittuation of not being able to run any kde application from dolphin root, and Ubuntu already sets xhost at /etc/X11/Xsession.d/35x11-common_xhost-local...

But if in dolphin root i select to run for example gedit (with the right click), it does run, the problem its only when trying to kde apps.


Reproducible: Always

Steps to Reproduce:
Start dolphin as root, being in a terminal and entering:
su -
dolphin

or instead using kdesudo or kdesu, the result its the same, in dolphin as root its nor possible to start a kde application, being from double click or select another kde app with the right click.
Actual Results:  
Already described

Expected Results:  
Running dolphin as root should allow to run other kde applications.
Comment 1 Jekyll Wu 2012-10-30 10:40:01 UTC
"kdesu dolphin" works fine for me
Comment 2 Simple 2012-10-30 12:55:54 UTC
Are you running Ubuntu 12.10 with KDE.4.9.2 ?
Comment 3 Simple 2012-11-01 18:37:32 UTC
This problem is caused by setting sudo in /etc/sudoers with NOPASSWD.

After i have removed put again as:
%sudo	ALL=(ALL:ALL) ALL

it was possible again toooooo runs KDE apps from dolphin root, but i dont know from where the problem really comes.
Comment 4 Simple 2012-11-01 22:23:39 UTC
This is a problem related with kdesudo which is not a kde application