public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Home directory has blank space, X resources not recognized
@ 2016-04-06 16:48 Jim Reisert AD1C
  2016-04-06 16:52 ` Jim Reisert AD1C
  2016-04-07 10:11 ` Jon Turney
  0 siblings, 2 replies; 4+ messages in thread
From: Jim Reisert AD1C @ 2016-04-06 16:48 UTC (permalink / raw)
  To: cygwin

Hi,

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 "$@"

It does appear that my ~/.bashrc is executing normally.

What can I do to fix this?

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Home directory has blank space, X resources not recognized
  2016-04-06 16:48 Home directory has blank space, X resources not recognized Jim Reisert AD1C
@ 2016-04-06 16:52 ` Jim Reisert AD1C
  2016-04-07 10:11 ` Jon Turney
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Reisert AD1C @ 2016-04-06 16:52 UTC (permalink / raw)
  To: cygwin

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

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.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Home directory has blank space, X resources not recognized
  2016-04-06 16:48 Home directory has blank space, X resources not recognized Jim Reisert AD1C
  2016-04-06 16:52 ` Jim Reisert AD1C
@ 2016-04-07 10:11 ` Jon Turney
  2016-04-07 19:17   ` Jim Reisert AD1C
  1 sibling, 1 reply; 4+ messages in thread
From: Jon Turney @ 2016-04-07 10:11 UTC (permalink / raw)
  To: cygwin; +Cc: Jim Reisert AD1C

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Home directory has blank space, X resources not recognized
  2016-04-07 10:11 ` Jon Turney
@ 2016-04-07 19:17   ` Jim Reisert AD1C
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Reisert AD1C @ 2016-04-07 19:17 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

Jon Turney wrote:

> 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?

Thanks, Jon.  I attached cygcheck.out just in case there is something
of value there.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 130066 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-07 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 16:48 Home directory has blank space, X resources not recognized Jim Reisert AD1C
2016-04-06 16:52 ` Jim Reisert AD1C
2016-04-07 10:11 ` Jon Turney
2016-04-07 19:17   ` Jim Reisert AD1C

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).