| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org AD68E3857834 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1601450596; | |
| bh=Ia2wsOGS9/lUvZHAdnXpz0HGOOYSg7VBpuzdsPw56Yk=; | |
| h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
| From; | |
| b=l2lsFDA4yey4scx+++tPjFUj1MCEznbjj8UaKqeqpJ4IVbviBsH1vZ8vLB2EIOZVD | |
| rDhInYC1X5AQZa/s8Y3rAfPr6fPgWohQf0cDOZ2t6xtgrjg3hEzFCm0cj4grJ/sON+ | |
| CmAjirrvBse23URMXEuWxeIHDGnrMTUmrI37L5y8= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org B6B423857804 |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=1e100.net; s=20161025; | |
| h=x-gm-message-state:mime-version:references:in-reply-to:from:date | |
| :message-id:subject:to:cc; | |
| bh=8axg+TpnF62uDyU2y3sQCETZpmx+f1g73yzM1g9eXN8=; | |
| b=SCE+EOeU7zDXHXMmE/CQutkN4Ssrd5gtUO0Jc003avP9eFuxj/pKW91iiQ1aYK8MkF | |
| RRb0idRmI+nDYnZ7/5R5TU1hV7pROcZ2rRllMFydHAAt6B4ryioCqhsAMLkfU89Sq9kH | |
| P5Qa9VyTmhr7NqxiQq4Y40iORjBHxMPkF10EUKbGDRxmsxPxeXd1T4r2ykHcS0jzZXdW | |
| 7UZwCVdzXmb2twjCd1QfZUj5NfUYxjVcA4YSr+MqNViuU6POOKhK768b3SJ29CJUYooX | |
| B9NkVKTBJLlZuawDY6zjX/WHgXWWNGqPYMOvef/MwX4Rs0/ukUID6u/gjyDBLRMAAqeK | |
| sr2g== | |
| X-Gm-Message-State: | AOAM533JShY2OfAvCbvBliHgQCADq+IWJH9PJyIlfIOuL6+uKLPInlHz |
| hQYXoXBwHO1UcskffAthUcynp7lS2H5rWZJ6Gbs= | |
| X-Google-Smtp-Source: | ABdhPJzZxep1PsBQAOEMmEa4HztFwwU/Ya6LcvYQSGSztYcrfDCGVuzE/XPKrodfi52/KKHpn+//GTdX1NGNCw9t+pM= |
| X-Received: | by 2002:a2e:b530:: with SMTP id z16mr486753ljm.143.1601450592075; |
| Wed, 30 Sep 2020 00:23:12 -0700 (PDT) | |
| MIME-Version: | 1.0 |
| References: | <CA+rGx5c=0nuzfvYaZDzLqFm2ethjqr8ODqRr4U5N1eo0KJg0kQ AT mail DOT gmail DOT com> |
| <2c7d0361-b78c-f2e9-01d6-17fc879c5c91 AT cs DOT umass DOT edu> | |
| In-Reply-To: | <2c7d0361-b78c-f2e9-01d6-17fc879c5c91@cs.umass.edu> |
| Date: | Wed, 30 Sep 2020 09:23:00 +0200 |
| Message-ID: | <CA+rGx5dDhacV0ynBooiaHsTdVxWZtFKcDCuvHckp2DHRHCJO+A@mail.gmail.com> |
| Subject: | Re: Cygwin/X11 on Windows 10 |
| To: | moss AT cs DOT umass DOT edu |
| X-Spam-Status: | No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
| DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, | |
| KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, | |
| TXREP autolearn=no autolearn_force=no version=3.4.2 | |
| X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
| server2.sourceware.org | |
| X-Content-Filtered-By: | Mailman/MimeDel 2.1.29 |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.29 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Thomas Schweikle via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Thomas Schweikle <tschweikle AT gmail DOT com> |
| Cc: | Cygwin <cygwin AT cygwin DOT com> |
| Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
Tried it. Does not work. X11 is fired up and terminates immediately. I am
using:
~/.startxwinrc:
#!/bin/bash
xterm &
exec sleep infinity
changing "exec sleep infinity" to wait does not change anything.
"~/.startxwinrc" is mode 0755:
-rwxr-xr-x 1 sct-muc user 42 30. Sep 09:12 .startxwinrc
And XLaunch is started with:
C:\cygwin\bin\run.exe /bin/xlaunch -p /usr/bin -run
/home/sct-muc/.config/XLaunch/config.xlaunch
config.xlaunch holds:
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="True"
Display="0" RemoteProtocol="" LocalProgram="xterm" RemoteProgram="xterm"
RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False"
XDMCPIndirect="False" Clipboard="True" ExtraParams="" Wgl="True"
DisableAC="False" XDMCPTerminate="False" SSHKeyChain="False"
SSHTerminal="True" ExtraSSH=""/>
On Tue, Sep 29, 2020 at 2:30 PM Eliot Moss <moss AT cs DOT umass DOT edu> wrote:
> On 9/29/2020 6:26 AM, Thomas Schweikle via Cygwin wrote:
> > Hi!
> >
> > I've managed to install cygwin/X on Windows 10. Now I'm looking for
> command
> > "startxwin" -- does not seen to exist. If following instructions from
> > https://x.cygwin.com/docs/ug/setup.html it should be installed? Or is
> an
> > extra package selected needed beyond what is given in upper mentioned
> > handbook online?
> >
> > If I start "XWin.exe -multiwindow" directly it starts and finishes
> > immediately. The recommended idea of creating an
> > executable "~/.startxwinrc" holding only "exec sleep infinity" does not
> > help. Same behaviour as before. Any other suggestions?
>
> startxwin is in the xinit package. Personally I use xlaunch, in the
> xlaunch package. xlaunch with no arguments fires up a GUI where you
> can configure it and save an xlaunch file, e.g., ~/config.xlaunch.
> I put a link to xlaunch in my Windows task bar, with the follow
> command line it:
>
> C:\cygwin64\bin\run.exe /bin/xlaunch -p /usr/bin -run
> /home/moss/config.xlaunch
>
> You'll need to change paths for your file locations, of course.
>
> It uses startxwin. Below is my personal .startxwinrc file for a sample.
> It
> starts a couple of xterm windows and an emacs, all iconized. The emacs
> geometry suits my high resolution screen. The "wait" is important -
> otherwise
> things exit immediately and the X server terminates.
>
> #!/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 &
> emacs --chdir=${HOME} --no-splash --iconic --geometry=130x60+100+100 -T
> emacs &
> wait
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
--
Thomas
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |