Bug 132295 - New Root Shell responds 'Gtk-WARNING **: cannot open display:' at any graph. app. launch command
Summary: New Root Shell responds 'Gtk-WARNING **: cannot open display:' at any graph. ...
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 11:50 UTC by Amed
Modified: 2006-08-13 23:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amed 2006-08-12 11:50:03 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.0.3; g++ same v. 
OS:                Linux

I start konsole like user, then I launch New Root Session; from this any command to lauch a graphical application don't work: konsole responds like above or '** CRITICAL **: Unable to open display'. 
Rem. that the same operation like normal user works fine. 
It works fine even  as root directly.
Note that this appens with xfce DM (I don't know if its important or not, but it is 4 me).
I think the problem is Konsole tries 2 open a display that can't be open when in user DM.
Comment 1 Robert Knight 2006-08-13 23:09:41 UTC
This has nothing to do with Konsole.  It is related to the X server's security mechanism:

See the section "Accessing the X Server" on this page: http://www.linux-knowledge-portal.de/en/content.php?&content/security/mightyuser.html&print