Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-23-2003, 09:24 AM   #1
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
Medium firewall setting is stopping X display for remote clients

I am a Linux newbie. I have just installed my system with the 'medium' security setting. I am wanting to run a program on an X client and display the graphics on my X server. It seems that my security setting is stopping this. I do not want to run without a firewall. I would be grateful if somebody could tell me how to customise the firewall so that I can connect successfully to an X client.

Many thanks,
Old 09-23-2003, 10:19 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I would make your own firewall settings so you know what they are doing. Basically:
# Remove old rules
iptables -F
# Drop connections by default
iptables -P INOUT DROP
# Accept X connections
iptables -A INPUT -p tcp --dport 6000 -j ACCEPT
# Accept other connections eg http
iptables -A INPUT -p tcp --dport 80 -j ACCEPT

You may also want to run "xhost" to see the policies for accepting X connections.
Old 09-23-2003, 11:43 AM   #3
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
I have been told another solution that works fine.
Simply ssh onto the client and make sure that the DISPLAY variable is not set in the .cshrc or .login file on the client.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting-up an xserver connection with remote host through local firewall. schatoor Linux - Security 5 02-02-2006 11:11 AM
stopping the linux firewall for azureus jax8 Linux - Newbie 1 11-18-2004 04:26 AM
Can't open GUI of programs in remote machines by telnet and setting DISPLAY..... bioinfo Linux - Networking 2 10-02-2004 09:26 AM
is suse firewall stopping noflushd? mattl Linux - Software 1 05-26-2004 09:28 PM
stopping ftp on certain internal clients with iptables dlm4444 Linux - Security 2 03-17-2004 03:33 AM > Forums > Linux Forums > Linux - Software

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

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