This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: connection to "<hostname>:0.0" refused by server when runningvia XDMCP


On Wed, 26 Oct 2005, Reinhard Müller wrote:

> Hello, all,
>
> I use cygwin/x to make my Windows PC a X Windows terminal: I connect to
> my GNU/Linux machine via XDMCP. Everything works fine as long as I don't
> want to change the user.
>
> However, when I try to execute a program as a different user, I get the
> following error message:
>
> $ su sabine xterm
> Xlib: connection to "dhcp0.europe.localnet:0.0" refused by server
> Xlib: No protocol specified
>
> xterm Xt error: Can't open display: dhcp0.europe.localnet:0.0
>
> (dhcp0.europe.localnet is the name of the Windows PC where cygwin/x
> runs)
>
> Any hint about how to fix this is highly appreciated.

You'll need to allow connections from localhost: try "xhost + localhost"
from the original user.
	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
--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]