X: Authorization required, but no authorization protocol specified

Markus Hoenicka markus.hoenicka@mhoenicka.de
Mon Aug 10 13:27:00 GMT 2015


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



More information about the Cygwin mailing list