delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/22/13:01:47

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Starting gvim from Windows
Date: Thu, 22 Jun 2006 18:01:31 +0100
Message-ID: <008601c6961d$831d6ec0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20060622T182946-125@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 22 June 2006 17:36, Vicki Brown wrote:

> Neil Watson <cygwin <at> watson-wilson.ca> writes:
>>> And your DISPLAY environment variable is set to...?
>> 
>> Ah ha!  I set my DISPLAY Windows variable to 127.0.0.1:0.0.  Now it works.
>> Thank you. 
>> 
> 
> 
> Well, that didn't work for me. :-(
> I can run the Windows GVIM but not the cygwin gvim (?)
> 
> Cygwin shell. No X.

  That'll be the problem then.  Cygwin gvim is an X program.  

> Trying to run gvim from the cygwin command line.
> 
> DISPLAY: 127.0.0.1:0.0

  Since the DISPLAY variable is meaningful only to X, setting this will have
no effect if you have no X.

> gvim: /usr/bin/gvim
> gvim: cannot open display (still)

  That's because, although gvim now knows which display you want it to use,
you haven't actually created that display by starting up an X server.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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