www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/30/09:20:22

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=jOYUUIrkxxqrYR2y
+shWzL3yWcpYVzLkijwOZtFKFZSDCfDVgkV4vY2QqEdrQxgbBRTqneUMmk1EOZtr
dEZekkwEhu1bn2KZ5PjVdAcDK8v09x+b9s1UZ9GFiVIv5vDxoz2XJI3elHoFcaSN
QELkGVzsj0bDiViZxirYAI5vyhQ=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=uI0k29hMYalQtqX5GuTcxZ
ndUUg=; b=jMuICYjYcD0xS3UMlGlBlpgke++sHYmN/4TTXoPRPR0R1AJOr7STBH
gt7trNWIgtwIllxU/goaWar5bkqK2QGumvcjT4WOrJn2RFo6Pg5Ay1iq5+x8JpHO
AEddyWcRw0IpGOmjsBL49NWzTjPpo3L1iekqMec/V+/qNVUAHWSlw=
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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, session, wasting, hardly
X-HELO: forward102j.mail.yandex.net
Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 30 Apr 2018 16:12:09 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <159273759.20180430161209@yandex.ru>
To: Paul Sheer <paulsheer AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Cygwin X11 Server slow performance
In-Reply-To: <CABxOuY8ep65KrDQX4X4S5em=W4hS4F_86GzcWAOVD7hr2aMx-Q@mail.gmail.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>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w3UDKLOA002809

Greetings, Paul Sheer!

> 6. cygserver-config does not work. It gives:

> [[[

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

> ]]]

This is expected. And the script outright warns you.

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

Contrary to *NIX, Windows runs from granular permissions system, and a user
may have the rights to install service even if they are not a member of
Administrators group.

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

You expect Windows to be Linux/UNIX, but it is not.
It has its own, much more usable permission system, and no God User as a
concept.

> If these things exist, then they should be there by default and work as
> default so as not to require the user read documentation.

wat

> Is my default user the administrator?

Even if it is, your current session may not have the permissions and would
require an elevation. YOU should know.

> It should be -- it is a home PC.

"Home PC" is a marketing joke.

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

How could it know?

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

Sure, if it's such a simple task for you - go ahead. Keep in mind that it must
remain a single binary a user can just download and run.

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

Cygwin setup does work exactly the same way - you just click "next" until you
get a working system.
Would that system be able to solve YOUR SPECIFIC problem, remains to be seen.

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

As advised, you should have stopped all Cygwin processes before attempting an
upgrade.

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

You're more than welcome to submit and maintain such tools.

> Ubuntu, when installed under Oracle Virtual box, does Copy-n-Paste between
> Gtk and Windows and Unicode copy-paste even works perfectly

That's VirtualBox does, not X, or Windows…

> 13. Why do some binaries run on the command line and do nothing
> and show no error??? Unix never does this.

If you break your ld-linux.so, *NIX do the same.

> I hope this all helps.

Hardly. A lot of expectations (to put it mildly) from a volunteer-maintained
project.

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

You could have done so without wasting our time with this message.


-- 
With best regards,
Andrey Repin
Monday, April 30, 2018 16:00:53

Sorry for my terrible english...
--
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