Hi,
I want to access the Jetson AGX Xavier Developer Kit remote via VNC over Hotspot.
I set up the Board with Ubuntu 20.04.
Additional Hardware Components:
→ HDMI-Dummy: HDMI Dummy Plug Headless Ghost Display Emulator Premium Aluminum PC(Fit Headless-1920x1080 New 4RD@60Hz) (DP-1P)
→ WiFi-Adapter: INTEL AX200 WLAN-Adapter,M.2 2230 Card, Wi-Fi 6
I setup the Hotspot from the NVIDIA as following:
nmcli device wifi hotspot ifname wlan0 con-name Hotspot ssid "HOTSPOT_NAME" band bg channel 3 password "PASSWD"
nmcli connection modify Hotspot ipv4.method shared ipv4.addresses 192.168.0.1/24 ipv4.gateway 192.168.0.1
nmcli connection up Hotspot
nmcli connection show --active
# connect automatically to hotspot at startup
nmcli con modify Hotspot connection.autoconnect true
sudo reboot
I can now access the nvidia Board via ssh:
ssh <user>@192.168.0.1
The setup of the Hotspot was done successful i guess.
Now I want to create a VNC-Server.
With the help of the Tutorial Setting Up VNC | NVIDIA Developer i created the VNC-Server:
cd /usr/lib/systemd/user/graphical-session.target.wants
sudo ln -s ../vino-server.service ./.
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false
# Replace thepassword with your desired password
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino vnc-password $(echo -n 'thepassword'|base64)
sudo reboot
With a second PC (Ubuntu 20.04 / Windows11) i plugged into LAN (Internet) and connect additionally over WLAN to the Jetson-Hotspot.
After checking, if ssh works, i started remmina.
I connect to IP 192.168.0.1 over VNC using username and password.
Now comes the weird part.
I cannot connect to the Jetson unless it is plugged as well into LAN (Internet).
Summary:
- VNC works fine: LAN-Connection (Jetson & Linux-PC), Hotspot-Connection (Jetson & Linux-PC)
- VNC works fine: LAN-Connection(Jetson), Hotspot-Connection(Jetson & Windows11-PC)
- VNC works not: LAN-Connection (Linux-PC), Hotspot-Connection (Jetson & Linux-PC)
- VNC works not: LAN-Connection(none), Hotspot-Connection(Jetson & Windows11-PC)
I hope you can help me establishing the VNC-Connection over Hotspot with no access to the internet… A physical connection to the Jetson is not possible. It should be run completely remote and be fully accessible because it is implemented in a robotic environment.
Best regards
Luca