본문 바로가기
Development/라즈베리파이

라즈베리파이에서 맥북으로 원격접속

by dohk325 2018. 12. 17.
반응형
맥북으로 라즈베리파이에 원격접속하는 방법을 찾았다.
sudo apt-get upgrade realvnc-vnc-server realvnc-vnc-viewer
sudo raspi-config​
그 다음, 아래 명령어를 이용하여 eth0의 주소를 알아낸다.
sudo ifconfig​
맥북에서 VNCviewer를 열고 입력,
라즈베리파이의 유저명과 패스워드를 입력하면 된다.
 
VNC로 접속할 시 해상도가 축소된다.
디폴트로 라즈베리파이의 해상도로 설정되어 있기 때문인데, 다음과 같이 설정해준다.
sudo nano /boot/config.txt
by uncommenting these lines:
framebuffer_width=1920
framebuffer_height=1200​
#1920x1200은 맥북 프로가 지원할 수 있는 해상도. 원하는 해상도를 입력하면 된다.
and then
sudo reboot ​

 

반응형