You are not logged in.

1

Wednesday, April 14th 2004, 5:39am

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!

2

Wednesday, April 14th 2004, 8:10am

xhost +

Hi

Try xhost+ as normal user and them execute with su, danger do it is a security hole :)))

Sergio
Salu2 a to2

My Blog

3

Wednesday, April 14th 2004, 5:00pm

Thank you! That is exactly what I wanted!

Posts: 8

Location: County Durham, UK

Occupation: Clothing Designer

  • Send private message

4

Tuesday, August 3rd 2004, 12:02am

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!