This is the mail archive of the cygwin@cygwin.com 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, nvasconcelos@genius.org.br wrote:

>Hello,
>
>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 "103.1.50.200:0.0" refused by server
>#Xlib: Client is not authorized to connect to Server
>#lyx: Can't open display 103.1.50.200:0.0
>#LyX: unable to access X display, exiting
>
>On server (Cygwin machine):
>#client 1 regected from 103.1.50.132 port 1145.
>
>Whats happens ??
>
>Thanks,
>Nivaldo
>
>PS: All IP are local (intranet).
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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