728x90
MacOS X11 Forwarding
์์ฆ ์๋ฒ ํ๊ฒฝ์์ ๋ง์ด๋ค ์ฝ๋ฉ์ด๋ ์์ ์ ํ๋ค. ํ๋ฆฐ์ด๋ก์ VScode๋ฅผ ๋ง์ด ์ฌ์ฉํ๋๋ฐ matplot ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ํ์ฉํด plotting์ ํ๋ ๋์ค Can't Not Display ์ค๋ฅ๋ฅผ ๋ง๋ฌ๋ค. ๋ด๊ฐ ์ฌ์ฉํ๋ ์๋ฒ์ ๋ด ๋คํธ์ํฌ ๊ฐ plotting์ ์ฐ๊ฒฐํด์ค Window๊ฐ ์์๋ ๊ฒ์ด ์๋ค. (** ์ฃผํผํฐ ๋ ธํธ๋ถ์ ๋ฐ๋ก window ์ฐ๊ฒฐ ์์ด plotting ์ง์)
Solution )
1) MacOS ์ ์ฉ xquartz ์ค์น (https://www.xquartz.org/)
or
brew ์ฌ์ฉ (https://formulae.brew.sh/cask/xquartz)
brew install --cask xquartz
2) .ssh/config ForwardX11 yes ์ถ๊ฐ
Host ailab
HostName ***.***.***.***
User LAB
Port 8888
IdentityFile /Users/Name/.ssh/id_rsa
ForwardX11 yes # Forward Setting
๋ฐ์ํ
'๐ป Mac' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[M1 mac] ngrok ์ค์น ์ค๋ฅ No such file or directory @ rb_file_s_rename - (0) | 2024.01.06 |
---|---|
[Karabiner] Keyboard is ignored temporarily until key X is pressed #1848 (0) | 2023.10.08 |
[M1] Installing lxml for Python on an M1/M2 Mac (0) | 2023.06.02 |
[M1] Mac M1 pytorch GPU ์ฌ์ฉํ๊ธฐ (0) | 2022.12.19 |
[Macbook pro m1] Help Note (0) | 2021.12.02 |