Bug 933

Summary: do not run under root
Product: [ROSA-based products] ROSA Fresh Reporter: Vladimir Testov <vladimir.testov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED INVALID QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: denis.silakov, dmitry.postnikov
Version: Fresh   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: gwenview-4.9.2-1-rosa2012.1.x86_64 ISO-related:
Bad POT generating: Upstream:

Description Vladimir Testov 2012-10-15 19:18:31 MSK
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):
gwenview-4.9.2-1-rosa2012.1.x86_64

How reproducible:
always

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

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