LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   iptables stopping startx (https://www.linuxquestions.org/questions/linux-general-1/iptables-stopping-startx-99837/)

firstclass 10-03-2003 11:18 AM

iptables stopping startx
 
I trying to start the gui using startx. I have iptables running which seems to stop it from starting. Do I need to open some ports in the firewall so startx will work. I am running Redhat 9.0.

Thanks,
JD

lyle_s 10-03-2003 10:53 PM

You have to allow your computer to communicate with itself. Rules that look something like these at the beginning of the input and output chains might help:

iptables -A INPUT --protocol all --in-interface lo --source 127.0.0.1 --destination 127.0.0.1 -j ACCEPT

iptables -A OUTPUT --protocol all --out-interface lo --source 127.0.0.1 --destination 127.0.0.1 -j ACCEPT

Lyle

firstclass 10-06-2003 10:59 AM

Thanks
 
That worked like a charm. I figured it was something simple but nothing I tried seemed to work.

Thanks!


All times are GMT -5. The time now is 01:12 PM.