How to open nvdisplay

I’m porting a mini-rootfs (without GUI) to the Jetson Xavier NX device.
The kernel version is “4.9.140-tegra” and the rootfs can work.
But when I run graphs demo “eglstreamcube”, I got a message “X failed to open display.”
How can I open the display without lightdm?

PS:
the hdmi can work

You may try:

/usr/bin/startx

Those egl applications require a egldisplay. Which are mostly based on X server. Thus, you should follow above suggestion to open a startx first.

Lightdm will also run X server in the background.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.