delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/10/09:27:35

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:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=Vc7AqiKyRPV1cF9cq2jn
+6Ev2/9NBkkE2hyzg3d9UOZIi3neBHG6yCtEaqNLdLMmZOweAZHx6uodlguG6Igq
ZvsWzEI5/J7xhtiHE4NuSKJAG8K6avnbdkVnZ+kog6c8DtTAY94FKCP2i7Z4eoly
GvGeDXwkJCm6UoKAswxLhEY=
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:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=3oPiL4UWikQgLo71uL247wkXZ8
I=; b=j68VKJUlZ9btVlX8lpMIhuw+PF7Q1MT5b4AKOSgbKL8LuN5uIRopuTDORk
U9DWJARSAzZtz1xjcdr3HN61w6wFxLID0QPrhFdooqpK8yTIg1JtVvX+Bi2M35Hy
kBgkP+1hCxBzjigPRkBxyyujk6RGEi8EH9vyLY9Bhz0ptCNlg=
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.3 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: smtprelay04.ispgateway.de
MIME-Version: 1.0
Date: Mon, 10 Aug 2015 15:27:14 +0200
From: Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: X: Authorization required, but no authorization protocol specified
In-Reply-To: <55C8A35C.50102@gmail.com>
References: <67ea3d1202eccadc3fc21e58af6ca4bf AT mhoenicka DOT de> <55C479DA DOT 7000203 AT dronecode DOT org DOT uk> <7495b654b8e6ac58e74fcddf3aa07ed7 AT mhoenicka DOT de> <55C8A35C DOT 50102 AT gmail DOT com>
Message-ID: <4935a2f0edb865e6972b98573e200af2@mhoenicka.de>
X-Sender: markus DOT hoenicka AT mhoenicka DOT de
User-Agent: Roundcube Webmail
X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ==
X-IsSubscribed: yes

Am 2015-08-10 15:13, schrieb cyg Simple:
> On 8/10/2015 3:41 AM, Markus Hoenicka wrote:
>> At 2015-08-07 11:26, Jon TURNEY was heard to say:
>>> 
>>> Is there anything unusual about your home directory?
>>> 
>> 
>> Well, we use roaming profiles here at work. This has caused problems
>> before, both in Cygwin and non-Cygwin apps. I've modified
>> /usr/bin/startxwin like this:
>> 
>> $ diff /usr/bin/startxwin.orig /usr/bin/startxwin
>> 138c138,139
>> <         XAUTHORITY=$HOME/.Xauthority
>> ---
>>> #        XAUTHORITY=$HOME/.Xauthority
>>>         XAUTHORITY=/cygdrive/c/localdata/<username>/.Xauthority
>> 
>> i.e. it now uses a local drive to store .Xauthority. With this change,
>> startxwin works without a hitch, and it is not any slower compared to
>> before the upgrade. I don't know what is particularly broken about my
>> $HOME as most Cygwin apps deal with it just fine:
>> 
>> $ cygpath -w $HOME
>> \\<serverpath>\home\<username>\Eigene Dateien\home\<username>
>> 
> 
> Corinna made changes which invalidates this value form for HOME 
> existing
> in Windows environment.  We've been arguing against the change.  This 
> is
> another example of why it should be left the way it has worked since 
> day 1.
> 

I've noticed the discussion about those changes, but I don't fully 
understand the impact of them  (and hopefully I don't have to). But I 
don't think my problem argues against Corinna's changes because HOME 
does not exist in my Windows environment. HOMEDRIVE and HOMEPATH exist 
though. I suppose HOME is set by some scripts in /etc as the docs 
suggest.

regards,
Markus


-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38


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