Bug 197964 - Fecdora Core 5 wont accept incoming X11 displays even when the firewall is turned off
Summary: Fecdora Core 5 wont accept incoming X11 displays even when the firewall is tu...
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2006-07-07 18:41 UTC by John Brearley
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2006-07-17 20:34:01 UTC

Attachments (Terms of Use)

Description John Brearley 2006-07-07 18:41:09 UTC
Description of problem:
I can easily send X11 displays from Fedora Core 5 to Red Hat 9, Solaris 10 or
Windows XP. I cant get Fedora Core 5 to accept an incoming X11 display under any
circumstance. I have totally turned off the firewall, enabled xhost for all
hosts, but still no luck.

Version-Release number of selected component (if applicable):

How reproducible:
On demand.

Steps to Reproduce:
0. log in as root
1. Turn off firewall on both PC
2. Do "xhost +"
3. Type: setenv DISPLAY
4. Type: gedit &
5. Or type: mozilla &
Actual results:
cannot open display: (null)

Expected results:
new window to appear on second PC

Additional info:
If I redirect the display to the same PC, the windows will not open.

Comment 1 Jason Vas Dias 2006-07-13 16:07:16 UTC
Please verify that your X server is not being run with the '-nolisten tcp' 
argument, as it is by default in some /etc/X11/xdm/*rc files:
 # ps -ef | grep nolisten
should print no output, and 
 # netstat -nautp | grep 6000
should show the X server listening on TCP port 6000 . 
If neither of the above conditions holds, this is NOTABUG - you need to enable
the X server to listen on port 6000 by removing the '-nolisten tcp' argument
from your /etc/X11/xdm/*rc script.

Comment 2 John Brearley 2006-07-14 17:30:36 UTC
You are correct that the -nolisten option is in effect. I modified the
/etc/X11/xdm/kdmrc file to comment out the entries for ServerArgsLocal and
ServerArgsRemote. After a reboot that didnt change the situation. I tried
setting them to "-listen tcp" with no luck. I cant find any man pages on the
topic. Could you tell me exactly how you turned on listening on your workstation?

Comment 3 John Brearley 2006-07-22 18:05:08 UTC
I eventually found that gdmsetup is used to configure the X11 server. On the
Security Tab, you need to turn off the "Deny TCP connections" option. Then you
add port 6000 to the firewall, reboot and you can receive incoming X11 displays. 

Note You need to log in before you can comment on or make changes to this bug.