LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-03-2003, 11:18 AM   #1
firstclass
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
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
 
Old 10-03-2003, 10:53 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
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
 
Old 10-06-2003, 10:59 AM   #3
firstclass
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

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

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Browsing is stopping with iptables saugato Linux - Security 3 02-05-2005 11:41 AM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
shorewall/iptables stopping all network traffic scuzzman Mandriva 6 09-07-2004 04:10 PM
stopping ftp on certain internal clients with iptables dlm4444 Linux - Security 2 03-17-2004 02:33 AM
stopping pop-ups with iptables fuxored Linux - Security 13 06-27-2002 10:54 PM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration