From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26943 invoked by alias); 30 Jan 2017 13:54:25 -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 26924 invoked by uid 89); 30 Jan 2017 13:54:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=cygwin-announce, cygwinannounce, sk:jeff_sc, jeff_schenckattnet X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Jan 2017 13:54:13 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3E84F20CA6; Mon, 30 Jan 2017 08:54:12 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 30 Jan 2017 08:54:12 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-166-190-63.range86-166.btcentralplus.com [86.166.190.63]) by mail.messagingengine.com (Postfix) with ESMTPA id CD2FD7E432; Mon, 30 Jan 2017 08:54:11 -0500 (EST) Subject: Re: X colormap problem when viewed via Microsoft Remote Desktop References: <20170129031635.GA2650@anarchy.local> Cc: Jeff Schenck From: Jon Turney To: cygwin@cygwin.com Message-ID: Date: Mon, 30 Jan 2017 13:54:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170129031635.GA2650@anarchy.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-01/txt/msg00386.txt.bz2 On 29/01/2017 03:16, jeff_schenck@att.net wrote: > After a fairly recent update of cygwin, I now find that all my X > windows (xterm, emacs, etc.) have color and font problems. Non-x > terminal windows are fine. Windows 7 is running as a VM on an esxi > hypervisor, so I view it remotely with Microsoft Remote Desktop. It > worked well on a previous cygwin release, but I don't have the exact > date when it changed. Also, I don't think the problem is with MRD > because I see it with VNC also. Thanks for reporting this problem. "color and font problems" is a bit vague. Can you upload a screenshot somewhere which illustrates this? This is unlikely to be a problem with actual X colourmaps unless you are using antique X clients which use 8 bit visuals. However, RDP can step down the display colour depth, whereas the colour depth of an X server root window cannot change, which can cause dithering to occur. Additionally, sometimes DirectDraw rendering to RDP doesn't seem to work properly, for unknown reasons. (This is discussed briefly in [1]) Since this has started 'recently', I guess it might be related to the '-compositewm' option being turned on by default [2]. So, you might try starting the X server with a limited colour depth (e.g. '-depth 16'), or try the '-engine 1' or '-nocompositewm' options [3]. [1] https://x.cygwin.com/docs/ug/using-terminal-server.html [2] https://cygwin.com/ml/cygwin-announce/2016-06/msg00045.html [3] https://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-command-line-args -- Jon Turney Volunteer Cygwin/X X Server maintainer -- 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