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:subject:to:references:from:cc:reply-to :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=UlRPzGFoPllrVayp 76R+VlhTIsz+Z0U7JHAZVXPlRA/vc8cGISQXHBrIowofiBpWJP0zPg3sRihJVzBS eJS6ZAHqKOclGCzB8lmk0J8tCSE30f65QJMTeVzPfC9msbKHibEpmyNT21NX8wD8 dh53KdAEb3P/o1uMnVcgnuoOo2k= 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:subject:to:references:from:cc:reply-to :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Q6k5znAM4cVp9GDkvG9s1/ bVa2Q=; b=ou/YdzNXFrJ0PLgMo2uSxeP8Y1AfT6hlzdjq+8GSwDbOcUNgiaokHl pj3nZl86zPS6C/FhGmLC7YjGmafCp2F8fU3TLEZXP0r5S+IOfMgk3IAGgzvoquXv tRkV8pjgDpdvr9k/k0mwhtsy92S8aXeU72u0OYp9Ce6sbWDt8+4f8= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=invoke, H*Ad:D*mit.edu, H*MI:sk:CAK-n8j, Box X-HELO: out5-smtp.messagingengine.com Subject: Re: Home directory has blank space, X resources not recognized To: cygwin AT cygwin DOT com References: From: Jon Turney Cc: Jim Reisert AD1C Reply-To: cygwin AT cygwin DOT com Message-ID: <57063242.2070806@dronecode.org.uk> Date: Thu, 7 Apr 2016 11:11:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 06/04/2016 17:48, Jim Reisert AD1C wrote: > My employer is making us use Box Sync for backup. We have to move all > directories we want backed up into the Box Sync folder. > > So I have moved my Cygwin ~ (home) directory to that folder. I > configured nsswitch.conf as follows: > > db_home: /cygdrive/c/Users/reisert/Box%_Sync/Home > > Most things are working. However, my Xterms are coming up in the > default 80x24 format with black text on a white background. The Xwin > server does not seem to recognize my ~/.xserverrc file which contains > simply: > > exec /usr/bin/XWin -notrayicon "$@" ~/.xserverrc is not read by the X server, it used to invoke the X server by the startxwin script. I'm not sure how this connects to the problem with Xresources. > I did not state this correctly. I should have written: > > The Xwin server does not seem to recognize my ~/.Xresources file. > > I can do this from an xterm: > > xrdb ~/.Xresources > > Then my X resources will get loaded properly. Likewise, ~/.Xresources is not loaded by the server, but by the scripts which startxwin invokes to start the X session. > What can I do to fix this? Following the twisty path /usr/bin/startxwin -> /etc/X11/xinit/startxwinrc -> /etc/X11/xinit/xinitrc-common does the actual loading of ~/.Xresources, and I guess is possibly missing some needed quotation? -- 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