delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/19/16:05:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <20030719200538.12959.qmail@web80501.mail.yahoo.com>
Date: Sat, 19 Jul 2003 13:05:38 -0700 (PDT)
From: martin cohen <mjc_q AT yahoo DOT com>
Subject: Problem running emacs under XP
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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/WINDOWS:/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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019