X11 connection rejected because of wrong authentication

Justin Sherrill justin at shiningsilence.com
Tue Oct 27 17:27:49 PDT 2020


I had this problem before and it was in part because xauth wasn't working -
check that your /etc/ssh/sshd_config is pointing XAuthLocation to the right
place and that the program executes.

My notes here might help:

https://www.dragonflydigest.com/2018/09/28/21850.html

On Tue, Oct 27, 2020 at 1:41 PM Jean Louis <bugs at gnu.support> wrote:

> Hello,
>
> I would like to use X from DragonflyBSD server with `ssh -Y my-server'
> and I am getting error:
>
> X11 connection rejected because of wrong authentication
>
> When I run Emacs for example, I can see Emacs already appearing
> including the menus, then the window becomes dark and I see that
> error.
>
> The option X11 forwarding is enabled on server and I can see
> .Xauthority file being generated.
>
> All computers in network regardless of the OS are configured same. If
> anybody knows how to get it working, let me know.
>
> I have installed DragonflyBSD due to problem that we have frequent
> power outtages and one laptop need battery replacement. It works well
> and stable, and Hammer2 file system gives me good impressions.
>
> --
> Jean Louis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20201027/30a6fc2e/attachment-0004.htm>


More information about the Users mailing list