Jetson Nano VNC problems.

About Jetson Nano set VNC connection problems
I referenced this website,

There are two problems
Q1. I cannot install VNCviewer on the laptop (ubuntu) (https://www.realvnc.com/en/connect/download/viewer/)

$ sudo dpkg -i VNC-Viewer-6.19.1115-Linux-x64.deb
dpkg: regarding VNC-Viewer-6.19.1115-Linux-x64.deb containing realvnc-vnc-viewer:
realvnc-vnc-viewer conflicts with xtightvncviewer
xtightvncviewer (version 1.3.10-0ubuntu3) is present and installed.

dpkg: error processing archive VNC-Viewer-6.19.1115-Linux-x64.deb (–install):
conflicting packages - not installing realvnc-vnc-viewer
Errors were encountered while processing:
VNC-Viewer-6.19.1115-Linux-x64.deb
$

Q2. After, I found “sudo apt-get install vncviewer”
Laptop temporarily can VNC to JetsonNano,
But, It need to login on JetsonNano keyboard before,
(Laptop can ssh Nano, but the Nano-edge has no login Latop is still cannot VNC to JetsonNano)
(startup has add vino )

~/.config/autostart$cat vino-server.desktop
[Desktop Entry]
Type=Application
Exec=/usr/lib/vino/vino-server
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=vino
Name=vino
Comment[en_US]=VNC Server
Comment=VNC Server
~/.config/autostart$

Please help, Thank you.

Hi,
Please check the following post:
https://devtalk.nvidia.com/default/topic/1042018/jetson-agx-xavier/setting-up-vnc-server-solved-/post/5285447/#5285447

Last time, this file(org.gnome.Vino.gschema.xml) has added this keys,
so on Q2,I written Q2. I found “sudo apt-get install vncviewer”
Laptop temporarily can VNC to JetsonNano,

nano~$ cat /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml


Enable remote access to the desktop

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.

false


nano:~$ /usr/lib/vino/vino-server
** Message: 15:45:33.155: The desktop sharing service is already running, exiting.
nano:~$

But,
Q1.Q1. I cannot install VNCviewer on the laptop (ubuntu)
(https://www.realvnc.com/en/connect/download/viewer/)
$ sudo dpkg -i VNC-Viewer-6.19.1115-Linux-x64.deb
Q2.It need to login on JetsonNano keyboard before,

Please help, Thank you.

Hi,
Please follow the steps in document:
https://devtalk.nvidia.com/default/topic/1056629/jetson-nano/jetson-nano-vnc-headless-connections/post/5357428/#5357428

Jetson Nano is in aarch64 and x86 package may not work properly on it. Please follow the steps to run vnc.

Hi
Q1: I found my Q1 problem myself and the installation was successful.
Laptop:~/Downloads$ sudo dpkg -i VNC-Viewer-6.19.1115-Linux-x64.deb (Reading database … 271819 files and directories currently installed.)
Preparing to unpack VNC-Viewer-6.19.1115-Linux-x64.deb …
Unpacking realvnc-vnc-viewer (6.19.1115.42122) …
Setting up realvnc-vnc-viewer (6.19.1115.42122) …
Processing triggers for shared-mime-info (1.5-2ubuntu0.2) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) …
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) …
Processing triggers for mime-support (3.59ubuntu1) …
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) …
Laptop:~/Downloads$

Q2.It still fails.It need to login on JetsonNano keyboard before.
nano:~$ history
115 sudo glib-compile-schemas /usr/share/glib-2.0/schemas
116 sudo shutdown -h
117 sudo shutdown now
118 sudo apt update
119 sudo apt install vino
120 sudo apt list |grep vino
121 export DISPLAY=:0
122 gsettings set org.gnome.Vino enabled true
123 gsettings set org.gnome.Vino prompt-enabled false
124 gsettings set org.gnome.Vino require-encryption false
125 sudo reboot
126 ll
127 sudo nano openvino
128 cat openvino
129 chmod +x ~/openvino
130 sudo chmod +x ~/openvino
131 ~/openvino
132 ll
133 ~/openvino
134 sudo reboot
135 /usr/lib/vino/vino-server

Please help. Thank you.

Hi,
Please check document in #2. Looks like login is a must of setting password.

Once you are connected to the VNC server, execute the following command to
display the VNC server's graphical configuration tool, and then configure a
password for the VNC connection:

vino-preferences