Cygwin, ssh and X-servers

Soldato
Joined
18 Oct 2002
Posts
8,444
Location
Leamington Spa
Ok so I'm using Windows and I'm trying to ssh into a linux server and forward X to a local X-server (not quite sure of the terminology here but I hope people understand what I mean). So I've installed Cygwin and I've installed all the packages that appear to be relevant. I can run an X-server and I can ssh, but I can't get them to work together. I'm using the command "ssh -X 'server address'" but it doesn't seem to recognise the -X option. I'm not really clued up on this stuff so could someone help me please?
 
If you're trying to do what I think you are (Access the Linux desktop/ apps remotely) then VNC is going to be a far better option :)

-Leezer-
 
Does that need things installed server side though? I don't have that sort of access to the server.
 
Ah, might be more of a problem then :(
If you can say precisely what you're trying to do with this, I might be able to be more helpful.
When you say server, it suggests that it's not a 'proper' server per-se, as these wouldn't be running X at all.

This page should explain the process of X forwarding a bit better-
http://gentoo-wiki.com/HOWTO_X-forwarding
However, I wouldn't be using Windows for this task at all- X & Windows really don't play very nicely. Instead, you want a VMWare virtual machine running your choice of Linux distro, and forward it to that X Server, which should be a lot easier.

-Leezer-
 
leezer3 said:
Ah, might be more of a problem then :(
If you can say precisely what you're trying to do with this, I might be able to be more helpful.
When you say server, it suggests that it's not a 'proper' server per-se, as these wouldn't be running X at all.

This page should explain the process of X forwarding a bit better-
http://gentoo-wiki.com/HOWTO_X-forwarding
However, I wouldn't be using Windows for this task at all- X & Windows really don't play very nicely. Instead, you want a VMWare virtual machine running your choice of Linux distro, and forward it to that X Server, which should be a lot easier.

-Leezer-
I want to be able to use a graphical program that's installed on the server, from my own machine. I know it has everything neccessary to do this. I'm pretty sure Cygwin should be able to do this since it's basically a linux like environment within windows.
 
Well, X-Forwarding should work for what you're after :)
I'd still use a native Linux environment within VMWare though- TBH Cygwin can be far more of a pain than its worth.
The Gentoo wiki page I linked to should still apply even in Cygwin, assuming everything has been setup right.

-Leezer-
 
Hmm that doesn't give any info about setting up the client. It just kinda says it should work. Maybe I'll try using VMware and ubuntu instead.
 
Did you do it over ssh. I was trying to remember how to so that a few days ago. I remember a while back i could open a gui text editor over ssh from one linux machine to the other.

Edit: just read leezer3's link.
 
Last edited:
Back
Top Bottom