View previous topic :: View next topic |
Author |
Message |
mahoneys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jun 2005 Posts: 9 Location: Southern CA, USA
|
Posted: Sat Jun 04, 2005 11:58 pm Post subject: Problem configuring X forwarding between Gentoo and Cygwin |
|
|
I've got Gentoo installed and configured on my server. I do a lot of work from my Winbloze laptop via WiFi. I'd like to be able to make an X connection from Cygwin X, and have done so in the past, but am not having a lot of luck.
Here's my configuration:
Gentoo box (66.xxx.154.124) to Ethernet hub port 1
Windows laptop (192.168.1.1) via WiFi to WiFi AP (66.xxx.154.9) to Ethernet hub port 2
Windows desktop (66.xxx.154.20) to Ethernet hub port 3
Ethernet hub to DSL modem
The Gentoo box is running sshd with "X11Forwarding yes" and "X11DisplayOffset 10" in sshd_config. On the laptop I get X started, run "ssh -X dan@66.xxx.154.124", log in, and try to run an X app (like xterm). Nothing comes up on the laptop X, and on the Gentoo box my attempt to run xterm eventually times out.
I suspect I've just left out a step or two. Any ideas? _________________ Dan Mahoney, dan@wolf.com
"How you behave towards cats here below determines your status in Heaven."
Robert Heinlein
"There are two means of refuge from the miseries of
life - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charlie26 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 26
|
Posted: Sun Jun 05, 2005 3:26 pm Post subject: |
|
|
do you need to tell it a port to use ?
if you are inside a firewall why not just use vnc
the other way i do it ( to connect from work to my home machine) is with an SSH tunnel and then vncviewer.
Putty on the windows machine and then connect 5900 on the winclient to xx.xx.xx.xx:5901 on the linux box
then use vncviewer to connect to localhost in windows
with cygwin i think it would be ssh -l user -L 5900 : 192.168.0.x:5901 ip.ad.re.ss ( havent got windows machine with cygwin in front of me ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mahoneys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jun 2005 Posts: 9 Location: Southern CA, USA
|
Posted: Sun Jun 05, 2005 3:32 pm Post subject: |
|
|
charlie26 wrote: | do you need to tell it a port to use ?
if you are inside a firewall why not just use vnc
the other way i do it ( to connect from work to my home machine) is with an SSH tunnel and then vncviewer.
Putty on the windows machine and then connect 5900 on the winclient to xx.xx.xx.xx:5901 on the linux box
then use vncviewer to connect to localhost in windows
with cygwin i think it would be ssh -l user -L 5900 : 192.168.0.x:5901 ip.ad.re.ss ( havent got windows machine with cygwin in front of me ) |
I'll give that a try, thanks. I had hoped to do it with X forwarding, as I've done this before going from Cywgwin to RedHat. But in a pinch VNC would be adequate. _________________ Dan Mahoney, dan@wolf.com
"How you behave towards cats here below determines your status in Heaven."
Robert Heinlein
"There are two means of refuge from the miseries of
life - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|