[Bug 514056] New: kfmclient does not work when run by root

http://bugzilla.novell.com/show_bug.cgi?id=514056 Summary: kfmclient does not work when run by root Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: prusnak@novell.com QAContact: qa@suse.de Found By: --- When I run kfmclient under normal client it works: [prusnak@leira 0 ~] kfmclient openURL http://example.com opens the webpage in browser. When I switch to root and perform the same task it stalls: [root@leira 0 ~] kfmclient openURL http://example.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User prusnak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c1 --- Comment #1 from Pavol Rusnak <prusnak@novell.com> 2009-06-17 10:20:52 MDT --- Created an attachment (id=298733) --> (http://bugzilla.novell.com/attachment.cgi?id=298733) strace output -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User remur@gmx.net added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c2 Karsten König <remur@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |remur@gmx.net --- Comment #2 from Karsten König <remur@gmx.net> 2009-06-17 10:36:30 MDT --- Works for me on KDE4.2.4 (:KDE42 repo) with 'su -' to change to root, doesn't when using only 'su' how did you switch to root? 'su -' or plain 'su'? Using only 'su' won't allow any kde app to start, but it is also wrong to switch to root only with 'su' as it preservs the env variables if I am not mistaken (something you don't really want, this will make root the owner of your .kde settings...) Sounds to me like https://bugzilla.novell.com/show_bug.cgi?id=502058 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User llunak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c3 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ks@budostore.de --- Comment #3 from Lubos Lunak <llunak@novell.com> 2009-07-30 08:28:59 MDT --- *** Bug 502058 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=502058 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User llunak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c4 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llunak@novell.com AssignedTo|kde-maintainers@suse.de |thoenig@novell.com Summary|kfmclient does not work |dbus hangs when kfmclient |when run by root |is run by root --- Comment #4 from Lubos Lunak <llunak@novell.com> 2009-07-30 08:32:49 MDT --- According to strace it hangs in dbus. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User christiandehne@web.de added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c5 Christian Trippe <christiandehne@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christiandehne@web.de --- Comment #5 from Christian Trippe <christiandehne@web.de> 2009-07-30 08:51:07 MDT --- This might be related to the following upstream bugs: https://bugs.kde.org/show_bug.cgi?id=199209 https://bugs.kde.org/show_bug.cgi?id=165268 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=514056 User llunak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=514056#c6 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sboyce@blueyonder.co.uk --- Comment #6 from Lubos Lunak <llunak@novell.com> 2009-07-31 14:21:26 MDT --- *** Bug 487060 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=487060 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c7 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |UPSTREAM --- Comment #7 from Timo Hoenig <thoenig@novell.com> 2010-10-29 11:54:55 UTC --- -> Upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c8 Christian Trippe <ctrippe@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |malv_star@hotmail.com --- Comment #8 from Christian Trippe <ctrippe@gmx.net> 2010-12-13 19:48:43 UTC --- *** Bug 656210 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=656210 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c9 --- Comment #9 from Malvern Star <malv_star@hotmail.com> 2010-12-15 03:42:42 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? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c10 --- Comment #10 from Malvern Star <malv_star@hotmail.com> 2011-01-30 17:17:57 UTC --- Created an attachment (id=411146) --> (http://bugzilla.novell.com/attachment.cgi?id=411146) List of launch errors given by the system when starting applications as a root user. Bug is still present in 11.4 Milestone 6. I have attached launch feedback. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c11 Karsten König <remur@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |publio.escipion.el.africano | |@gmail.com --- Comment #11 from Karsten König <remur@gmx.net> 2011-02-24 16:44:34 UTC --- *** Bug 674745 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=674745 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c12 --- Comment #12 from Malvern Star <malv_star@hotmail.com> 2011-05-03 15:01:21 UTC --- I've mentioned this bug report here: https://bugs.kde.org/show_bug.cgi?id=199209 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c13 --- Comment #13 from Malvern Star <malv_star@hotmail.com> 2011-07-20 12:52:08 UTC --- This bug has also been cited upstream here: https://bugs.kde.org/show_bug.cgi?id=277249 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c14 Roger Luedecke <roger.luedecke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED CC| |roger.luedecke@gmail.com Resolution|UPSTREAM | --- Comment #14 from Roger Luedecke <roger.luedecke@gmail.com> 2011-11-26 08:46:19 PST --- This is not upstream. The problem is still occuring, and the related KDE.org bugreports indicate it is our problem. This is not fixed, and it is not upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c15 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|KDE4 Applications |KDE4 Applications Version|Factory |Milestone 2 AssignedTo|thoenig@novell.com |kde-maintainers@suse.de Product|openSUSE 11.2 |openSUSE 12.2 --- Comment #15 from Malvern Star <malv_star@hotmail.com> 2012-04-08 11:01:46 UTC --- I have tested this issue against 12.2 Milestone 2 and the problem is ongoing. Can anybody else confirm? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c16 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 12.2 --- Comment #16 from Malvern Star <malv_star@hotmail.com> 2012-04-12 10:26:12 UTC --- Fixed platform setting to 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c17 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Milestone 2 |Milestone 3 --- Comment #17 from Malvern Star <malv_star@hotmail.com> 2012-04-16 16:48:22 UTC --- 12.2 Milestone 3 still returns "session bus not found" to the user when issuing commands to kfmclient as root. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c18 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Milestone 3 |RC 2 --- Comment #18 from Malvern Star <malv_star@hotmail.com> 2012-08-06 05:37:55 UTC --- Still present in 12.2 RC2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c19 Marc collin <collinm@laboiteaprog.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |collinm@laboiteaprog.com --- Comment #19 from Marc collin <collinm@laboiteaprog.com> 2012-11-15 20:04:06 UTC --- in suse 12.2 and kde 4.9.3 in user session i do: su kfmclient openURL http://google.com klauncher(24105) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kfmclient(24101)/kdecore (KSycoca) KSycocaPrivate::checkVersion: Found version 209 , expecting version 210 or higher. kfmclient(24101)/kdecore (KSycoca) KSycocaPrivate::checkVersion: Found version 209 , expecting version 210 or higher. kfmclient(24101): No ksycoca4 database available! kfmclient(24101)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "KUriFilter/Plugin" not found kfmclient(24101): Session bus not found Abandon so that fail if i do su - kfmclient openURL http://google.com Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kbuildsycoca4 running... that work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=514056 https://bugzilla.novell.com/show_bug.cgi?id=514056#c20 Marc collin <collinm@laboiteaprog.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |INVALID --- Comment #20 from Marc collin <collinm@laboiteaprog.com> 2012-11-16 19:24:45 UTC --- for starting a kde graphic program, it should be started with su - or kdesu -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com