Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
Hello guys,
after successfully running ./nvsipl_camera
(Connecting the Cameras | NVIDIA Docs), the desktop doesn’t start. I tried to restart gdm3 via ssh but everytime I shutdown the Drive AGX, the same problem keeps occuring. How do I revert the steps concerning the desktop configuration mentioned in the link above?
Thanks in advance!
Dear @edaet.boloban,
How about running the application via VNC in headless mode? Does that help your case?
If so, you can below steps on ssh terminal on target
sudo service gdm3 stop
sudo service gdm stop
sudo -b X -ac -noreset
export DISPLAY=:0
sudo xrandr --fb 1920x1080
sudo x11vnc -geometry 1920x1080 -display :0 &
Run any application that need GUI.
Connect to target using VNC client like VNC viewer to view output.
I didn’t consider VNC. I connected with ssh to the target Device…
The above steps you need to run from ssh session only. If application has any GUI output, it is shown on VNC viewer console. otherwise, it just shows blank screen when you open vncviewer.
I suggested an alternate suggestion for remote use of target and run any application on target. You can test nvsipl_camera
as well. Please see the discussion at Driveworks 5.14 issue with DRIVE AGX Orin if it helps.
But what if I want to connect the target to an external display? Everytime I stop gdm, I am not able to use a display on the target.
Does that mean display is not coming even after restarting the gdm?
Yes, I connected the Target with a Display and have a ssh connection to it. After successfully running ./nvsipl_camera
, I could see all 4 cameras, that were connected to Group B. However, I tried to restart gdm in order to go back to the GUI and this is where I am stuck now
could you share sudo systemctl status display-manager
?
orin-conti@tegra-ubuntu:~$ sudo systemctl status display-manager
Unit display-manager.service could not be found.
It works for the moment, but when I turn of the Drive AGX and turn it on, the GUI doesn’t start automatically. In order to start the GUI, I always have to connect via ssh to the target and execute sudo systemctl restart gdm
after a shutdown.
That means, after running nvsipl_camera and restarting gdm, you get display. But if you turnoff Orin and turn it on, the display is not coming. You had to remotely execute sudo systemctl restart gdm
to get the display back.
But if you dont make the changes needed to run
nvsipl_camera`, even if you turn off/on the target multiple time, you don’t see any issue with display? Is my understanding correct?
Yes, since I have disabled gdm, the desktop doesn’t start by default after a shutdown. It only starts after restarting gdm via ssh.
Dear @edaet.boloban
Could you check the private message.