Enabling Remote VNC in Jetson Nano


Fresh install Jetson Nano

sudo ln -s ../vino-server.service \
    /usr/lib/systemd/user/graphical-session.target.wants

gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false

nmcli connection show

copy the UUID active connection
dconf write /org/gnome/settings-daemon/plugins/sharing/vino-server/enabled-connections "['PASTE HERE YOUR UUID']"

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

PASTE THIS INSIDE SCHEMA
<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

export DISPLAY=:1 //OR USE 0

/usr/lib/vino/vino-server

IF success you can use remmina or realvnc client to connect to Jetson Nano



Making systemd service

sudo vim /etc/systemd/system/vinostartup.service

[Unit]
Description = description about the service
After = network.target
[Service]
ExecStart = /usr/lib/vino/vino-server
[Install]
WantedBy = multi-user.target

 

sudo systemctl enable vinostartup.service

 

Done

Happy Coding

Salam Ngoprek

4 thoughts on “Enabling Remote VNC in Jetson Nano

  1. Manuel

    Hi, this helped me a lot (only complete thread that guided me to vnc logging succes) but then the session start in 640×480 mode resolution. I could not change it to more usefull one eg. 1920×1080.
    Do you have a clue for doing this ?
    Manuel

  2. lesmalave

    I barely have a few weeks with my Jetson nano. And it has made me a headache to use it in headlles mode
    I am using Jetpack 4.2 but it does not work for me … or does it only work with previous versions? Can you confirm with which version of SDK you did it please !!

Ditunggu komennya ...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.