Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: <wpmccormick@covad.net>
From: "Bill McCormick" <wpmccormick@covad.net>
To: <cygwin@cygwin.com>
Subject: RE: Erroneous complaint about being unable to run emacs
Date: Sun, 27 Jul 2003 10:35:04 -0500
Message-ID: <NDBBLLFMLFMANIDPNADCIEHFFCAA.wpmccormick@covad.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <20030727023230.61135.qmail@web80505.mail.yahoo.com>
Importance: Normal

Martin Cohen Wrote:
> I recently started a thread here with the following
> message:
>
> >I installed cygwin in my D: partition under Win XP.
> >Running startx results in the usual screen and the
> >3 windows. However, when I type in my usual
> >"emacs . &", I get this
> >
> >emacs: cannot connect to X server :0.0.
> >Check the DISPLAY evironment variable or use '-d'.
> >Also use the 'xhost' program to verify that it is set
> >to permit connections from your machine.
> >
> >When I enter "xhost +", I get this
> >
> >xhost: unable to open display ":0.0"
>
> The reason for this is that my McAfee firewall was
> set (due to my mistake) to not allow emacs to access the
> internat. This caused the failure above.
>
> I do not know why emacs (and other applications, such as
> xclock) need to access the internet, but allowing them to
> allows them to run.

Emacs (and must programs X programs) use TCP/IP sockets to communicate to
Xserver.

>
> My apologies for wasting the time of those who generously
> tried to help me.
>

Not at all.

Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

