Streaming from headless nano Virtual Display - is it possible?
Steps to reproduce:
- put nx into multiuser mode & reboot
sudo systemctl set-default multi-user.target
- ssh into nx & execute
sudo startx &
DISPLAY=:0 sudo xhost +
export DISPLAY=:0
./test-launch "ximagesrc use-damage=0 ! nvvidconv ! nvv4l2h265enc ! h265parse ! video/x-h265, stream-format=byte-stream ! rtph265pay name=pay0 pt=96 "
From another network device connect with
gst-launch-1.0 -v rtspsrc location=rtsp://<Jetson_IP>:8554/test ! application/x-rtp, media=video, encoding-name=H265 ! rtph265depay ! avdec_h265 ! xvimagesink
then adding
x2x mouse and keyboard from host [AGX] to NX virtual display:
ssh -X user@ipaddress 'x2x -west -to :0'
/usr/bin/xauth: timeout in locking authority file /home/nvidia/.Xauthority
X11 connection rejected because of wrong authentication.
x2x - error: can not open display localhost:11.0
I understand that there might be required equivalent of the follwing command that seems not applicable to Jetson OS:
sudo nvidia-xconfig --allow-empty-initial-configuration --enable-all-gpus --force-generate
probably somehow should be possible to execute an app to the display shown in the right?
Here trey reffer to using nvidia-xconfig, but the latter doesn’t seem presented into the system
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/window_system_x11.html