{"id":811,"date":"2015-07-06T01:31:28","date_gmt":"2015-07-05T16:31:28","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=811"},"modified":"2015-07-06T01:31:28","modified_gmt":"2015-07-05T16:31:28","slug":"post-811","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/07\/06\/post-811.html","title":{"rendered":"\u306a\u3093\u3068\u304b\u30ea\u30e2\u30fc\u30c8\u3088\u308axwindow \u306b\u5165\u308c\u305f"},"content":{"rendered":"
\u307e\u3060\u3057\u3063\u304f\u308a\u7740\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u3068\u308a\u3042\u3048\u305a osx \u3088\u308a Pi2 \u306bx-window \u7d4c\u7531\u3067\u8d77\u52d5\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n
\u3044\u308d\u3044\u308d\u8a2d\u5b9a\u3092\u3044\u3058\u3063\u305f\u306e\u3067\u3001\u3069\u3053\u304c\u826f\u304f\u3066\u3001\u4f55\u304c\u30dd\u30a4\u30f3\u30c8\u3060\u3063\u305f\u306e\u304b\u3061\u3087\u3063\u3068\u307c\u3051\u3066\u3044\u307e\u3059\u3002\u7d76\u5bfe\u5fd8\u308c\u308b\u306e\u3067\u3001\u4f55\u3092\u3069\u3046\u3057\u305f\u3089\u3088\u304b\u3063\u305f\u306e\u304b\u3001\u30e1\u30e2\u7684\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u9593\u9055\u3063\u3066\u3044\u308b\u3068\u3053\u308d\u304c\u305f\u304f\u3055\u3093\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u3053\u3053\u304b\u306a\uff1f\u3063\u3066\u3044\u3046\u90e8\u5206\u306e\u307f\u3002<\/p>\n
<\/p>\n
osx \u306e term \u306b\u3066\u4ee5\u4e0b\u3092\u5b9f\u884c\u3002Pi2 \u306e IP \u3092\u5165\u308c\u3066\u3001osx \u306e X11 Server \u306b\u63a5\u7d9a\u8a31\u53ef\u8a2d\u5b9a\u3092\u5165\u308c\u308b<\/p>\n
\n$ xhost +192.168.1.24
192.168.1.24 being added to access control list<\/p>\n\u203bxhost \u306f\u3001osx \u306e X11 \u306e\u30c4\u30fc\u30eb<\/p>\n<\/blockquote>\n
osx \u306e ssh\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b<\/p>\n
\n—- \/etc\/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
XAuthLocation \/opt\/X11\/bin\/xauth<\/p>\n<\/blockquote>\nPi2 \u306e ssh \u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b<\/p>\n
\n—- \/etc\/ssh\/ssh_config
::
ForwardX11 yes
::<\/p>\n<\/blockquote>\nosx \u3082 pi2 \u3082\u4e00\u56de\u518d\u8d77\u52d5\u3002<\/p>\n
\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\u63a5\u7d9a\u3002pi \u306f osx \u306e hosts \u306b\u3066IP \u8a18\u8f09\u3057\u3066\u3042\u308a\u540d\u524d\u89e3\u6c7a\u53ef\u80fd\u306a\u72b6\u614b\u3002<\/p>\n
\n