This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: X forward question


liang wrote:

From: liang [mailto:swang2000@gmail.com] Sent: Sunday, August 19, 2007 3:40 PM
To: 'cygwin-xfree@cygwin.com'
Subject: X forward question


Hi,

1. I just to subscribe the mailing list, so I can reply the email now. Sorry
to start a new thread.
2. I start x server with double click startxwin.bat under /etc/x11r/bin, a
window starts and X show in the system tray.
3. I typed xterm& and start a new window
4. In new window, I typed ssh âY âv âl ZwLi 192.168.1.101 (internal
network, wireless)
$ ssh -Y -v -l ZwLi 192.168.1.101
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to 192.168.1.101 [192.168.1.101] port 22.
debug1: Connection established.
debug1: identity file /home/swang/.ssh/identity type -1
debug1: identity file /home/swang/.ssh/id_rsa type -1
debug1: identity file /home/swang/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.6
debug1: match: OpenSSH_4.6 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.101' is known and matches the RSA host key.
debug1: Found key in /home/swang/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/swang/.ssh/identity
debug1: Trying private key: /home/swang/.ssh/id_rsa
debug1: Trying private key: /home/swang/.ssh/id_dsa
debug1: Next authentication method: password
ZwLi@192.168.1.101's password: debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Sun Aug 19 15:05:49 2007 from unc-zofo4lkabzt


ZwLi@duke-q49pd6smvo ~
$
5. I believe that I logged on the sshd server on ZwLi computer.
6. Typed cd /cygdrive/c/program\ files/picasa2 to change folder on the
server
7. Typed ./picasa2.exe and tried to run picasa to test if X forwarding is
working
8. I can see the picasa2.exe running on my sshd server since I can see a
process running in the windows task manager on the server. But there is
nothing happened in my ssh client end.
Do I suppose to see a picasa2 window opened in ssh client end?

No. You're running a MS Windows program that knows nothing about X. Cygwin's X server will not magically transform the output of Windows programs into X windows locally or otherwise.

9. Before I started my ssh session, I typed display=localhost:0.0 Export display after I
started X server

Don't do this. It's not needed and it's not correct.


10. My sshd server and client are both running on XP professional
11. I desparately need to run Rgui on my sshd server from ssh client. I
didnât install X server on the computer running sshd server.

Do I miss something? Or I am totally wrong. My goal is to run windows
application on the sshd server from every ssh client (both sshd server and
ssh client installed XP).

See above.


12. I replaced â#X11forward noâ with âX11forward yesâ in the file
sshd_config on sshd server. But I didnât revise ssh_config  on the ssh
client machine since I cannot find the file ssh_config under /etc/ folder.
Please give me some helps. And thank everybody who replyed my email before.

I think you're looking at the wrong software to solve your problem. If you just want to run Windows programs on other machines, you can always try connecting to a shared drive on the server and running the installed program from the client. But you're not going to find Cygwin X helps you do this.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 429-6305 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]