This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Home directory has blank space, X resources not recognized

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

     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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]