Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem configuring X forwarding between Gentoo and Cygwin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mahoneys
n00b
n00b


Joined: 04 Jun 2005
Posts: 9
Location: Southern CA, USA

PostPosted: Sat Jun 04, 2005 11:58 pm    Post subject: Problem configuring X forwarding between Gentoo and Cygwin Reply with quote

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
View user's profile Send private message
charlie26
n00b
n00b


Joined: 29 Jan 2005
Posts: 26

PostPosted: Sun Jun 05, 2005 3:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
mahoneys
n00b
n00b


Joined: 04 Jun 2005
Posts: 9
Location: Southern CA, USA

PostPosted: Sun Jun 05, 2005 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum