delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/30/06:22:46

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=IbHCvQ6bkNNiSPaX
DUIv5xilFcBD0P3DS0aJN7NQczNomh/dXALv7c8YaIYZ7MQKj9KjZeYEiGGMmDUg
0uvDFQVBua0DVV8hRpLXYrC2R2YYIdrbA31Vcig6tw/OuL1jrVUnShFKQ+4LCBLk
wu2q/nLVo7caufLgGAldYU6f/WE=
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=IecUHzcVBZ8/dFFbKFhXOh
hML/4=; b=JC9GjW1U2auo673sR4KM23eLICv0njwuMQfnocaZLLL4+7IdBdwR8e
uRKC2zN1vOE8fJzH4so4RXCcibSDhehaWbzCbEd4s1iksmqXwxU0UjtxgfvD17kq
NNX/oe5/JEeFb83K7mZVjESz+qcKxuZEC716R7pEg9YDNWQuMPmN0=
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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=category, Marco, 2009, upgrade
X-HELO: mail-wr0-f171.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=v0VWjRkkm92UXhIJouC+LapXT7kN1kOt/gZvG3U8vCc=; b=JMRSa0UGT3Jys2OsX9GtcjcQREBNtdKtzB100SEljo1MN42lxum6cerGj1QuXrSWei QDUNqrCFl8tQkfp0/XYWhrcIn4UD1LCVEXUAjXnb6cG9w/u/WkY0mi8xLmaZg1BHRS8t WyTw3gT6Xtw7U6QbBkT4u7RqNRPMV1OogCmYY7MIXEHuAhETnn5HPUls11u7LVaGfBXG 73ZjTlYZzRolk3aBjmr0wFlsURHLIgHvDN+F7q/YUlychK9YmshTbpuBVVx3tIl9CIOh EE9wTWNL2pRkfQ+3pPesgrxq0Gqu4kU5k2L/Dd7p1aW/ehdVHW4cMeBec3rkiDWI1w1o ZkJg==
X-Gm-Message-State: ALQs6tAvaB2Td7bLs6lNxSni1OA5igaE/m6y0FRl9hZkOSM3YiDsYhX8 UKUGpkqaZ6NkDOhM5wkIphObe7oD
X-Google-Smtp-Source: AB8JxZpK7IUXo1LeT1/ufSg1C/dpTXsw1PLtDf7LNDCymqz7BkANdLhsg0q7lgcJ3XrqEo05KwfeNw==
X-Received: by 2002:adf:a453:: with SMTP id e19-v6mr8153075wra.121.1525083694535; Mon, 30 Apr 2018 03:21:34 -0700 (PDT)
Subject: Re: Cygwin X11 Server slow performance
To: cygwin AT cygwin DOT com, Paul Sheer <paulsheer AT gmail DOT com>
References: <CABxOuY8egyTzYbXGaTeyjt0AC=Wh5KQncmu3tj35KDk4k6hENw AT mail DOT gmail DOT com> <CABxOuY-FqQcjaUBRKc3s2LoRHOPOUTYEh_iOSTh85EquJiGLYw AT mail DOT gmail DOT com> <5d579671-213c-c742-05b2-b771a827b6f5 AT cygwin DOT com> <CABxOuY8ep65KrDQX4X4S5em=W4hS4F_86GzcWAOVD7hr2aMx-Q AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <c114dca3-d295-3a4d-0a17-0c72b8bc3e41@gmail.com>
Date: Mon, 30 Apr 2018 12:21:33 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CABxOuY8ep65KrDQX4X4S5em=W4hS4F_86GzcWAOVD7hr2aMx-Q@mail.gmail.com>
X-IsSubscribed: yes

On 4/30/2018 6:48 AM, Paul Sheer wrote:
>>
>> Cygwin/X is most definitely being used, and this might help:
>>
>> https://x.cygwin.com/docs/ug/using-shared-memory.html
>>
> 
> 
> Being used? I find that very difficult to believe.
> 
> There are a large number of usability problems I have found and I have only
> been using Cygwin for a couple of hours. It's does not seem ready for
> release yet IMO.

as we are using by more than one decade
and the first 64 bit version was released in 2009

https://sourceware.org/ml/cygwin-announce/2009-12/msg00027.html

we are sure that it is usable.


> 1. There seems no way to map particular important keys. For instance
> Left-Alt-Tab should be configurable to either Windows or X11 depending
> on the users preference, and this configuration should be available in a menu
> somewhere easy to find -- but it has no configuration menus on the top bar
> like normal applications.
> 
> 2. it is extremely difficult to work out that
> "C:\cygwin64\bin>XWin.exe -ac -listen tcp" is the appropriate command
> to type to get the server to serve a remote Linux machine. This seems
> like a common use case -- so why "hide" this information?

It is not hidden.
It is an upstream setting, we are just using the default.

