From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65034 invoked by alias); 9 Feb 2019 06:27:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 65025 invoked by uid 89); 9 Feb 2019 06:27:22 -0000 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 Received: from sonic302-20.consmr.mail.ne1.yahoo.com (HELO sonic302-20.consmr.mail.ne1.yahoo.com) (66.163.186.146) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Feb 2019 06:27:20 +0000 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Sat, 9 Feb 2019 06:27:17 +0000 Date: Sat, 09 Feb 2019 06:27:00 -0000 From: "akshay chavan via cygwin" Reply-To: akshay chavan To: "cygwin@cygwin.com" Message-ID: <387708835.666318.1549693636691@mail.yahoo.com> In-Reply-To: <1308285295.576965.1549657291745@mail.yahoo.com> References: <1308285295.576965.1549657291745.ref@mail.yahoo.com> <1308285295.576965.1549657291745@mail.yahoo.com> Subject: Re: Getting error message when launching X-Window apps in Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-02/txt/msg00082.txt.bz2 Hi, I think I found out why I faced this problem. When downloading Cygwin, I ha= d chosen "download without installing". This installed only the base packag= e. 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 ins= tallation created some problem. I just deleted cygwin and reinstalled it. This time I chose, the "Install f= rom internet" option. Surprisingly this time, it showed xorg-server in the = "select packages" dialog (the previous time, it did not). So, I just follow= ed the instructions exactly as given in http://x.cygwin.com/docs/ug/setup.h= tml#setup-cygwin-x-installing and also installed nedit from the packages.=20 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 wrote:=20=20 =20 Hi, A newbie to Cygwin here.=20 I have installed Cygwin on Windows 10. I have also installed the "nedit" ed= itor as a package while installing cygwin, along with x-org server and othe= r 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.=C2=A0 Possible server names include: =C2=A0=C2=A0=C2=A0 XWin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 X Server = for the Cygwin environment on Microsoft Windows =C2=A0=C2=A0=C2=A0 Xvfb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Virtual f= rame buffer =C2=A0=C2=A0=C2=A0 Xfake=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kdrive-based v= irtual frame buffer =C2=A0=C2=A0=C2=A0 Xnest=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 X server neste= d in a window on another X server =C2=A0=C2=A0=C2=A0 Xephyr=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kdrive-based nested= X server =C2=A0=C2=A0=C2=A0 Xvnc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 X server = accessed over VNC's RFB protocol =C2=A0=C2=A0=C2=A0 Xdmx=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Distribut= ed 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 =20=20 -- 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