From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Cygwin/X does not seem to work on Windows 10
Date: Tue, 04 Jun 2019 13:26:00 -0000 [thread overview]
Message-ID: <12a87e55-2af2-2c95-6426-604850516cfd@SystematicSw.ab.ca> (raw)
In-Reply-To: <2bf76c1b-1cf5-4097-940d-0634e8db2ca6@www.fastmail.com>
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
next prev parent reply other threads:[~2019-06-04 13:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 11:52 Ronald Fischer
2019-06-04 13:18 ` Massimo Balestra
2019-06-04 13:28 ` Ronald Fischer
2019-06-04 13:26 ` Brian Inglis [this message]
2019-06-04 13:34 ` Ronald Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12a87e55-2af2-2c95-6426-604850516cfd@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).