Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
[1]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
[1] 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)
[1]DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
[1]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
Hi team, I have some doubt regarding running driveworks samples on remote machine
I have accessed drive orin through SSH on a different machine. But when I try to execute these samples on remote machine, the code doesnt work. What could be the issue and how can I make these samples run on my remote server?
Please help!
Dear @SivaRamaKrishnaNV
Do I need to set display variable first?
I have display connected to the platform, but I just want to be able to run these samples from remote server. When I executed the code on a remote server, I got the following errors.
The errors seems same as in Driveworks 5.14 issue with DRIVE AGX Orin - #6 by kevin.kal
You need to set DISPLAY variable in the same window where you run the application.
Dear @akshay.tupkar ,
were you able to run sample remotely? Does this topic need further support?
Yes Dear @SivaRamaKrishnaNV
I need your help in this
Dear @akshay.tupkar ,
Could you share the instructions you run on target to review?
Dear @SivaRamaKrishnaNV
Should I use VNC or X11 server?
Dear @akshay.tupkar ,
Could you check private message?
Sharing the steps to run GUI application on target and verify from host for reference
You need to run below commands to keep X11VNC active 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 &
Once it is active, you can run any GUI sample. If you run an application in another terminal make sure you set export DISPLAY=:0 in that terminal before you launch application.
If VNC session is not active, you need to run above commands again to launch x11vnc
You can connect to target using tools like VNCViewer from host to view the GUI output