Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Can't open applications as su with Debian sarge
I just installed Debian 3.x (sarge). After I sign in as a user I can run apps just fine, but if I open a console and switch to super user (with su), I can't run any gui apps. This might be a permissions problem. I'm not sure. Here is the error message:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0.0
Thank you for your help!
xhost +
Hi
Try xhost+ as normal user and them execute with su, danger do it is a security hole
))
Sergio
Thank you! That is exactly what I wanted!
It's safer to do it with your hostname on the end eg. hostname enceladus :
xhost +enceladus
That way, only connections from enceladus would be accepted (I think that's how it works ^_^)
Veni, veni, venias
ne me mori facias!