delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/19/10:28:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=KGtKu8O0HlsrRfvO
6Jyov5k87RXpSzC1ifx5BRU7cx09OT++Z6ANj4s80X19FyqEDsK1w0BnzJkifp97
sE1WqmaLfprVUhI70b9lN01s1/fHBCleMG04zc9eNQm8qRBSDORpLmUatt+TJILz
bq2p9miCvuMgm1gOEgZdXMD5Qqo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=PBnAQPOAcLoH5+mmcrjZH2
y6DuE=; b=qDtRuR/BjO5Apl0IdE9zJjD4vma1Ls1IUNylrksBhr44NhL3xjjFhC
y+nim72KEV+jzO9H5e7qi6xDDfqQlyy7EfgCFpu3xst4P25FjAv6nOCDI+xM33x9
cs4sqedBjhUm39xgc82P8PcGkOqTvY4CfkucbN3kMcviyc9ADn2Y8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=opens, iconic, waits, here!
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: issues with startxwin not loading x windows
References: <DM5PR17MB12768795DBD00EEA33C3A48FFA150 AT DM5PR17MB1276 DOT namprd17 DOT prod DOT outlook DOT com> <DM5PR17MB1276B9CBF6665F06E9EC6688FA160 AT DM5PR17MB1276 DOT namprd17 DOT prod DOT outlook DOT com> <DM5PR17MB127634A59AEC4E4258700050FA160 AT DM5PR17MB1276 DOT namprd17 DOT prod DOT outlook DOT com>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <a432978c-d8f1-5dd8-4920-6dc2f6f25723@cs.umass.edu>
Date: Fri, 19 Aug 2016 10:28:07 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <DM5PR17MB127634A59AEC4E4258700050FA160@DM5PR17MB1276.namprd17.prod.outlook.com>
X-IsSubscribed: yes

Maybe I am way off base, but this seems similar to what will happen if a
.startxwinrc file's commands don't have something that waits.  My .startxwinrc
looks like this:

#!/bin/bash

xrdb -merge ${HOME}/.Xdefaults
xmodmap ${HOME}/.Xmodmap

UC="${USER} console"
xterm +tb -geometry 110x62+4+0  -T "${USER}" -n "${USER}" -name "${USER}" -bg rgbi:.0/.2/.2    -ls 
-iconic &
xterm +tb -geometry 110x62-10+0 -T "${UC}"   -n "${UC}"   -name "${UC}"   -bg rgbi:.5/.0/.1    -ls 
-iconic &
xemacs -iconic -geometry 110x61+0+0  -T xemacs &
wait


That is, it sets some defaults using xrdb and xmodmap and that opens two xterms and one xemacs.
Note that those last three commands end in & ... they are this started in background.  The
'wait' is very important here!  Without it, the X startup process terminates and then the
X server exits.

Hope this helps, or at least does not add too much noise to the conversation!

Eliot Moss

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019