RE: FW: X forward question

2007-08-20 Thread liang
Thanks for reply.
So, do you think that windows 2003 server is the solution for my goal?
Or any other options I have. Please give me some suggestion.
Basically I need to set up a super computer which allows several clients to run 
applications for computing simultaneously. I think the windows are the best 
environments since most of users are familiar windows systems.

Thanks.
liang


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall 
(Cygwin X)
Sent: Sunday, August 19, 2007 10:36 PM
To: cygwin-xfree@cygwin.com
Subject: Re: FW: X forward question

liang wrote:
 
 From: liang [mailto:[EMAIL PROTECTED] 
 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(102410248192) 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
 [EMAIL PROTECTED]'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
 
 [EMAIL PROTECTED] ~
 $
 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

Re: FW: X forward question

2007-08-20 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU.  Reformatted.

liang wrote:

-Original Message-

Subject: Re: FW: X forward question

liang wrote:
From: liang [mailto:swang2000ATgmailDOTcom] 

^^^

Sent: Sunday, August 19, 2007 3:40 PM
To: 'cygwin-xfreeATcygwinDOTcom'

 ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Yes, I know gmail doesn't do
this kind of thing automatically but it never hurts to ask.  In the meantime
you're left with manual editing.  A pain, I know.  But it's better than
opening yourself and others up to spamming.



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.


 Thanks for reply.
 So, do you think that windows 2003 server is the solution for my goal?
 Or any other options I have. Please give me some suggestion.
 Basically I need to set up a super computer which allows several clients
 to run applications for computing simultaneously. I think the windows are
 the best environments since most of users are familiar windows systems.


If you want users to be able to log into your machine and run Windows GUI
(and command line) programs from that machine, you're probably best off
setting it up as a Windows server machine, yes.  Users can connect through
Terminal Services to run a desktop on the server and invoke programs from
there.

Discussion of things other than Cygwin-X is really off-topic for this list
though.  I'd suggest if you have more questions about setting up a machine
to act as a server for stock Windows applications, you should take them to
the proper Windows forum.


--
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/



FW: X forward question

2007-08-19 Thread liang


From: liang [mailto:[EMAIL PROTECTED] 
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(102410248192) 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
[EMAIL PROTECTED]'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

[EMAIL PROTECTED] ~
$
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? 
9. Before I started my ssh session, I typed display=localhost:0.0    
   Export display after I
started X server
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).
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.

Yong 




    






--
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/



Re: FW: X forward question

2007-08-19 Thread Larry Hall (Cygwin X)

liang wrote:


From: liang [mailto:[EMAIL PROTECTED] 
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(102410248192) 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
[EMAIL PROTECTED]'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

[EMAIL PROTECTED] ~
$
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/