Re: cant run gtk programs when on root
- From: deepspace <dsp edu physics uoc gr>
- To: hylke linux net
- Cc: gtk-list gnome org
- Subject: Re: cant run gtk programs when on root
- Date: Mon, 16 Aug 2004 05:20:35 +0000
Hylke Donker wrote:
This is not a gtk problem , it's because your X server doesn't permit
connection from your machine
try as root " xhost + xxx.xxx.xxx.xxx " where xxx.xxx.xxx.xxx is your
ip address .. if you are not on a network then ip=127.0.0.1 (your
loopback interface) .
Finally you can ssh root your machine and run the app from there , if
your /etc/ssh/ssh.conf has AllowX11Forwarding=Yes
I can't start a GTK program when im logged in to my root account.
When i try to start a GTK program under root it gives the following error output:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0.0
Im using slackware 10.0, and i've downloaded GTK a couple of weaks a go.
I hope you can help me.
Im programmed to program.
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
gtk-list mailing list
gtk-list gnome org
] [Thread Prev