{"id":9577,"date":"2018-04-18T14:36:58","date_gmt":"2018-04-18T12:36:58","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=9577"},"modified":"2018-04-18T14:36:58","modified_gmt":"2018-04-18T12:36:58","slug":"updating-cygwin-installation","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2018\/04\/18\/updating-cygwin-installation\/","title":{"rendered":"updating my cygwin installation left me in trouble again &#8212; was: Microsoft Windows and the X Window System"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/X_Window_System\">https:\/\/en.wikipedia.org\/wiki\/X_Window_System<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Cygwin\/X\">https:\/\/en.wikipedia.org\/wiki\/Cygwin\/X<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/SSH_tunnel\">https:\/\/en.wikipedia.org\/wiki\/SSH_tunnel<\/a><\/li>\n<\/ul>\n<blockquote><p>$ startxwin<\/p><\/blockquote>\n<p>I usually prefer the <em>rootless<\/em> way.<\/p>\n<p>My applications nowadays &#8220;usually&#8221; run on a Linux (Debian, \u2026) system or AIX.<\/p>\n<p><strong>Update 2018-04-18<\/strong>: After some cygwin updating startxwin prefers to shut down immediately instead of offering me a menu (&#8220;<em>xwin-xdg-menu &#8230; &#8212; an XDG Desktop Menu Specification menu<\/em>&#8220;) in the system tray. I only use it for starting a <em>Cygwin terminal<\/em>. How bad, I wasn&#8217;t able to recall the name of that menu. You cannot search, what you cannot name.<\/p>\n<p>I had no idea, that startxwin uses this start-up file: \/etc\/X11\/xinit\/startxwinrc .\u00a0The last utility called there usually makes X wait for ever, but it faulted:<\/p>\n<blockquote><p>\/usr\/bin\/xwin-xdg-menu<\/p><\/blockquote>\n<p>This is an alternative way to start X \/\u00a0my fallback solution:<\/p>\n<blockquote><p>$ xinit &#8212; -multiwindow -clipboard<\/p><\/blockquote>\n<p>Within a shell window started there I ran:<\/p>\n<blockquote><p>$ strace\u00a0\/usr\/bin\/xwin-xdg-menu<\/p><\/blockquote>\n<p>It said, there was a problem with\u00a0 cygfreetype-6.dll . This web page tells you, which cygwin packages include the file in question:<\/p>\n<blockquote><p>https:\/\/cygwin.com\/cgi-bin2\/package-grep.cgi<\/p><\/blockquote>\n<p>I reinstalled that package, and everything was fine.<\/p>\n<p>Any lesson learned? The cygwin updating silently (?!?) left at least one corrupt file (again &#8230;). Quite hard to find out, which one was concerned. I reinstalled that package within cygwin set-up, and my problem was solved. I cost me a couple of hours &#8212; and I did not need the thrill, trust me!\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/en.wikipedia.org\/wiki\/X_Window_System https:\/\/en.wikipedia.org\/wiki\/Cygwin\/X https:\/\/en.wikipedia.org\/wiki\/SSH_tunnel $ startxwin I usually prefer the rootless way. My applications nowadays &#8220;usually&#8221; run on a Linux (Debian, \u2026) system or AIX. Update 2018-04-18: After some cygwin updating startxwin prefers to shut down immediately instead of offering me a menu (&#8220;xwin-xdg-menu &#8230; &#8212; an XDG Desktop Menu Specification menu&#8220;) in the system tray. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[82,347,564,721,722,723],"tags":[1326],"class_list":["post-9577","post","type-post","status-publish","format-standard","hentry","category-cygwin","category-microsoft-windows","category-ssh","category-x-window-system","category-x-window-system-unix","category-x11","tag-startxwin"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-2ut","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/9577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=9577"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/9577\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=9577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=9577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=9577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}