> 3. Forgets that you have your mouse button held down if you drag past
> the edge of the X screen. It should not let your mouse cursor out the
> X screen when you are dragging.
> 
> 4. Is there no option like XWin.exe -ac -listen 10.12.21.0/24 to
> restrict connections to a particular network?? This seems very easy to
> implement and solves the security problem. It might be in a menu also.
> 
> 5. The performance issue is not related to the shared memory problem.
> My text editor has multiple ways of rendering 8x13bold (font-struct font-set and
> pixmap) and they are all slow. XMing is also slow (I have notified
> Colin Harrison
> but even after a year he cant fix it).

Than probably something on your machine is interfering.
It will be difficult to debug without further info from your side.

> This latency may be because you are not using Windows accelerated
> rectangle copies, or it may be because you have not disabled the
> Nagle algorithm for latency.
> 
> 
> 6. cygserver-config does not work. It gives:

It works. You just seems to have the wrong expectation.


> 
> [[[
> 
> psheer AT psheer-HP ~
> $ cygserver-config
> Overwrite existing /etc/cygserver.conf file? (yes/no) yes
> Generating /etc/cygserver.conf file
> chown: changing ownership of '/etc/cygserver.conf': Permission denied
> 
> Warning: The following function requires administrator privileges!
> 
> Do you want to install cygserver as service?
> (Say "no" if it's already installed as service) (yes/no) yes
> /usr/bin/cygrunsrv: Given path doesn't point to a valid executable
> Try `/usr/bin/cygrunsrv --help' for more information.
> 
> Installation of cygserver as service failed.  Please check the
> error messages you got.  They might give a clue why it failed.
> 
> A good start is either you don't have administrator privileges
> or a missing cygrunsrv binary.  Please check for both.
> 
> ]]]
> 
> 
> 7. Surely the above program can check if it is a privilege problem
> or not and simply tell you?  Why should I have to read through
> documentation to enable a simple "checkbox" feature when it
> can only be On or Off and there are no other options???
> 
> 8. cygwin seems to have the concept of an administrator, but there
> is no root user or way to switch to a root user using su. If these things
> exist, then they should be there by default and work as default so as
> not to require the user read documentation. Is my default user the
> administrator?  It should be -- it is a home PC. I can't even tell what
> the intended behavior is. It keeps asking me for a password for
> psheer but I have never set a password on this PC.

Windows has the concept of administrator.
Cygwin runs on top of cygwin and lives in that concept.

> 9. There is no package management that works properly. The
> install program setup-x86_64.exe seems to re-download things
> that are already downloaded. It is kludgy and everything is ambiguous.
> It seems unclear what is a label telling you the state, or a button telling
> you to switch to a state. Surely it is easy to make a Gtk or Qt interface
> for this package manager?

May be the package manager is not intuitive for you, but it works.
I do not find the changes from every version of MS Office release
intuitive, and I need to re-learn the interface, but Office works.

> How do you know what a "minimal" set of packages is?

The minimal is the base Category, that is offered as default on first 
installation.

> 
> Do I have to install everything?

Why ? The FAQ recommends against such solution.
https://cygwin.com/faq.html#faq.setup.everything
Just install what you need to use.


> If I install everything does it cache what it has downloaded so
> as not to download everything again?
> 
> Normal windows packages do not require you ask any of these
> questions -- the install interface makes it clear.
> 
> 
> 10. After trying to install more packages I now get: "The procedure
> entry point __memcpy_chk could not be located in the dynamic link
> library cygwin1.dll"

it seems you need to reinstall the last "cygwin" package,
as __memcpy_chk was added in last release.

You probably ran an upgrade with some cygwin process still
running and the cygwin1.dll was not properly update.

> 11. Surely the Start menu should have a cygwin-packages menu
> item to manage package, get dependencies correct, and verify
> the integrity of an installation.
> 
> 12. Your documentation is extremely strange. For instance
> you have "https://x.cygwin.com/docs/ug/using-clipboard-integration.html".
> Why would any user ever read about clipboard integration???
> The clipboard problems and the relationship between X11 and Windows
> have been solved many years ago. This is evident from the fact that
> Ubuntu, when installed under Oracle Virtual box, does Copy-n-Paste between
> Gtk and Windows and Unicode copy-paste even works perfectly
> in both directions. So copy and paste should "just work". Any configuration
> should be in menus anyway.
> 
> 13. Why do some binaries run on the command line and do nothing
> and show no error??? Unix never does this.

You have some broken dependencies as #10.
May be more that just only the cygwin1.dll

If you cripple your Unix installation, also that does not work.

If you provide the cygcheck.out as requested on
http://cygwin.com/problems.html
we could help you.

> I hope this all helps.
> 
> I'll be uninstalling cygwin now because I can't waist any more time on it.

Not very useful for us, and I doubt for you.
But we can help you, starting with the cygcheck.out analysis if you 
provide it.


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