Hi Tom -- Thanks so much for your answer.
I already had the XAuthLocation in my config. I did add the 'UseKeyChain no'. However, after restarting XQuartz and doing another ssh login, I still have the same problem. I spent pretty much a whole day trying to get this resolved, combing through logs, etc. I'm at a loss. On Mon, Apr 26, 2021 at 11:07 AM Tom Lane <[email protected]> wrote: > Geof Sawaya via X11-users <[email protected]> writes: > > I suddenly am unable to connect to x-server with XQuartz. > > ATM, I see the same cookie on host and remote via `xauth list` (but I > don't > > understand xauth well enough to know if this is desired). > > It looks like DISPLAY is being set correctly on the remote host, but I > get: > > > emacs & > > [1] 1945942 > > [username]~% X11 connection rejected because of wrong authentication. > > Display localhost:10.0 unavailable, simulating -nw > > I used to routinely get this after macOS updates, if I didn't then > reinstall XQuartz. If you've recently done an OS update then try that. > > I've since found that you can avoid the need to reinstall by not > depending on the system value of XAuthLocation, which seems to be > what the OS update is resetting. Now I have this in ~/.ssh/config: > > # Set global defaults: > # (XAuthLocation is needed to support XQuartz) > Host * > UseKeyChain no > XAuthLocation /opt/X11/bin/xauth > > and I've not had any problems over the last few OS updates. > > regards, tom lane >
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
