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 Message-ID: <006b01c34f78$9e2e2540$0200a8c0@dell> From: "David Sharp" To: References: <20030719200538 DOT 12959 DOT qmail AT web80501 DOT mail DOT yahoo DOT com> Subject: Re: Problem running emacs under XP Date: Mon, 21 Jul 2003 12:09:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 I strongly expect you are typing emacs into the bash shell you are starting X from. Type it into an xterm... ----- Original Message ----- From: "martin cohen" To: Sent: Saturday, July 19, 2003 9:05 PM Subject: Problem running emacs under XP > 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" > > Here are my environment variables: > > !C:=C:\Documents and Settings\Marty > !D:=D:\cygwin\bin > ALLUSERSPROFILE=C:\Documents and Settings\All Users > APPDATA=C:\Documents and Settings\Marty\Application Data > COMMONPROGRAMFILES=C:\Program Files\Common Files > COMPUTERNAME=COHEN-RZ22G > COMSPEC=C:\WINDOWS\system32\cmd.exe > CVS_RSH=/bin/ssh > DISPLAY=:0.0 > HOME=/home/Marty > HOMEDRIVE=C: > HOMEPATH=\Documents and Settings\Marty > HOSTNAME=Cohen-RZ22G > LOGNAME=Marty > LOGONSERVER=\\COHEN-RZ22G > MAKE_MODE=unix > MANPATH=:/usr/ssl/man > NUMBER_OF_PROCESSORS=1 > OS=Windows_NT > PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/W INDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/X11R6/bin > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > PROCESSOR_ARCHITECTURE=x86 > PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, > GenuineIntel > PROCESSOR_LEVEL=15 > PROCESSOR_REVISION=0207 > PROGRAMFILES=C:\Program Files > PROMPT=$P$G > PS1=\[\033]0;\w\007 > \033[32m\]\u@\h \[\033[33m\w\033[0m\] > $ > PWD=/home/Marty > SESSIONNAME=Console > SHLVL=2 > SYSTEMDRIVE=C: > SYSTEMROOT=C:\WINDOWS > TEMP=/cygdrive/c/DOCUME~1/Marty/LOCALS~1/Temp > TERM=xterm > TEXMF={/usr/share/lilypond/1.6.8,/usr/share/texmf} > TMP=/cygdrive/c/DOCUME~1/Marty/LOCALS~1/Temp > USER=Marty > USERDOMAIN=COHEN-RZ22G > USERNAME=Marty > USERPROFILE=C:\Documents and Settings\Marty > WINDIR=C:\WINDOWS > WINDOWID=8388622 > XAUTHORITY=/home/Marty/.Xauthority > _=/usr/bin/env > > I am sure there is some simple configuration file I am not > setting up, since do the same thing worked find on a Win > 2000 machine. The only difference, aside from XP vs 2000, > is that I had no problems with cygwin on C:, and the > problems here on D:. > > Thanks > > Martin Cohen > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.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/ > -- 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/