Auto switching between physical display and dummy Xorg for headless Jetson Orin Nano

Jetson Orin Nano – Headless Remote Desktop with Auto Display Switching

I am trying to set up a reliable headless remote desktop (VNC/RustDesk) on a Jetson Orin Nano, while still retaining normal behavior when a physical DisplayPort monitor is connected.

I created a dummy Xorg config and used the setup explained here:
Low resolution dummy monitor for VNC when displayport unplugged

I backed up the original config.

Right now, I can manually switch between:

  • physical display (DisplayPort)

  • virtual display (dummy config for headless remote access)

by copying the appropriate config before reboot.

This works reliably, but I would like to automate this at boot.

Even better, I’d like a solution that can switch dynamically via hot-plugging (detect when a monitor is connected/disconnected and switch configs accordingly). However, the challenge is that I have not been able to identify a reliable system event or signal that accurately indicates when a DisplayPort monitor is connected or disconnected on this platform.

Does anyone know a reliable method to detect DisplayPort connection state on Jetson Orin Nano (JetPack 6)?

Any guidance or working approach would be appreciated.

Hi,

please check if this thread is helpful