This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: fatal IO error 104 (Connection reset by peer) on X server
- To: "'Phillip R. Pfaffman'" <ppfaffman at bigsandy dot com>
- Subject: RE: fatal IO error 104 (Connection reset by peer) on X server
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 30 Apr 2001 12:37:18 -0400
- Cc: "'cygwin-xfree at sources dot redhat dot com'" <cygwin-xfree at sources dot redhat dot com>
Please post to the mailing list
> -----Original Message-----
> From: Phillip R. Pfaffman [mailto:ppfaffman@bigsandy.com]
> Sent: Monday, April 30, 2001 12:23 PM
> To: Suhaib Siddiqi
> Subject: RE: fatal IO error 104 (Connection reset by peer) on
> X server
>
>
> At 08:38 AM 4/30/01 -0400, you wrote:
> >The following should be in one line and && is not recognized
> by start under
> >DOS on Win2K. You need to split the xhost command:
> >
> >>start XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0
> >
> >
> >>REM -from 192.168.152.99 -query 192.168.152.99 && xhost +
> >
> >start XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0 -from
> >192.168.152.99 -query 192.168.152.99
> >start xhost +
> >
> >Suhaib
> >
> >startxwin.bat:
> >-------------------------------------------------------------
> ---------------
> >@echo off
> >SET DISPLAY=192.168.152.99
> >REM SET DISPLAY=127.0.0.1:0.0
> >SET PATH=.;%PATH%;\cygwin\bin;\cygwin\usr\X11R6\bin
> >start XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0
> >REM -from 192.168.152.99 -query 192.168.152.99 && xhost +
> >start /B rxvt -fn "Lucida Console-12" -e bash
> >start /B xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
> >/usr/bin/bash
> >start /B twm
> >@echo on
> >-------------------------------------------------------------
> ---------------
>
> Actually, I did try the start xhost + comand on a separate
> line (the REM
> ... && xhost + was left over from an earlier, mistaken
> attempt). In fact,
> I have tried the command before, and then after, the start XWin ...
> command, but it fails in the same way. Another interesting thing, if I
> enter the command at a command prompt, the following happens:
>
> C:\>xhost +
> xhost: unable to open display "192.168.152.99:0.0"
>
> This happens also when DISPLAY=127.0.0.1:0.0, and also within
> a cygwin bash
> window, for either display address. The xhost: reponse occurs about 10
> seconds after the command is entered.
>
> Phillip
>
> Phillip R. Pfaffman
> ppfaffman@bigsandy.com
> [Home/Office] +1-626-798-8649 [Fax] +1-626-791-8281
> [PGP fingerprint] 224A A856 B8EA 3073 221C 1550 3B44 9BDD 951B 9028
> [PGP Key Site] ldap://certserver.pgp.com
>