LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-23-2003, 08:24 AM   #1
chris.hicks
Member
 
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,
Chris
 
Old 09-23-2003, 09:19 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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, 10:43 AM   #3
chris.hicks
Member
 
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.
 
  


Reply



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. qanopus Linux - Security 5 02-02-2006 10:11 AM
stopping the linux firewall for azureus jax8 Linux - Newbie 1 11-18-2004 03:26 AM
Can't open GUI of programs in remote machines by telnet and setting DISPLAY..... bioinfo Linux - Networking 2 10-02-2004 08:26 AM
is suse firewall stopping noflushd? mattl Linux - Software 1 05-26-2004 08:28 PM
stopping ftp on certain internal clients with iptables dlm4444 Linux - Security 2 03-17-2004 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration