delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/20/01:08:19

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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=xsH
tRkI0Fl1B2thMtO/zrfRq+6opcuwWDcxxUBf9Nm9ZBXvrV82enhNj+XLtgVD6DdQ
Cn65r5QuHFsSXnO2vVgCwKXqpBIut9PtfnCrEMJS9lRclXBDiYwZro/rc70wVphN
pTeta+F3lbLRFOs1a2opnvF4stKDH9ZmHQASib28=
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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=sVA9uK7Vj
YCtWQcKbsFj4Jdodlo=; b=D5CZNlMTtJAmLRIE4DqPavOLUJ/xQqE3tWQxuUmeZ
eXWnuQmXnNC3qfz8Mxe9oaDmA83zoI/xmFBarQbsI6LDeDsafb5dUZwYOvNVyzmm
8wxVBJLYncupw+40qc3cQx3g1UrTxcCebfWGVSQgd1qJSOVf92G1iVGyANBaYHbH
G8=
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.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=icon, DISPLAY
X-HELO: mail-yk0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=QY3Lge9IMMuJVkxzIJGIqWjE52bedn7BnxjRSC6Bmes=; b=fryVl3GBVpAtapjaEqiOZVU2AMkZgz2K46CfeA+kW0JL7SLlGeDjBPGgrxGfQ9SXgM hYK+IUqzjGongzv+n2xHdeM7ddCi/49HeLhixWZHVgw4s63gdq8baV6SJgQROb/X1u8c s9vPs+8ejAzjWtEvYiesiwtI8Kr8MRKSCfyfsNJo7hzGSI2MOQPnx5Hc8UwKHwcxgsiZ nnig2su4exUzLh6IWtpniNJMaGHd/j+kJ6uhZcudY8+DxyP4TGPYcYWsiYtEvlQxTRVk BU6L3yVHce+JcaNtkXsohQAVSKpJV2tCWx3saHZtrd0klYFIT2RjKSU+lpL2TiK2yIei K8Fg==
X-Gm-Message-State: ALoCoQnzFLdUSusNYYY7ioJE1zCtseaUSXkxMXSsSzyTQTwLL9XKzqxK6/4zlssmFQe6Y6wF9275CrQmiVqaCkjFxi4qbwLNlw==
X-Received: by 10.13.232.15 with SMTP id r15mr9847468ywe.6.1450591677402; Sat, 19 Dec 2015 22:07:57 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?B?RnLDqWTDqXJpYyBCcm9u?= <frederic DOT bron AT m4x DOT org>
Date: Sun, 20 Dec 2015 07:07:18 +0100
Message-ID: <CAPw2spi1=WPOK-+PQnvvjAbh0eWPB88PzrXcJ3Dr_o2xPo6FAA@mail.gmail.com>
Subject: how to start properly the X server at session start without the X menu?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tBK68FKl007920

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?

Regards,

Frédéric

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