Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 452948 - Impossible to launch any kde4 program with su.
Summary: Impossible to launch any kde4 program with su.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-26 07:55 UTC by Cepreu
Modified: 2008-06-26 23:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-26 17:59:45 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.