MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed firestarter via urpmi - no probs
I noticed after I first installed it that I got this message -
"You have to decide whether to let iptables startup script
or firestarter to control your firewall, using chkconfig."
I ran chkconfig but I don't have a clue what to do with it to get firestarter to start!
when I try to start firestarter from the menu system I get the error message -
"A proper configuration for Firestarter was not found. If you are running Firestarter from the directory you built it in, run 'make install-data-local' to install a configuration, or simply 'make install' to install the whole program."
If I try to start it under root from a terminal I get this message -
"/usr/sbin/firestarter
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(firestarter:10425): Gtk-WARNING **: cannot open display:"
I am running Mandriva 10.1 and I am very new to Linux. Any help with this would be much appreciated.
I think mandrake uses shoerewall to manage iptables(the firewall) http://www.shorewall.net/
If you want to use firestarter you may need to stop shorewall + stop it from starting at boot. I would use shorewall.
You might find the services thing in Mandrake COntrol Centre->System easier to use to enable/disable services. Disable and stop the shorewall service, and try firestarter. If it doesn't work (as in the rules don't seem to have been applied) try also stopping/disabling the iptables service.
Quote:
If I try to start it under root from a terminal I get this message -
"/usr/sbin/firestarter
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(firestarter:10425): Gtk-WARNING **: cannot open display:"
That looks like you're trying to start it when X windows (the GUI) isn't running. Login to the GUI as you normally would then open a terminal from there (use the 'su' command to become root) and run firestarter. Alternatively if you just want to run something as root without needing to open a terminal go menu->Run Command and click 'Options' and select 'Run as a different user'.
re: shorewall, I don't see anything in "services" that I can stop that's called shorewall. Nothing is found when I run a "find / -name "shorewall" -print" as root either. Iptables is already stopped in the "Services" tool and it says firestarter is running. I still get the same error message -
"A proper configuration for Firestarter was not found. If you are running Firestarter from the directory you built it in, run 'make install-data-local' to install a configuration, or simply 'make install' to install the whole program."
I get this regardless of whether I open it via the menus or as suggested "su"ing then running it, or even using the Run Command and 'Options' and select 'Run as a different user'.
You have to run firestarter as root. The error message you're getting when you try to start it as root is due to the fact that root doesn't have access to connect to the X server.
Type "xhost +localhost" as your user account and then su root and it should work.
Not sure yet what security implications this has (if any) but it shouldn't be a big deal. Each time you reboot your machine it'll revert and you'll have to type it again.
man xhost will give more info on this command as will google.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.