Bug 373478 - Dolphin does not run if launched via sudo
Summary: Dolphin does not run if launched via sudo
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.08.3
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-09 20:23 UTC by Buck Shockley
Modified: 2016-12-10 17:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buck Shockley 2016-12-09 20:23:30 UTC
Running the command 'sudo dolphin' in Konsole will print out the following:

[buck@archie ~]$ sudo dolphin
[sudo] password for buck: 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"

This is 100% reproducible. Running printed command (export $(dbus-launch)) does nothing. Opening with KDE su results in the same problem.
Comment 1 Elvis Angelaccio 2016-12-10 15:13:57 UTC
Have you tried with 'kdesu dbus-launch dolphin'?
Comment 2 Buck Shockley 2016-12-10 16:07:16 UTC
(In reply to Elvis Angelaccio from comment #1)
> Have you tried with 'kdesu dbus-launch dolphin'?

Yes, that command works.