connection to "<hostname>:0.0" refused by server when running via XDMCP

Igor Pechtchanski pechtcha@cs.nyu.edu
Fri Oct 28 19:38:00 GMT 2005


On Fri, 28 Oct 2005, Reinhard Mueller wrote:

> Igor,
>
> Am Mittwoch, den 26.10.2005, 10:27 +0200 schrieb Reinhard Müller:
> > $ su sabine xterm
> > Xlib: connection to "dhcp0.europe.localnet:0.0" refused by server
>
> Thanks for your hint. I tried to set "xhost + localhost" in the terminal
> before doing the su (didn't work), but I guess I have to do that on the
> Windows machine (the machine where the X server runs), so I wonder which
> is the correct place to add it.

Sorry, I think I may have misunderstood what you were trying to do.  Looks
like you do "su sabine" on the *remote* machine -- I thought you tried
this locally.

By default, X (in XDMCP mode) limits the connections to the user logged in
via XDMCP from the target machine.  If you want other users to connect
(whether those from the X server machine, or those from the XDMCP target
machine), you'll need to add them to the access list with the xhost
command.  You may need to specify the host to add in the form that xhost
understands (i.e., the full machine name instead of "localhost").  See the
"xhost" manpage for details.

The xhost command needs to be invoked by the user who has control over the
X server (e.g., from the remote xterm).
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list