PDA

View Full Version : Can't Open X Display thru wireless AP/Router??


fwelland
2005-03-02, 07:08 PM CST
Set up
-FC3 Laptop hooked to my home LAN via wireless (dell/intel 2200).

-Wireless AP is actually a router (4-1 wireless G router - netgear wgr 614) - but not using the
'WAN' side - it is hooked to the rest of my LAN from a 1 of the LAN ports to my main
wired switch - then to (another) bb router.

-Frankenstein desktop dualie running FC3 plugged into LAN port of main bb wired router.

Problem:
I can ssh fine, both directions, betweens these two boxes. However I can't set my display on the desktop to point to my laptop - and have the XWindow display on my laptop. I also can't set my display to my desktop and display an Xprogram from my laptop to desktop. (I could do all of this b4 I went wireless a while ago)

Yes I have done "xhost + " on my laptop and I have set my display env var on desktop to point to my laptop (and used -dispaly on stuff like xclock). I can ping/ssh both ways..

Where do I start looking? My guess is the 'AP/router' - but what specifically?

FYI: I went wired to the one of the other ports on the netgear AP/Router - same issue. So I guess it is not really a Wireless issue after all - it is probably just a plain ole X problem and/or network problem.

FYI': I actually had done this b4 under RH9 (both boxes), different laptop and wirless card, and different 4-1Wirless AP/Router (eveything else was the same) - it worked then

crackers
2005-03-02, 09:09 PM CST
FC recently turned off 'X' forwarding over ssh by default. You can explicitly enable 'X' for an SSH session by using the -X or -Y flags on the ssh command-line.

fwelland
2005-03-03, 05:13 AM CST
Thanks for the input.

But I am using the -X switch when I ssh to the remote machine. And on the remote machine "X11Forwarding yes" is set on /etc/ssh/sshd_config. I turned on (local side) " ForwardX11 yes" in /etc/ssh/ssh_config too (as well as use -X switch). sshd -v switches indicates XForwarding is on wihen I ssh from local to remote.

My DISPLAY env var is set (on remote) and my xhost + is set on local - what else am I forgetting?

fwelland
2005-03-03, 06:13 AM CST
in /etc/X11/gdm I had to DisallowTCP=false

It is true by default for security reasons.


now everything works

fa3a
2005-03-29, 04:08 AM CST
In addition to ForwardX11 yes you also need to apply ForwardX11Trusted yes in /etc/ssh/ssh_config file..