* Cygwin/X does not seem to work on Windows 10
@ 2019-06-04 11:52 Ronald Fischer
2019-06-04 13:18 ` Massimo Balestra
2019-06-04 13:26 ` Brian Inglis
0 siblings, 2 replies; 5+ messages in thread
From: Ronald Fischer @ 2019-06-04 11:52 UTC (permalink / raw)
To: cygwin
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.
Ronald
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin/X does not seem to work on Windows 10
2019-06-04 11:52 Cygwin/X does not seem to work on Windows 10 Ronald Fischer
@ 2019-06-04 13:18 ` Massimo Balestra
2019-06-04 13:28 ` Ronald Fischer
2019-06-04 13:26 ` Brian Inglis
1 sibling, 1 reply; 5+ messages in thread
From: Massimo Balestra @ 2019-06-04 13:18 UTC (permalink / raw)
To: cygwin
> - 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
I don't know XLaunch but for the Xwindows I prepared a shorcut that run:
D:\cygwin64\bin\XWin.exe -multiwindow -listen tcp
I need the -listen tcp because I use XWin mainly through a tunnel ssh
And it works perfectly in windows 10 (1809)
Have fun
Massimo
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin/X does not seem to work on Windows 10
2019-06-04 11:52 Cygwin/X does not seem to work on Windows 10 Ronald Fischer
2019-06-04 13:18 ` Massimo Balestra
@ 2019-06-04 13:26 ` Brian Inglis
2019-06-04 13:34 ` Ronald Fischer
1 sibling, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2019-06-04 13:26 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin/X does not seem to work on Windows 10
2019-06-04 13:18 ` Massimo Balestra
@ 2019-06-04 13:28 ` Ronald Fischer
0 siblings, 0 replies; 5+ messages in thread
From: Ronald Fischer @ 2019-06-04 13:28 UTC (permalink / raw)
To: cygwin; +Cc: massimobalestra
On Tue, Jun 4, 2019, at 15:18, Massimo Balestra wrote:
>
> > - 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
>
> I don't know XLaunch but for the Xwindows I prepared a shorcut that run:
>
> D:\cygwin64\bin\XWin.exe -multiwindow -listen tcp
This is interesting, because the way to use XLaunch is the one which is described on the Cygwin/X website.
Anyway, I did I started it from the Windows command prompt, as you suggested (without the -listen option because I don't plan to use ssh), and when I then start my
DISPLAY=:0.0 xterm &
I get the error message
xterm: cannot load font "-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"
which means that at least the DISPLAY is not a problem anymore. Don't know why it can't find a suitable font, since I have installed plenty of fonts from the Cygwin X11 category. What still does not work is the "X-icon" in the notification area.
As a further test, I started
DISPLAY=:0.0 xeyes &
because this for sure doesn't need any font. This worked too.
Ronald
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin/X does not seem to work on Windows 10
2019-06-04 13:26 ` Brian Inglis
@ 2019-06-04 13:34 ` Ronald Fischer
0 siblings, 0 replies; 5+ messages in thread
From: Ronald Fischer @ 2019-06-04 13:34 UTC (permalink / raw)
To: Brian Inglis, cygwin
> 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.
When I start it via the "XWin Server" entry in the Start Menu - which I have discovered just now, since you mentioned it, I do not get anything in the systray.
However, when I use the FVWM entry in the Start Menu, I get a maximized window inside which fvwm is running, and inside this, I can - from the context menu - start among others xterm etc.
Ronald
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-06-04 13:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 11:52 Cygwin/X does not seem to work on Windows 10 Ronald Fischer
2019-06-04 13:18 ` Massimo Balestra
2019-06-04 13:28 ` Ronald Fischer
2019-06-04 13:26 ` Brian Inglis
2019-06-04 13:34 ` Ronald Fischer
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).