This is the mail archive of the mailing list for the Cygwin project.

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

Re: Conection refused by X server.

How are you doing the X stuff through ssh?
on my cygwin box I use:  ssh -X -l <userid> linux-host.
This sets up my X forwarding from my Linux box to my 
cygwin box.  Then within the ssh session, I just do a 
'xapp', and everything usually works.  The -X option to 
ssh sets up a "proxy" X server, with it's own display
(from the ssh session, do an 'echo $DISPLAY'.  You should
see something like localhost:10').  

On Mon, 27 Aug 2001 15:22:38 -0200, wrote:

>I tried to do a redirection of the X display from another machine (Linux).
>First call xhost to  the remote machine IP, and , at remote machine, tried
>to redirect (by ssh) the X display.
>The answer on client (Linux kernel 2.2):
>#Xlib: connection to "" refused by server
>#Xlib: Client is not authorized to connect to Server
>#lyx: Can't open display
>#LyX: unable to access X display, exiting
>On server (Cygwin machine):
>#client 1 regected from port 1145.
>Whats happens ??
>PS: All IP are local (intranet).
>Unsubscribe info:
>Bug reporting:

Unsubscribe info:
Bug reporting:

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