On Fri, Nov 07, 2003 at 08:37:00PM +0800, Stephen Liu wrote: > Hi Thomas, > > >>SSH already started on both boxes. > >>$ ssh -X [EMAIL PROTECTED] > >># ssh -X [EMAIL PROTECTED] > >>all work on both boxes including starting X server on the same box. > >> > >> > > > >Do you have a packetfilter installed on your gentoo box blocking the > >inbound traffic to port 22? > > > > After uncomment the line "iface_eth1="207.170.82.202 broadcast > 207.0.255.255 netmask 255.255.0.0"" > on /etc/conf.d/net of PC2-Gentoo box, both box can ping each other > > Now on PC2-Gentoo box > /etc/conf.d/net > iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" > iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0" > dhcpcd_eth0="..." > gateway="eth0/192.168.0.1" > > > On PC1-RH9 > I could start applications of PC2-Gentoo box displaying it on screen. > > But I could not make it the other way round, i.e. > > On PC2-Gentoo > # ssh -l root 192.168.0.1 > [EMAIL PROTECTED]'s password: > Last login: Fri Nov 7 16:06:41 2003 from 192.168.0.2 > [EMAIL PROTECTED] root]# konqueror > konqueror: cannot connect to X server
Looks like your sshd does not allow X-connections. Check in your /etc/ssh/sshd_config for this option. X11Forwarding yes Thomas
pgp00000.pgp
Description: PGP signature
