Re: Windows GUI apps from xterm

2007-09-30 Thread Holger Krull
Igor Peshansky schrieb:
 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.
 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of
 the former terminal-server connection. You wouldn't expect to see the
 graphical output of calc if you would sit in front of the unix server
 and doing a rsh to the terminal-server.
 
 Actually, the calc process is spawned by the inetd service, which usually
 cannot interact with the desktop by default.  If the OP enables the
 Interact with Desktop checkbox for the inetd service, this should work.

He is on a terminal server, would be interesting to see on which 'Desktop' calc 
will get displayed. If this is the physical display of the server this will be 
not helping, i guess.



--
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: Windows GUI apps from xterm

2007-09-29 Thread Igor Peshansky
On Wed, 12 Sep 2007, Holger Krull wrote:

 Keep things on the list please.

  Now from the same cygwin shell, if I run rsh any_unix_machine, I am
  now logged into a unix box, now I run rsh terminal_server_name, I am
  now back on the terminal server. Now if I run calc, it doesn't work,
  attached are 2 snapshots.

 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of
 the former terminal-server connection. You wouldn't expect to see the
 graphical output of calc if you would sit in front of the unix server
 and doing a rsh to the terminal-server.

Actually, the calc process is spawned by the inetd service, which usually
cannot interact with the desktop by default.  If the OP enables the
Interact with Desktop checkbox for the inetd service, this should work.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Windows GUI apps from xterm

2007-09-12 Thread Holger Krull

Keep things on the list please.

 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.

so you have
terminal-server -unix -terminal-server

I'm not suprised that this doesn't work.
The second rsh session you create on the terminal server is not aware of the 
former terminal-server connection. You wouldn't expect to see the graphical 
output of calc if you would sit in front of the unix server and doing a rsh to 
the terminal-server.


--
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: Windows GUI apps from xterm

2007-09-12 Thread xerces8
Holger Krull [EMAIL PROTECTED] wrote :
 
 Keep things on the list please.
 
  Now from the same cygwin shell, if I run rsh any_unix_machine, I am
  now logged into a unix box, now I run rsh terminal_server_name, I am
  now back on the terminal server. Now if I run calc, it doesn't work,
  attached are 2 snapshots.
 
 so you have
 terminal-server -unix -terminal-server
 
 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of the 
 former
 terminal-server connection. You wouldn't expect to see the graphical output 
 of calc if you would
 sit in front of the unix server and doing a rsh to the terminal-server.

Actually this works just fine, _if_ :
 - remote login client and server program know and do propagate the DISPLAY 
variable

(telnet is more likely to support DISPLAY propagation than rlogin/rsh)

Regards,
David



--
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: Windows GUI apps from xterm

2007-09-12 Thread Holger Krull
xerces8 schrieb:
 Holger Krull [EMAIL PROTECTED] wrote :
 Keep things on the list please.

 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.
 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of the 
 former
 terminal-server connection. You wouldn't expect to see the graphical output 
 of calc if you would
 sit in front of the unix server and doing a rsh to the terminal-server.
 
 Actually this works just fine, _if_ :
  - remote login client and server program know and do propagate the DISPLAY 
 variable
 
 (telnet is more likely to support DISPLAY propagation than rlogin/rsh)

No, this is not relevant. We are talking about a Windows Application here.
Calc knows nothing about DISPLAY, it is not using X.

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



Windows GUI apps from xterm

2007-09-06 Thread Mahdi A Sbeih

Hello all,

I am on windows terminal server win_ts:
When executing a windows GUI application such as calc from a cygwin 
shell, it works just fine, without setting any DISPLAY env variable.
Now if I connect to terminal server win_ts from a unix xterm - I am 
still on the same terminal server - and try to run calc, it hangs, but 
running something like xcalc works fine.


It seems that running pure windows GUI app such as calc only woks from 
a cygwin shell, and not connecting to the cygwin shell from a unix xterm 
even though everything is happening on the same windows terminal server.


Please advice.

-Mahdi


--
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: Windows GUI apps from xterm

2007-09-06 Thread Holger Krull
Mahdi A Sbeih schrieb:
 I am on windows terminal server win_ts:
 When executing a windows GUI application such as calc from a cygwin
 shell, it works just fine, without setting any DISPLAY env variable.

No surprise here. Windows applications don't use X11, so they don't look for 
DISPLAY.


 Now if I connect to terminal server win_ts from a unix xterm - I am
 still on the same terminal server - and try to run calc, it hangs, but
 running something like xcalc works fine.

I'm not sure what you mean by unix xterm.
If that means connecting from a different system, then you can't get calc 
because calc can't display itself on a X11 Server.

If you mean starting calc from cygwins xterm on the same server, as your hint 
suggests, then you probably run into specific problems a terminal server has 
(finding the right session). 
Starting a windows app from cygwin xterm works here without problems.
Does calc come up in the tasklist?






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