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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=qeEAqW6QeXiHZsuD F8o0+CGcBYAOrizA3HSb+ukySXOj3JcOBfWLA8SZRw99qt9DJCxk2QLXWwMGqEN5 ODMYIkDOTXqg2Q6JfKUQbL9wbBKAMwkk2acD4aQdgi31UHthRnvhJmZIGgmqdVO0 3nI4NKAiGZTZz/Hh4mFb4D0T2SM= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=0sRo99bPHVmA0EEsicOhkE Raqy8=; b=xf2htrxIX8cm5WAHUBlYdkOLltVT/h/dq4/NxXtWrGPlQ4+gPh6k0w OzsYVi2rxRJeta9i1D5TqNrrwe6KyeJaM5rwfw1azoM8WCHOLiffFPHhoWQB+S0a zaqDWclEklA9vi2FAtsK7FjTT25Q8CcRYD5K+URy6iavDAAAn020U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Cygwin/X does not seem to work on Windows 10 To: cygwin AT cygwin DOT com References: <2bf76c1b-1cf5-4097-940d-0634e8db2ca6 AT www DOT fastmail DOT com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <12a87e55-2af2-2c95-6426-604850516cfd@SystematicSw.ab.ca> Date: Tue, 4 Jun 2019 07:26:09 -0600 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 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