From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88140 invoked by alias); 4 Jun 2019 13:26:14 -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 88010 invoked by uid 89); 4 Jun 2019 13:26:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=icons, launched X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Jun 2019 13:26:12 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id Y9S5hkT94GusjY9S6hak6N; Tue, 04 Jun 2019 07:26:10 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Cygwin/X does not seem to work on Windows 10 To: cygwin@cygwin.com References: <2bf76c1b-1cf5-4097-940d-0634e8db2ca6@www.fastmail.com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <12a87e55-2af2-2c95-6426-604850516cfd@SystematicSw.ab.ca> Date: Tue, 04 Jun 2019 13:26:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <2bf76c1b-1cf5-4097-940d-0634e8db2ca6@www.fastmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00021.txt.bz2 On 2019-06-04 05:52, Ronald Fischer wrote: > What I did: > - Installed all the packages, as described in https://x.cygwin.com/docs/ug/setup.html > - Started XLaunch > - Selected "Multiple Window" and "Start no client", to start the X Server > - Clicked on "Fertig stellen" (= finish). > - Using mintty, I started a cygwin shell (zsh). > - Inside this shell, I tried a > xterm & > which, not surprisingly, resulted into: > xterm: Xt error: Can't open display: > xterm: DISPLAY is not set > and then a > DISPLAY=:0.0 xterm & > which also produced an error message: > xterm: Xt error: Can't open display: :0.0 > Interestingly, there is an X-Icon in the notification area, and when I hover > over it, the tooltip says "Cygwin/X Servre: 0.0", but when I right-click on this > icon, no context menu appears. > When I do a double-LEFT-click on this icon, the icon disappears completely. > I then opened the Task Manager, but could not find any process where the > name hinted that an X server would be running. I pinned the Cygwin/X "XWin Server" Start Menu item to the taskbar. When I click that, I get "Cygwin/X Server 0:0" and "X applications menu on :0" icons in the systray. I set up to have a mintty window launched, near the end of ~/.startxwinrc, copied from /etc/X11/xinit/startxwinrc, which now ends: if [ -x /usr/bin/x-terminal-emulator ] ; then /usr/bin/mintty - & fi exec /usr/bin/xwin-xdg-menu fi So that control still ends up in the XDG menu. As mintty does not take normal XTerm options, it is run explicitly. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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