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]
Other format: [Raw text]

RE: Erroneous complaint about being unable to run emacs


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/


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