delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/09/01:32:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=daG5ZF1WLOim7mbM
n16t3JvPfikKghLYqlbMETqIadk+SiT+fWF578sqoN8JA4XM9C1NtUR61qYYIgVr
7sX7EooT33uqixfKlW19CUDQojOCkI1IoWBcZ4xhveplWUVWOSZsv9IAa9Dz00ci
nKNqC8hrKo67YfYdbFSgjzuyxnQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=vncPrkSqiU3fOH6KeBD6FW
YYRBU=; b=yQ4RzKHFoC5g+bYwgsR2AFeLaWGuU8PW3d6Yr6+4d9JHu1TUcDknp1
tSMaCUPQuRQQSJCg8dJd5zuocfsdDCZxseBhTbpc6EO3d17M6MpMvdwZiFicpF7Q
xF3yJlGAVWP2rq8075hMLH9kJJ56g8H/L4O4eCOWq0ae7PdCdO5ho=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=refused, H*r:66.163.186, Connection, silly
X-HELO: sonic302-20.consmr.mail.ne1.yahoo.com
Date: Sat, 9 Feb 2019 06:27:16 +0000 (UTC)
From: "akshay chavan via cygwin" <cygwin AT cygwin DOT com>
Reply-To: akshay chavan <akshay_chavan2003 AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <387708835.666318.1549693636691@mail.yahoo.com>
In-Reply-To: <1308285295.576965.1549657291745@mail.yahoo.com>
References: <1308285295 DOT 576965 DOT 1549657291745 DOT ref AT mail DOT yahoo DOT com> <1308285295 DOT 576965 DOT 1549657291745 AT mail DOT yahoo DOT com>
Subject: Re: Getting error message when launching X-Window apps in Cygwin
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x196W3aZ029076

 Hi,
I think I found out why I faced this problem. When downloading Cygwin, I had chosen "download without installing". This installed only the base package. Later, I followed the instructions at http://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing to install X server. I think this double installation created some problem.
I just deleted cygwin and reinstalled it. This time I chose, the "Install from internet" option. Surprisingly this time, it showed xorg-server in the "select packages" dialog (the previous time, it did not). So, I just followed the instructions exactly as given in http://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing and also installed nedit from the packages. 

After running "xinit nedit" from the Cygwin terminal, it runs fine!.
Thanks,Akshay

    On Saturday, February 9, 2019, 1:51:31 AM GMT+5:30, akshay chavan <akshay_chavan2003 AT yahoo DOT com> wrote:  
 
 Hi,
A newbie to Cygwin here. 
I have installed Cygwin on Windows 10. I have also installed the "nedit" editor as a package while installing cygwin, along with x-org server and other x-windows related stuff. When I open a cygwin console and type startxwin nedit, I get the following error message:
xinit: unable to run server "/usr/bin/XWin": No such file or directory
Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/XWin" is a program or a link to the right type of server
for your display.  Possible server names include:

    XWin        X Server for the Cygwin environment on Microsoft Windows
    Xvfb        Virtual frame buffer
    Xfake       kdrive-based virtual frame buffer
    Xnest       X server nested in a window on another X server
    Xephyr      kdrive-based nested X server
    Xvnc        X server accessed over VNC's RFB protocol
    Xdmx        Distributed Multi-head X server

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

What Am I doing wrong? I tried searching for solutions online but couldn't find any. Sorry if this is silly, because I am a newbie to Cygwin.
Thanks
  
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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