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 |