Re: connection to ":0.0" refused by server when running via XDMCP

2005-10-26 Thread Igor Pechtchanski
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/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,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/

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

2005-10-26 Thread Reinhard Müller
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.

Thanks,
Reinhard


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil