delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/20/02:00:37

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=S++rgHPaSxbmoaD0
8GFBSGGkc836dWvrGzKXAHtt8RMDyg3bedX60I5BATXasWt3cLPe53R9tCkVSWSA
127zkrD92N3QtqRHLcnWwPie+yYkQdKryLmzSvT5Tc8CK59p2KFG5gdlQmZxS5qU
knrqTywaDJa8zfYpD8ttk6E1PA0=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=wl0ybYMCpihx91IOl6KOxh
QNmxM=; b=dcYJbp/vvKA03P0sGTLg83YNM7Admd+zfBLigjEc/0BSs2E8v+qoNw
s97q8D0VpsWrVdx0FRQ2gZRiBMbZ2XihAwVyWp/C/3wbC/s14wwykEWYh9xtwTGO
Kk9omw/cVTRKBKce9BtajzImsZzY3Gkm66YFoa89Hf+SBiVlFW7YM=
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=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=usinghtml, using.html, UD:using.html, H*f:CAPw2spi1
X-HELO: mail-wm0-f47.google.com
X-Received: by 10.28.93.195 with SMTP id r186mr12134596wmb.37.1450594809242; Sat, 19 Dec 2015 23:00:09 -0800 (PST)
Subject: Re: how to start properly the X server at session start without the X menu?
To: cygwin AT cygwin DOT com
References: <CAPw2spi1=WPOK-+PQnvvjAbh0eWPB88PzrXcJ3Dr_o2xPo6FAA AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <567651F1.4090000@gmail.com>
Date: Sun, 20 Dec 2015 08:00:01 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CAPw2spi1=WPOK-+PQnvvjAbh0eWPB88PzrXcJ3Dr_o2xPo6FAA@mail.gmail.com>
X-IsSubscribed: yes

On 20/12/2015 07:07, Frédéric Bron wrote:
> Hi,
>
> I used to have the X server launched automatically when I start a new
> windows session (windows 7). I had the following shortcut in my
> Startup folder
> Target: C:\Softs\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c
> /usr/bin/startxwin.exe
> Start in: C:\Softs\cygwin64\bin
>
> Then I was able to start any X program from command line. That woked
> fine. By the way it seems that the DISPLAY environment variable was
> 127.0.0.1:0.0.
>
> This does not work anymore.
>
> I have found that in Cygwin-X menu, there is an Xwin Server shortcut
> with the following:
> Target: C:\Softs\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c
> "cd; /usr/bin/startxwin"
> Start in: C:\Softs\cygwin64
>
> This seems to work differently:
> - the DISPLAY variable has to be just :0 to work from command line,
> - there is an additionnal tray icon with X menu with many applications.
>
> I do not want the menu and I would like to have again the X server
> started automatically without manually change the DISPLAY variable.
> How can I come back to the old behavior?


If you set DISPLAY=127.0.0.1:0.0 than you need
   startxwin -listen
as '-nolisten tcp' is now the default

"startxwin.exe" was replaced by the script "startxwin"
for that the old shurtcut was replaced by the new one.

If extra program are started that you don't want
looks on the contents of
  ".startxwinrc"


Further reading:
https://cygwin.com/ml/cygwin-announce/2015-10/msg00111.html
http://x.cygwin.com/docs/ug/using.html


> Regards,
>
> Frédéric

Regards
Marco

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