I wasn't around for the whole discussion, but has port forwarding an alternate port come up? Like, on the router, port forward :22 to gentoo_server, and port 2222 to the desktop's port 22 (my router allows this, and it's a POS Belkin wireless router, so yours should too). essentially, that would cut out the middleman, and you should be able to X forward. you don't need to modify any configuration on the desktop, since it thinks you're connecting to :22 on it (even though you're connected to :2222 on the router).
If this was already suggested, ignore me... On Sat, 26 Feb 2005 17:06:21 -0600, Gabriel M. Beddingfield <[EMAIL PROTECTED]> wrote: > Rick Lapp wrote: > > > Just to clarify my diagram of what I'm trying to do. > > > > me on [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > gentoo_server(no X)@home > > > [EMAIL PROTECTED] > > > > I would like to ssh into the server at home (which the router points to > > and has no X) and then ssh into my desktop at home and start an X > > application (kmail). > > OK. Disregard much of what I said before. I didn't know what I was talking > about. > > I did some playing around with my own work/home situation, which is set up > just like yours. In summary, here's what (I think) I know: > > 1. I'm pretty sure that the problem isn't with the routers. You probably > have something like a Linksys that is forwarding port 22 directly to > [EMAIL PROTECTED] So when you ssh to my.own.domain.net (which is > actually your router), it just forwards the packets directly to > [EMAIL PROTECTED] (which probably has an 192.168.*.* address). > > 2. In theory, I don't think you should have to have X installed on > [EMAIL PROTECTED] But for the life of me, I don't know how to make it > work. I've tried all sorts of -R and -L settings with ssh, but I can't get > the x-client ([EMAIL PROTECTED]) to recognize it. Some other folks might be > able to shed some light on this. > > 3. If you install X on [EMAIL PROTECTED], it will definitely make it > easier. It becomes a matter of just doing two ssh connections with the -X > flag. I tried this on my home network with a knoppix box running in the > middle. > > 4. An alternative would be to run a vnc server on [EMAIL PROTECTED] (e.g. > RealVNC and TightVNC... both are in portage.) I was able to make this > work. I used ssh's port forwarding on the [EMAIL PROTECTED] to make it > work... and [EMAIL PROTECTED] didn't need X. > > -- > G a b r i e l M . B e d d i n g f i e l d > > -- > [email protected] mailing list > > -- "Microsoft is a lot better at making money than it is at making good operating systems." -- Linus Torvalds -- [email protected] mailing list
