How do you export an x-session in Fedora

Bevan C. Bennett bevan at fulcrummicro.com
Thu Mar 4 23:46:27 UTC 2004


Bernard Lheureux wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 05 March 2004 00:04, Bevan C. Bennett wrote:
> And if the remote machine is an AIX or an Irix machine with no ssh daemon but 
> only telnet... export DISPLAY is often very usefull but doesn't work neither 
> for me wit my Fedora Core 1even with a "xhost +" that allow _ANY_ host to 
> remotely connect... What did I miss ???

You missed recompiling openssh for AIX and IRIX, obviously. ;)
(I just suggested it as another option that's always worked well for me.)

Seriously, it sounds like you may be getting blocked by the default 
firewall (iptables) rules on FC1. Try running 'tcpdump' on your local 
system when you try to send the X over.

If you see something like this it means that iptables is blocking the 
connection:

15:40:43.749828 odin.internal.avlsi.com.42972 > saladin.x11: S 
4124095808:4124095808(0) win 5840 <mss 1460,sackOK,timestamp 112582754 
0,nop,wscale 0> (DF)
15:40:43.749846 saladin > odin.internal.avlsi.com: icmp: host saladin 
unreachable - admin prohibited [tos 0xc0]

To enable incoming X11 through your local firewall, add the following 
rule into /etc/sysconfig/iptables and run '/etc/init.d/iptables restart'.

-A RH-Firewall-1-INPUT -p tcp 6000 -s IP_OF_TARGET_SYSTEM -j ACCEPT

Instead of the IP of a single system, you can also specify a network 
with something like '10.0.0.0/24' as the argument to '-s'.





More information about the users mailing list