delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/19/17:06:58

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
X-Originating-IP: [24.34.177.222]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: "martin cohen" <mjc_q AT yahoo DOT com>, <cygwin AT cygwin DOT com>
References: <20030719200538 DOT 12959 DOT qmail AT web80501 DOT mail DOT yahoo DOT com>
Subject: Re: Problem running emacs under XP
Date: Sat, 19 Jul 2003 17:06:44 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <Law10-OE27y4cR9XMar0000f5bf@hotmail.com>
X-OriginalArrivalTime: 19 Jul 2003 21:06:47.0374 (UTC) FILETIME=[AA4C5EE0:01C34E39]

shamelessly copied from "Configuring XWindows"
One way to avoid this problem is to allow all connections from the local
machine.


[root]# xhost +localhost


Hth
Martin
----- Original Message -----

From: "martin cohen" <mjc_q AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Saturday, July 19, 2003 1: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/

- Raw text -


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