public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-xfree@cygwin.com
Subject: Re: X server doesn't start with a empty .startxwinrc
Date: Thu, 18 Dec 2014 11:20:00 -0000	[thread overview]
Message-ID: <5492B876.30404@gmail.com> (raw)
In-Reply-To: <loom.20141218T112836-63@post.gmane.org>

On 12/18/2014 11:51 AM, Jean-Marc Colagrossi wrote:
> Hi all,
>
> I need you help to understand what's wrong with X server or my .startxwinrc
> file.
>
> I work with X server -> Xterm and vim since month now. Every thing was
> always working perfectly.
>
> Yesterday I upgraded all cygwin packages and just after that I was unable to
> start X server again.
>
> I made a new fresh installation and X server works correctly. Then I made a
> copy of my olds files like .startwinrc, .bashrc .vimrc and all my shortcuts.
> When I tried to start the X server I had the same problems. X server crashed.
>
> I removed one by one all the files I copied up to I deleted .startxwinrc.
> Then the X server start correctly. my .startxwinrc had only 3 lines with :
>
> xterm -bg Black -fg White&
>
> I deleted all the lines just to have a blank .startxwinrc. But X server
> still crashes.
>
> Here is the log when I run startxwin from terminal with an empty
> .startxwinrc file
>
> I don't understand what I did wrong as it was working fine before.

xinit behavior is changed, see relative announcement
http://www.cygwin.com/ml/cygwin-xfree-announce/2014-11/msg00004.html

It will execute all command of .startxwinrc  or startxwinrc
and then the X server will shutdown.

you can
1) remove .startxwinrc, so that the default will prevail.
    see for an example /etc/defaults/etc/X11/xinit/startxwinrc

2) you put in .startxwinrc any command without "&"
    and the xserver will close when that command will end.

    as examples:
      xterm -bg Black -fg White
      sleep inf

You are not the first one, that was caught by surprise.
Re-reading the announcement helped me on understanding the matter.


> Thank you
>
> Regards,
>
> Colagrossi Jean-Marc

Regards
Marco


--
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-18 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 10:55 Jean-Marc Colagrossi
2014-12-18 11:20 ` Marco Atzeri [this message]

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=5492B876.30404@gmail.com \
    --to=marco.atzeri@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).