public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Tim Kingman <tim.kingman@gmail.com>
To: cygwin-xfree@cygwin.com
Subject: Re: 64-bit xfree86 failing
Date: Mon, 01 Dec 2014 16:35:00 -0000	[thread overview]
Message-ID: <CAGZ6-66x3sCOmNFpN19VTceQ8nYs1QqDZ+7JH=HRWFS0mk=Amw@mail.gmail.com> (raw)

I see the same issue, and it looks like this is because I have an
empty (commented-out) ~/.startxwinrc

Removing this file causes X to open and start an xterm, probably
because it broke several of the new rules in
https://cygwin.com/ml/cygwin-xfree/2014-11/msg00029.html :
* User-defined ~/.startxwinrc files must now be executable, the final
command therein must be run in the foreground, and that command's
exiting will end the X session, just like with startx and ~/.xinitrc
or ~/.Xclients.

This causes another problem for me because my .bashrc calls startxwin
to make sure I always have an X server running ( per
http://stackoverflow.com/a/9301966 ), and then I get caught in a loop
of launching new X servers infinitely (probably from startxwin now
finding a new DISPLAY, and if I specify both :0 and -silent-dup-error,
XWin still writes an error to the console that display 0 is already
active, and displays a Windows dialog with an error about not being
able to move XWin.0.log to XWin.0.log.old ).

I'll keep playing with this to see if I can come up with a solution to
duplicate my previous behavior: Any new bash shell makes sure that X
is running, with no X apps running, and only one X is running, and new
shells don't pop up any "display already exists" errors.

Thanks,
Tim

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


             reply	other threads:[~2014-12-01 16:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01 16:35 Tim Kingman [this message]
2014-12-01 20:32 ` Mark Hansen
2014-12-01 21:33   ` Tim Kingman

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='CAGZ6-66x3sCOmNFpN19VTceQ8nYs1QqDZ+7JH=HRWFS0mk=Amw@mail.gmail.com' \
    --to=tim.kingman@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /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).