This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: X: Authorization required, but no authorization protocol specified


At 2015-08-10 15:44, Achim Gratz was heard to say:
Markus Hoenicka <markus.hoenicka <at> mhoenicka.de> writes:
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.

So what are these environment variables set to and what is the value of
$HOME? I don't see how what you've described could result in the windows
path for $HOME that you've shown.  Additionally, the location of the
.Xauthority file suggests that $HOME has a different value when this file
gets created and somehow has changed later when you try to start an X
application.


set|more in a DOS box shows:

HOMEDRIVE=C:
HOMEPATH=\Users\<username>

I don't know if these are relevant if you use roaming profiles though. The path I've shown as $HOME is not arcane at all. In a windows exlorer, this is something like H:/My Documents/home/<username>. But why do you think that HOME can be subject to changes during a session? And why does it *not* change if I set HOME to a local drive?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]