Bug 473969 - Problem with konsole/su and starting applications
Summary: Problem with konsole/su and starting applications
Keywords:
Status: CLOSED DUPLICATE of bug 473465
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-01 16:55 UTC by Sammy
Modified: 2008-12-01 18:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-01 17:48:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sammy 2008-12-01 16:55:11 UTC
Using KDE-4.1.3 f9 + updates.

PROBLEM 1:
If I su to root from a konsole session and start a graphical application
it fails to open a window on my screen even though it is running.

PROBLEM 2:
If I start system-config-printer from the menus it starts fine. But if I start
it as above  from the konsole session. I get:
===============================================================================
raceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 5537, in <module>
    main(configure_printer, change_ppd, devid)
  File "/usr/share/system-config-printer/system-config-printer.py", line 5502, in main
    mainwindow = GUI(configure_printer, change_ppd, devid)
  File "/usr/share/system-config-printer/system-config-printer.py", line 576, in __init__
    self.populateList()
  File "/usr/share/system-config-printer/system-config-printer.py", line 975, in populateList
    default_emblem = theme.load_icon (emblem, w/2, 0)
gobject.GError: Icon 'emblem-default' not present in theme
================================================================================

It seems like konsole is not setting some environment variable.
THanks

Comment 1 Kevin Kofler 2008-12-01 17:48:08 UTC
You cannot launch graphical apps in su.

*** This bug has been marked as a duplicate of bug 473465 ***

Comment 2 Sammy 2008-12-01 18:30:54 UTC
since when? I always did this and can still do it for most.
For example I can run all my x-based applications or even
some gtk ones like "system-config-date" and they show up OK,
However, some do not. Examples are konqueror, firefox, and 
the one above.


Note You need to log in before you can comment on or make changes to this bug.