Web lists-archives.com

Re: Window 10 authorization problems




On 2018-01-20 16:35, Robert McBroom wrote:
> Troubles through several cygwin releases with getting the files to have the
> right permissions when running startwinx from an initial cygwin64 terminal.
> Messages follow:
> xauth:  /home/mukx/.serverauth.7284 not writable, changes will be ignored
> xauth:  /home/mukx/.Xauthority not writable, changes will be ignored
> xauth:  timeout in locking authority file /home/mukx/.Xauthority
> winInitMultiWindowWM - DISPLAY=:0.0
> winMultiWindowXMsgProc - DISPLAY=:0.0
> winMultiWindowXMsgProc - Could not open display, try: 1, sleeping: 5
> winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5
> waiting for X server to begin accepting connections .
> winMultiWindowXMsgProc - Could not open display, try: 2, sleeping: 5
> winInitMultiWindowWM - Could not open display, try: 2, sleeping: 5
> and so on until the system gives up.
> A directory listing gives:
>   ----------  2 mukx          mukx             0 Jan 18 18:44 .serverauth.7284-c
>   ----------  2 mukx          mukx             0 Jan 18 18:44 .serverauth.7284-l
>   ----------  1 mukx          mukx            54 Jan 18 18:44 .Xauthority
>   ----------  2 mukx          mukx             0 Jan 18 18:44 .Xauthority-c
>   ----------  2 mukx          mukx             0 Jan 18 18:44 .Xauthority-l
> On Window 7 these files are properly read,write for the user.

Normally a problem with no default ACls (DACLs) on the directory; use getfacl
and icacls to view, and setfacl to set up permissions like:

# file: /home/$USER
# owner: SYSTEM
# group: SYSTEM
user::rwx
user:$USER:rwx
group::---
group:Administrators:rwx
mask:rwx
other:---
default:user::rwx
default:user:$USER:rwx
default:group::---
default:group:Administrators:rwx
default:mask:rwx
default:other:---

C:/Users/$USER NT AUTHORITY\SYSTEM:(OI)(CI)(F)
             BUILTIN\Administrators:(OI)(CI)(F)
             $HOST\$USER:(OI)(CI)(F)

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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