[Za-pm] runnig perl-GTK apps as root on SuSE
DIRK KONRAD
dirkvanderwalt at webmail.co.za
Tue May 4 04:06:36 CDT 2004
Hi,
I dont want to start a distro war, just need some quick
fix, if there may be one.
I've created a perl-GTK app that at some stage asks for the
root password and if OK it will start another app as
?root?.
This worked fine under all the mandrakes, but now I have to
make it work on Suse 9.0. What I get, when I try and run
the app as root, is the following:
-----------------------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Tue May 4 10:08:19 2004 Gtk-WARNING **: cannot open
display: :0.0 at
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Gtk.pm
line 68.
If I open my xserver with ?xhost +? , I can run it, thus
pointing to a lock down issue.
Anyone with a more permanent remedy?
_____________________________________________________________________
For super low premiums ,click here http://www.dialdirect.co.za/quote
More information about the Za-pm
mailing list