public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: a problem with X connection to HPC server-------local computer IP name
@ 2003-10-17 15:00 Thomas Chadwick
  2003-10-19 13:17 ` Alexander Gottwald
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Chadwick @ 2003-10-17 15:00 UTC (permalink / raw)
  To: cygwin-xfree

I don't use SSH or XDM, but nonetheless was intrigued by your question about 
running XDM via an SSH tunnel.  After some poking around, it occurred to me 
that there might be a way to make this work by finding and editting the 
Xservers file on the XDM server.  The process would go something like...

1) Launch XWin without the -query business.

2) Set DISPLAY=127.0.0.1:0 then run "ssh -x <xdmserver>" to bring up a 
tunnel into the XDM server.

3) Once connected, edit the XDM server's Xservers file and create a "local" 
entry for the display number handled by ssh.

4) Send a SIGHUP signal to XDM to tell it to re-read the Xservers file and 
start managing the virtual DISPLAY setup by ssh.

The one thing I'm not sure abouit is what would happen to XDM after the SSH 
tunnel ended.  Will it continuously loop trying to start an X session on the 
defunct DISPLAY?

>From: "dh" <dldhdz@hotmail.com>
>Reply-To: cygwin-xfree@cygwin.com
>To: <cygwin-xfree@cygwin.com>
>Subject: a problem with X connection to HPC server-------local computer IP 
>name
>Date: Fri, 17 Oct 2003 13:25:45 +0100
>
>I am trying to connect to a SGI Onyx 300  server from an PC with Win ME and
>cygwin at home through typical
>
>Xwin.exe -ac -query remote_ws -from <my local computer IP name >
>
>but the remote login screen doesn't appear properly. It's just a blank
>window.
>
>I think my problem is really with local IP setting. I am not sure about my
>local IP.
>It is a 3 pcs LAN connectting to the internet through a router. My pc got a
>local IP: 192.168.0.3, whist 3pcs share one external IP(as gateway) 
>provided
>by ISP.
>But neither of the IPs can work(openning DISPLAY).
>
>My problem is only with an XDMCP-query session.
>What I must do to access a machine with SSH and "X -query" in this case?
>
>Thanks in advance.
>Philip D.

_________________________________________________________________
Need more e-mail storage? Get 10MB with Hotmail Extra Storage.   
http://join.msn.com/?PAGE=features/es


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a problem with X connection to HPC server-------local computer IP name
  2003-10-17 15:00 a problem with X connection to HPC server-------local computer IP name Thomas Chadwick
@ 2003-10-19 13:17 ` Alexander Gottwald
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Gottwald @ 2003-10-19 13:17 UTC (permalink / raw)
  To: cygwin-xfree

Thomas Chadwick wrote:

> The one thing I'm not sure abouit is what would happen to XDM after the SSH
> tunnel ended.  Will it continuously loop trying to start an X session on the
> defunct DISPLAY?

It will try a few (5 afair) times and then disable the entry for 30 minutes.

bye
    ago

NP: JBO - Bimber Bumber Dödel Dei
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723


^ permalink raw reply	[flat|nested] 3+ messages in thread

* a problem with X connection to HPC server-------local computer IP name
@ 2003-10-17 12:25 dh
  0 siblings, 0 replies; 3+ messages in thread
From: dh @ 2003-10-17 12:25 UTC (permalink / raw)
  To: cygwin-xfree

I am trying to connect to a SGI Onyx 300  server from an PC with Win ME and
cygwin at home through typical

Xwin.exe -ac -query remote_ws -from <my local computer IP name >

but the remote login screen doesn't appear properly. It's just a blank
window.

I think my problem is really with local IP setting. I am not sure about my
local IP.
It is a 3 pcs LAN connectting to the internet through a router. My pc got a
local IP: 192.168.0.3, whist 3pcs share one external IP(as gateway) provided
by ISP.
But neither of the IPs can work(openning DISPLAY).

My problem is only with an XDMCP-query session.
What I must do to access a machine with SSH and "X -query" in this case?

Thanks in advance.
Philip D.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-19 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 15:00 a problem with X connection to HPC server-------local computer IP name Thomas Chadwick
2003-10-19 13:17 ` Alexander Gottwald
  -- strict thread matches above, loose matches on Subject: below --
2003-10-17 12:25 dh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).