LoginSignup
3
3

More than 5 years have passed since last update.

X11でリモートのXをローカルで起動した時の✍

Last updated at Posted at 2015-09-27

x11forwading

macでx11でリモートのxをローカルで表示

client(mac)

# todo
1 brew cask install xquartz
2 start xquartz
3 .ssh/configのForwardX11 yesにする

serverside(ubuntu)

# todo
1 sudo apt-get install xorg openbox
2 .ssh/configのX11Forwarding yesにする

test

# todo
1 xterm上でssh blogX
2 sudo user:group ~/.Xauthority
sudo chmod 600 ~/.Xauthority
3 一旦exit
4 xterm上でssh blogXで再起動
5 xclock

tips

なお、loginが重くなったり変な場合はXauthorityを削除して再ログインする

reference

http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/

3
3
0

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
3
3