Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Bill McCormick" To: Subject: RE: Erroneous complaint about being unable to run emacs Date: Sun, 27 Jul 2003 10:35:04 -0500 Message-ID: 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/