Bug 452948 - Impossible to launch any kde4 program with su.
Impossible to launch any kde4 program with su.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: kdelibs (Show other bugs)
9
All Linux
low Severity medium
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-26 03:55 EDT by Cepreu
Modified: 2008-06-26 19:09 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-26 13:59:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Cepreu 2008-06-26 03:55:32 EDT
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 13:59:45 EDT
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 19:09:51 EDT
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.