Bug 452948

Summary: Impossible to launch any kde4 program with su.
Product: [Fedora] Fedora Reporter: Cepreu <cepreu.mail>
Component: kdelibsAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: kevin, ltinkl, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-26 17:59:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cepreu 2008-06-26 07:55:32 UTC
Description of problem:
Impossible to launch any kde4 program with su. But it work with sudo.

Version-Release number of selected component (if applicable):
kdebase-4.0.5-3.fc9.i386

Actual results:
[cepreu@localhost ~]$ su
Пароль:
[root@localhost cepreu]# doplhin
bash: doplhin: команда не найдена
[root@localhost cepreu]# dolphin
^C
[root@localhost cepreu]# konqueror
^C
[root@localhost cepreu]# ksnapshot
^C
[root@localhost cepreu]# sudo dolphin
(Soprano) Error occured in thread 3086346016 :
"org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.NepomukServer was
not provided by any .service files"
(Soprano) Error occured in thread 3086346016 :
"org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.NepomukServer was
not provided by any .service files"
[root@localhost cepreu]# sudo konqueror
fillBookmarkBar "Fedora Bookmarks"
bm is  "Release Notes"
bm is  "Fedora Project"
bm is  "Red Hat"
bm is  "Free Content"
[root@localhost cepreu]# sudo ksnapshot
[root@localhost cepreu]# 

Expected results:
just work...

Additional info:
Before Ctrl+C i wait about 30 sec. Nothing...

Comment 1 Kevin Kofler 2008-06-26 17:59:45 UTC
Running KDE apps with su or sudo can lead to X11 access permission problems 
(not sure why sudo works for you and su doesn't), try using kdesu, e.g.:
/usr/libexec/kde4/kdesu dolphin
(I'm not sure why KDE 4 hides kdesu in libexec. :-( It's a nice tool to run 
directly.)

Comment 2 Cepreu 2008-06-26 23:09:51 UTC
Ok, but with kdesu i also have problems. look at
https://bugzilla.redhat.com/show_bug.cgi?id=453055.