프로그래밍/작은 메모

Jetson nano VNC 설정 방법

satnurn 2025. 9. 23. 12:30
반응형

원격으로 Jetson nano에 접속하여 작업을 하고자 함.

 

 # 환경

 - 윈도우 10 

 - Jetson nano Ubuntu 18.04

 

 

 

# 윈도우 VNC 설치

 아래 링크의 VNC를 설치함.

https://www.realvnc.com/en/connect/download/viewer/

 

Download VNC Viewer by RealVNC®

RealVNC® Viewer is the original VNC Viewer and the most secure way to connect to your devices remotely. Download VNC Viewer by RealVNC® now.

www.realvnc.com

 

 

 

# Jetson nano VNC 설정

 - VNC 설정

 $ sudo gedit /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml

 위의 xml 파일에 아래의 텍스트 추가

<key name='enabled' type='b'>
    <summary>Enable remote access to the desktop</summary>
        <description>
            If true, allows remote access to the desktop via the RFB
            protocol. Users on remote machines may then connect to the
            desktop using a VNC viewer.
        </description>
    <default>false</default>
</key>

 

- 아래의 명령어 입력

sudo glib-compile-schemas /usr/share/glib-2.0/schemas
gsettings set org.gnome.Vino require-encryption false
gsettings set org.gnome.Vino prompt-enabled false

 

- 시작 프로그램에 추가 명령어

$ /usr/lib/vino/vino-server

 

 - 고정 IP로 설정

 - 추가로 해상도 설정 명령어

 $ xrandr --fb 1280x720 또는 $ xrandr -s 1600x1200

 $ source ~/.xsessionrc

 

 

 

# 윈도우에서 접속

 - 설치된 RealVNC 실행

 - 접속 예시 : 192.168.x.x : 5900

 

 

 

 

반응형