[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't create .Xauthority for users [SOLUTION]



> >  well, i had some problems with this .Xauthority, but not the same way :
> > when logged in, root couldn't open X-based applications...
>
> After upgrading to Debian Etch/Testing, I had exactly the same
> problem.  Solution:
>
>   As user who is running X:
>
>       xauth list              # if you already have keys, skip next.
>       xauth generate .        # perform if you have no auth file.
>       xauth nextract username.xa $DISPLAY  # should be the only step
> needed.
>
>   As root:
>
>       export DISPLAY=$HOSTIP:0.0 # skip $HOSTIP if it's on the same
>                                  # machine/IP
>
>       xauth nmerge ~username/username.xa    # now you can use
>                                             # username's auth. while
>                                             # logged in as root.
>
>
> --

Thanks a lot for that!
i used the brutal method "ln -s" since i was the only user of my computer, but 
i believe your method is far better.... 



Reply to: