Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread a12
Hello,
Pardon my ignorance, but what am I supposed to do to solve the problem ?
Regards,
Marek
Alexander Gottwald skrev:
On Tue, 3 May 2005, a12 wrote:

connect /tmp/.X11-unix/X0: No such file or directory
X connection to localhost:10.0 broken (explicit kill or server shutdown).
What about this message ?
This just means your local server is not running. Same as before with can't 
connect to localhost:6000. But this time DISPLAY was :0.0, not localhost:0.0

bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread Alexander Gottwald
On Wed, 4 May 2005, a12 wrote:

 Hello,
 
 Pardon my ignorance, but what am I supposed to do to solve the problem ?

Start XWin.

-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread a12
Which means: use XDMCP  don't use xterm.
Please correct me, if I am wrong.
Regards,
Marek
Alexander Gottwald skrev:
On Wed, 4 May 2005, a12 wrote:

Hello,
Pardon my ignorance, but what am I supposed to do to solve the problem ?
Start XWin.



XWin -indirect

2005-05-04 Thread Bill Schaffer
Hello.
I am having a problem with XWin -indirect, where the foreign machine 
cannot access my local X server.  I have researched the mailing list 
archives, and found this thread to be very similar:

 http://sourceware.org/ml/cygwin-xfree/2002-06/msg00331.html
But, it did not conclude with an answer that seemed useful to me.  Or 
least, it was not an answer I understood.

My scenario:
-I have several development Solaris and Linux systems, which are 
running xdm, kdm, or dtlogin.

-I have several users running Windows XP with Cygwin/X.  These users 
can connect to all of the Unix systems just fine with the invocation:

 XWin -query target-ip-address
However, this means I have to manage several startup scripts for the 
users, edit and add to them, as target systems change, which they do 
here every couple of weeks.  I have one system which is stable and 
non-changing, so I thought it might be useful to make one script which 
had the invocation:

 XWin -indirect stable-target-system
And let the users select the system they wanted that day.
The problem:
Well, the user does get the list of systems, however, they can only 
access the system specified as the parameter to the indirect option. 
 All of the other systems are blocked from accessing the XWin server 
on the user's machine, including the user's own machine.  An excerpt 
from kdm log output on one of the Linux systems:

 Hung in XOpenDisplay(users_system_addr:0), aborting
 server open failed for users_system_addr:0, giving up
This seems like an access control problem with XWin at the user's 
system.  I would like to run xhost + but the local system can't 
access XWin either.  (Yes, I realize the security implications, but 
want to get it working first)  I have tried establishing an 
/etc/X0.host file, but XWin seems to disregard it.

Could someone provide some insight, or point me in the right 
direction, please?

Thanks in advance,
Bill Schaffer

--
Let it snow


Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread Igor Pechtchanski
On Wed, 4 May 2005, a12 wrote:

 Alexander Gottwald skrev:

  On Wed, 4 May 2005, a12 wrote:
 
   Pardon my ignorance, but what am I supposed to do to solve the
   problem ?
 
  Start XWin.

 Which means: use XDMCP  don't use xterm.
 Please correct me, if I am wrong.

You're wrong.  It means exactly what it says: run startx (or
startxwin.bat, or start XWin.exe ..., or any of your favorite methods
for starting the X server on your local machine) before running ssh -X/Y.

And please don't top-post.  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: XWin -indirect

2005-05-04 Thread Alexander Gottwald
Bill Schaffer wrote:

 The problem:

 Well, the user does get the list of systems, however, they can only
 access the system specified as the parameter to the indirect option.
   All of the other systems are blocked from accessing the XWin server
 on the user's machine, including the user's own machine.  An excerpt
 from kdm log output on one of the Linux systems:

   Hung in XOpenDisplay(users_system_addr:0), aborting
   server open failed for users_system_addr:0, giving up

 This seems like an access control problem with XWin at the user's
 system.  I would like to run xhost + but the local system can't
 access XWin either.  (Yes, I realize the security implications, but
 want to get it working first)  I have tried establishing an
 /etc/X0.host file, but XWin seems to disregard it.

XDMCP overrides the xhost access system. More likely a firewall is blocking
access from the system. Are all hosts on the same network?

Running some tracing with tcpdump may help.

bye
ago
NP: SITD - Wegweiser
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: XWin -indirect

2005-05-04 Thread Bill Schaffer
Thanks!
That was the tip I needed.  The one machine that couldn't access the 
others via XWin -query was the one I picked to test with.  I went 
over to one of the other Win systems, did the -indirect and had no 
problems.

A Windows firewall issue.
I hate when that happens.
Thanks muchly,
-Bill


Alexander Gottwald wrote:
Bill Schaffer wrote:

The problem:
Well, the user does get the list of systems, however, they can only
access the system specified as the parameter to the indirect option.
 All of the other systems are blocked from accessing the XWin server
on the user's machine, including the user's own machine.  An excerpt
from kdm log output on one of the Linux systems:
 Hung in XOpenDisplay(users_system_addr:0), aborting
 server open failed for users_system_addr:0, giving up
This seems like an access control problem with XWin at the user's
system.  I would like to run xhost + but the local system can't
access XWin either.  (Yes, I realize the security implications, but
want to get it working first)  I have tried establishing an
/etc/X0.host file, but XWin seems to disregard it.

XDMCP overrides the xhost access system. More likely a firewall is blocking
access from the system. Are all hosts on the same network?
Running some tracing with tcpdump may help.
bye
ago
NP: SITD - Wegweiser
--
Let it snow