From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96904 invoked by alias); 30 Apr 2018 04:48:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 96885 invoked by uid 89); 30 Apr 2018 04:48:51 -0000 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=connections, editor, integrity, privilege X-HELO: mail-oi0-f52.google.com Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com) (209.85.218.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Apr 2018 04:48:49 +0000 Received: by mail-oi0-f52.google.com with SMTP id k17-v6so6438415oih.5 for ; Sun, 29 Apr 2018 21:48:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=FJj89SkpoPSqF/Vb4Agl6e59a/57WDlsXcj9QbCXcbs=; b=eSxV4gY3s+MmgULqZ8JnKww/aRCNwXgozK8SysyYT2V0I1fHJwYppXa5CoIKnwMkyW eanrteIjEcJRMCdS5lYGFAWZfy/Sf4Eqf6n4SqQ7BPLtjhex/p4r4DW4BfkQcUnSN073 HN99xLWjyWhfEf3S6nnfTCnkX7esVk/6cLaNXKI8ye0fTLC0IpHfikUOQ14+sMbmm06T 8okUVNpkFQRKwl1DDG1rsNnBmuHKTf4b8wLOU9keX8CC/TZK9YU0YPv+ay0HUzC2p0gk hYxTiuLidoa/wkKaCPsn9v0HLWqmd0gjuhY6JkjZXXD4KTjVP3HsWhIK1zKuCUAgQ7fJ YMkA== X-Gm-Message-State: ALQs6tA4stvay4BY/4tgRfQmHRsbfWYYdwaqR4ysWKJub66iTxHGCSpm 1fabNjbXwmSzup1hleepsDOFFPAlfKNVESwnb2KSkw== X-Google-Smtp-Source: AB8JxZoz/NQdX75h/tc79p0hjVyPcv07HzAb5RkDt95kjusGfwrutS5qffMi5vE+1Y/2cBTW4supvKAzKFN6AliR88A= X-Received: by 2002:aca:3445:: with SMTP id b66-v6mr59132oia.289.1525063727093; Sun, 29 Apr 2018 21:48:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.44.209 with HTTP; Sun, 29 Apr 2018 21:48:46 -0700 (PDT) In-Reply-To: <5d579671-213c-c742-05b2-b771a827b6f5@cygwin.com> References: <5d579671-213c-c742-05b2-b771a827b6f5@cygwin.com> From: Paul Sheer Date: Mon, 30 Apr 2018 04:48:00 -0000 Message-ID: Subject: Re: Cygwin X11 Server slow performance To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00364.txt.bz2 > > 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. 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? 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). 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: [[[ psheer@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. 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? How do you know what a "minimal" set of packages is? Do I have to install everything? 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" 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. I hope this all helps. I'll be uninstalling cygwin now because I can't waist any more time on it. -- 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