X not accepting remote system connections
Just setup a fedora core 4 system and I am having issues with it not accepting X connections from remote systems.
An example of what was done is: On the receiving system: xhost +192.168.10.194 On the remote system xterm --display 192.168.10.8:0.0 I get an error message of: "Error: Can't open display: 192.168.10.8:0.0" That is all I should have to do for everything to work. I have even run xhost + to no avail. I am using KDE 3.4 as the desktop. On a side note anyone else have an issue of the install not intalling inetd or xinetd? Thanks |
try with
"192.168.10.8:0" instead of "192.168.10.8:0.0" |
Gave it a try but no luck.
I ran an strace of the xterm command and received the following output over and over again. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 3 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 close(3) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("192.168.10.8")}, 16) = -1 ECONNREFUSED (Connection refused) close(3) Could there be something that needs to be changed on FC4 for X to allow remote windowing? |
Is your local firewall blocking port 6000?
|
Firewall is off. Turned it off during install.
|
Assuming you used ssh to access the remote system, modify /etc/ssh/ssh_config on the local system and add
ForwardX11 yes |
Quote:
X11Forwarding yes Sorry for leaving that out. |
Would like to go with that solution but unfortunatly some of the systems I work with don't have ssh and it is not available for the platform. (too old)
The computers are running X11R3. The application that is running on them does not work on a newer version of the os. Thanks for the suggestion though. |
Perhaps the X server on the host is being launched with the '-nolisten tcp' option, in which case no connections will accepted. You should be able to see if this is the case with something like 'ps -aux | grep X'
HTH Mad. |
I think madluther hit on it. Try modifying /etc/X11/gdm/gdm.conf. Find the line that contains the string "Disallow" and add the following line after it:
DisallowTCP=false You'll need to restart X to make the change take effect. |
That is it. The nolisten option is set on the command line.
Thanks |
All times are GMT -5. The time now is 07:59 AM. |