Home directory has blank space, X resources not recognized

Jon Turney jon.turney@dronecode.org.uk
Thu Apr 7 10:11:00 GMT 2016


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



More information about the Cygwin mailing list