Ubuntuでfirefoxなどsnapアプリをssh下でX11 Forwardできず、以下のようなエラーが出る。
$ firefox X11 connection rejected because of wrong authentication. Error: cannot open display: localhost:11.0
export XAUTHORITY=$HOME/.Xauthority
最近はWSLgのお陰でWindowsからのX11 Forwardも簡単でいいですね。
Register as a new user and use Qiita more conveniently