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. My apologies for wasting the time of those who generously tried to help me. Martin Cohen __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- 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/