LoginSignup
0
0

More than 3 years have passed since last update.

X11Fowardで「Cannot open display」となったときの対策

Last updated at Posted at 2019-12-24

にゃーん

クライアントで

ssh -X user@hoge.server
xeyes
Cannot open display: :0.0

:telephone::cat:<どうして…

サーバーにxauthがないからでは?

参考:http://luozengbin.github.io/blog/2014-06-21-[メモ]リモートxの接続方法.html

サーバー(Ubuntu)で

sudo apt install xauth
xauth list
hoge/unix:0  MIT-MAGIC-COOKIE-1  72kuxtu334nandeya

このあとサーバーを再起動すればxeyesは多分通るようになってると思います.

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0