public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin@cygwin.com
Cc: Jim Reisert AD1C <jjreisert@alum.mit.edu>
Subject: Re: Home directory has blank space, X resources not recognized
Date: Thu, 07 Apr 2016 10:11:00 -0000	[thread overview]
Message-ID: <57063242.2070806@dronecode.org.uk> (raw)
In-Reply-To: <CAK-n8j5x9XS9EHU0Ecg7upcr2vxRmGS7B8MgAjQNME1TE_wH9w@mail.gmail.com>

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

  parent reply	other threads:[~2016-04-07 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 16:48 Jim Reisert AD1C
2016-04-06 16:52 ` Jim Reisert AD1C
2016-04-07 10:11 ` Jon Turney [this message]
2016-04-07 19:17   ` Jim Reisert AD1C

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=57063242.2070806@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=jjreisert@alum.mit.edu \
    /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).