Bug 933 - do not run under root
: do not run under root
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2012-10-15 19:18 MSD by Vladimir Testov
Modified: 2012-10-18 12:28 MSD (History)
2 users (show)

See Also:
RPM Package: gwenview-4.9.2-1-rosa2012.1.x86_64
Bad POT generating:


Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Testov 2012-10-15 19:18:31 MSD
Description of problem:
gwenview crashes if run under root

[root@localhost user]# gwenview
gwenview(16878)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 
Aborted (core dumped)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. urpmi gwenview
2. su
3. gwenview
Comment 1 Vladimir Testov 2012-10-15 19:19:06 MSD
But it can be run. For example,

export $(dbus-launch); gwenview
Comment 2 Postnikov Dmitry 2012-10-18 12:25:33 MSD
You need enter for root as "su -", NOT "su". And all work.
Comment 3 Denis Silakov 2012-10-18 12:28:52 MSD
That's right. Single 'su' doesn't set necessary environment variables, so this behavior is expected. Use 'su -' instead.