LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Error with firestarter. (https://www.linuxquestions.org/questions/linux-security-4/error-with-firestarter-206481/)

TuxToaster 07-18-2004 12:46 AM

Error with firestarter.
 
I opned a shell and logged in as root but when i type firestarter i get this.

root@User:/home/User# firestarter
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firestarter:887): Gtk-WARNING **: cannot open display:

Any idea how to fix this ?

TuxToaster 07-18-2004 01:54 AM

Fixed error.

Capt_Caveman 07-18-2004 02:18 AM

If you post your solution, you might help out someone who has a similar problem in the future.

frob23 07-18-2004 07:28 AM

Although I am not positive and I would appreciate the original poster posting their answer... I have run into the problem myself in the past and found the following works:

xhost +127.0.0.1

You must run this from the local machine. Usually you see this only when trying to open a window on a remote box or with some programs that don't play nice. Sorry, I don't know exactly what these programs are doing but I suspect they are changing their effective user id too early. :D

sandman 07-29-2004 09:27 PM

Here is how you solve that problem

As user type: $xhost +
As root: #DISPLAY=localhost:0.0

To go back to user do it inverse.


All times are GMT -5. The time now is 11:26 PM.