I recently bought a jetson nx xavier. Installed jetpack 4.4 and it is running well. However, I am having a lot of problem setting up VNC. I have tried desktop sharing, which does not work unless I log into the desktop using a monitor first, tried tigervnc which also does not work unless a display is attached, tried xrdp, which works only if I install xfce4(deafult one gets stuck at nvidia logo) but cannot run glxgears. I tried runnign the docker inference examples but getting no EGL display error.
So whats the solution here? is there any software solution? Or do I really have to buy one of those dummy plugs?
Vino should already enabled on jetson NX and Nano. Please search related topics on forum. Thanks.
FYI, glxgears requires OpenGL.
- In a simple case, when running glxgears locally and displaying locally, the OpenGL must be supported on the local computer.
- In a remote case with X event forwarding the remote host must instead provide the OpenGL support.
- In a case of a virtual desktop server which is being remotely monitored, then it is the local virtual server which must provide the OpenGL support despite the remote location seeing the result.
If you log in locally to the Jetson, not via VNC, and run this command, do you see OpenGL support?
glxinfo | egrep -i 'glx.*(vendor|version)'
Assuming you see GLX when you run via VNC, and from the local login scenario, then it should work if versions are not in conflict. If you see this only on local login, then it means your virtual server is different than the local server and may not support OpenGL.
…one has to have an X instance to run anything. For a regular server you have to log in to create that server instance. A virtual server is indistinguishable from a regular server so far as software is concerned, but a virtual server does not require an attached monitor. Virtual servers still must log in, but most likely this is set up to occur automatically. After this remote software can associate with that virtual server. If that virtual server has OpenGL support of the proper release, then it should just work right even without a regular monitor attached.
Someone else may be able to help with virtual server install and/or setup, but basically it sounds like you are looking for a virtual server to run automatically on boot which your remote desktop software can associate with, and where that server uses the NVIDIA hardware accelerated GPU driver.
A dummy HDMI plug would work too, but it is a hardware solution to fake having a monitor attached. A virtual server is the same thing, but done without extra hardware.
Alternately to VNC, you may give a try to NoMachine (not tried on NX, though).
Is there any simple and working step by step procedure to set Jetson Xavier NX (without display and keyboard) to access from Windows system over wifi?