Jetson Nano B01, no graphical environment

Hello,

I have no graphical environment. When I set-up my Jetson Nano B01 it was purely in text mode. I have tried to start gnome, see below, but with no success.

~# sudo gnome-terminal
Unable to init server: Could not connect: Connection refused

Failed to parse arguments: Cannot open display:

Any assistance with a way forward would be appreciated.

James

This is jetson tx2 forum.

Woops, sorry. Will you be able to recatorgize this and help me out?

James

Done.

Please describe how you flash your jetson nano.

I’m using Ubuntu 20.04 on a Lenovo T420 laptop. I downloaded the Jetson Nano file using the link on the Nvidia Jetson Nano set-up page. I flashed the file to a 64gb sd microcard using Etcher.

I own two B01s and have had the same experience with both.

Refreshed twice on two separate B01s with no luck. Any more ideas would be appreciated.

  1. I am curious about why sometimes users hit this issue. Could you dump your /var/log/Xorg.0.log here?

  2. A quick way to resolve this is use sdkmanager to flash the whole board.

https://developer.nvidia.com/nvidia-sdk-manager

Thanks for your email. I will send you the log later today.

The requested log is below. In the mean-time I will try the SDKManager. Thanks for your continued help. Btw, I did try an HDMI monitor (plus USB keyboard and mouse) but there is no HDMI output.

james@myJetsonNano:/var/log$ sudo vim Xorg.0.log

[ 13.158] (–) Log file renamed from “/var/log/Xorg.pid-6331.log” to “/var/log/Xorg.0.log”
[ 13.160]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 13.160] X Protocol Version 11, Revision 0
[ 13.160] Build Operating System: Linux 4.15.0-140-generic aarch64 Ubuntu
[ 13.160] Current Operating System: Linux myJetsonNano 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:13:06 PDT 2021 aarch64
[ 13.160] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt earlycon=uart8250,mmio32,0x70006000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
[ 13.160] Build Date: 08 April 2021 01:53:49PM
[ 13.160] xorg-server 2:1.19.6-1ubuntu4.9 (For technical support please see Enterprise open source support | Ubuntu)
[ 13.160] Current version of pixman: 0.34.0
[ 13.160] Before reporting problems, check http://wiki.x.org

Is that the full log?

Could you also check command “ps aux |grep gdm” and share your result?

The requested output is below. I went to check the Xlog file but it is gone! Also, I tried SDK Manager but I get a message that it does not work with Ubuntu 20.04. I’ll wait until noon tomorrow before loading up Ubuntu 18.04 in case you are able to come up with anything from the log files.

james@james-ThinkPad-T420:~$ ps aux |grep gdm
root 960 0.0 0.2 248148 8572 ? Ssl Oct19 0:00 /usr/sbin/gdm3
root 973 0.0 0.2 323048 9252 ? Sl Oct19 0:00 gdm-session-worker [pam/gdm-autologin]
james 1164 0.0 0.1 172688 6192 tty2 Ssl+ Oct19 0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --systemd --session=ubuntu
james 1169 0.4 1.8 1183988 72064 tty2 Sl+ Oct19 4:13 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
james 15933 0.0 0.0 17672 664 pts/1 S+ 10:19 0:00 grep --color=auto gdm

james@james-ThinkPad-T420:~$ ps aux |grep gdm
root 960 0.0 0.2 248148 8572 ? Ssl Oct19 0:00 /usr/sbin/gdm3
root 973 0.0 0.2 323048 9252 ? Sl Oct19 0:00 gdm-session-worker [pam/gdm-autologin]
james 1164 0.0 0.1 172688 6192 tty2 Ssl+ Oct19 0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --systemd --session=ubuntu
james 1169 0.4 1.8 1183988 72064 tty2 Sl+ Oct19 4:13 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
james 15933 0.0 0.0 17672 664 pts/1 S+ 10:19 0:00 grep --color=auto gdm

Hmmm… why are you dumping these commands on the thinkpad…

What I expected is all these from jetson nano…

I mean even the Xorg.0.log is from jetson nano too…

Actually, no info is needed from your host machine…

I accidentally was looking on my host computer for the Xlog file.

You were right, I did not send you the whole file output. Here it is:
Well spotted. Yes, I just noticed realized that I made this mistake a few minutes ago and am just going to sent you the output from the Jetson Nano.

james@myJetsonNano:~$ ps aux |grep gdm
james 6801 0.0 0.0 5672 660 ttyGS0 S+ 10:54 0:00 grep --color=auto gdm

james@myJetsonNano:/var/log$ sudo vim Xorg.0.log

[ 13.158] (–) Log file renamed from “/var/log/Xorg.pid-6331.log” to “/var/log/Xorg.0.log”
[ 13.160]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 13.160] X Protocol Version 11, Revision 0
[ 13.160] Build Operating System: Linux 4.15.0-140-generic aarch64 Ubuntu
[ 13.160] Current Operating System: Linux myJetsonNano 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:13:06 PDT 2021 aarch64
[ 13.160] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt earlycon=uart8250,mmio32,0x70006000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
[ 13.160] Build Date: 08 April 2021 01:53:49PM
[ 13.160] xorg-server 2:1.19.6-1ubuntu4.9 (For technical support please see Enterprise open source support | Ubuntu)
[ 13.160] Current version of pixman: 0.34.0
[ 13.160] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 13.160] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13.161] (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Oct 19 05:05:23 2021
[ 13.162] (==) Using config file: “/etc/X11/xorg.conf”
[ 13.162] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 13.167] (==) No Layout section. Using the first Screen section.
[ 13.167] (==) No screen section available. Using defaults.
[ 13.167] (
) |–>Screen “Default Screen Section” (0)
[ 13.167] () | |–>Monitor “”
[ 13.168] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 13.168] (
) | |–>Device “Tegra0”
[ 13.168] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 13.168] (==) Automatically adding devices
[ 13.168] (==) Automatically enabling devices
[ 13.168] (==) Automatically adding GPU devices
[ 13.168] (==) Automatically binding GPU devices
[ 13.168] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 13.179] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 13.179] Entry deleted from font path.
[ 13.179] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 13.179] Entry deleted from font path.
[ 13.179] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 13.179] Entry deleted from font path.
[ 13.188] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 13.188] Entry deleted from font path.
[ 13.188] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 13.188] Entry deleted from font path.
[ 13.188] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 13.188] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 13.188] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 13.188] (II) Loader magic: 0x555f1e0010
[ 13.188] (II) Module ABI versions:
[ 13.188] X.Org ANSI C Emulation: 0.4
[ 13.188] X.Org Video Driver: 23.0
[ 13.188] X.Org XInput driver : 24.1
[ 13.188] X.Org Server Extension : 10.0
[ 13.189] (++) using VT number 1

[ 13.196] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 13.197] (II) no primary bus or device found
[ 13.197] (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 13.197] (II) “glx” will be loaded by default.
[ 13.197] (II) LoadModule: “extmod”
[ 13.197] (II) Module “extmod” already built-in
[ 13.197] (II) LoadModule: “glx”
[ 13.201] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 13.239] (II) Module glx: vendor=“X.Org Foundation”
[ 13.239] compiled for 1.19.6, module version = 1.0.0
[ 13.239] ABI class: X.Org Server Extension, version 10.0
[ 13.239] (II) LoadModule: “nvidia”
[ 13.239] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 13.280] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 13.280] compiled for 4.0.2, module version = 1.0.0
58,0-1 33%
[ 13.280] Module class: X.Org Video Driver
[ 13.288] (II) NVIDIA dlloader X Driver 32.6.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-5755-d7000) Thu Sep 16 21:03:52 PDT 2021
[ 13.288] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 13.289] (WW) Falling back to old probe method for NVIDIA
[ 13.289] (II) Loading sub module “fb”
[ 13.289] (II) LoadModule: “fb”
[ 13.289] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 13.293] (II) Module fb: vendor=“X.Org Foundation”
[ 13.293] compiled for 1.19.6, module version = 1.0.0
[ 13.293] ABI class: X.Org ANSI C Emulation, version 0.4
[ 13.293] (II) Loading sub module “wfb”
[ 13.293] (II) LoadModule: “wfb”
[ 13.293] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 13.297] (II) Module wfb: vendor=“X.Org Foundation”
[ 13.297] compiled for 1.19.6, module version = 1.0.0
[ 13.297] ABI class: X.Org ANSI C Emulation, version 0.4
[ 13.297] (II) Loading sub module “ramdac”
[ 13.297] (II) LoadModule: “ramdac”
[ 13.298] (II) Module “ramdac” already built-in
[ 13.299] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 13.299] (II) NVIDIA(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 13.299] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 13.299] (==) NVIDIA(0): RGB weight 888
[ 13.299] (==) NVIDIA(0): Default visual is TrueColor
[ 13.299] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 13.299] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 13.299] () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
[ 13.299] (
) NVIDIA(0): Enabling 2D acceleration
[ 13.299] (II) Loading sub module “glxserver_nvidia”
[ 13.299] (II) LoadModule: “glxserver_nvidia”
[ 13.300] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 13.534] (II) Module glxserver_nvidia: vendor=“NVIDIA Corporation”
[ 13.534] compiled for 4.0.2, module version = 1.0.0
[ 13.534] Module class: X.Org Server Extension
[ 13.534] (II) NVIDIA GLX Module 32.6.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-5755-d7000) Thu Sep 16 21:02:40 PDT 2021
[ 13.569] (–) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[ 13.569] (–) NVIDIA(0): DFP-0
[ 13.570] (–) NVIDIA(0): DFP-1
[ 13.570] (II) NVIDIA(0): NVIDIA GPU NVIDIA Tegra X1 (nvgpu) (GM20B) at SoC (GPU-0)
[ 13.570] (–) NVIDIA(0): Memory: 4059240 kBytes
[ 13.570] (–) NVIDIA(0): VideoBIOS:
[ 13.570] (==) NVIDIA(0):
[ 13.570] (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
[ 13.570] (==) NVIDIA(0): will be used as the requested mode.
[ 13.570] (==) NVIDIA(0):
[ 13.570] (–) NVIDIA(0): No enabled display devices found; starting anyway because
[ 13.570] (–) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 13.570] (II) NVIDIA(0): Validated MetaModes:
[ 13.570] (II) NVIDIA(0): “NULL”
[ 13.570] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 13.570] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 13.570] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 13.570] (–) Depth 24 pixmap format is 32 bpp
[ 13.570] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[ 13.571] (II) NVIDIA: access.
[ 13.573] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[ 13.573] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 13.573] (II) NVIDIA(0): may not be running or the “AcpidSocketPath” X
[ 13.573] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 13.573] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 13.573] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 13.573] (II) NVIDIA(0): details, please see the “ConnectToAcpid” and
[ 13.573] (II) NVIDIA(0): “AcpidSocketPath” X configuration options in Appendix B: X
[ 13.573] (II) NVIDIA(0): Config Options in the README.
[ 13.627] (II) NVIDIA(0): Setting mode “NULL”
[ 13.631] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 13.631] (==) NVIDIA(0): Backing store enabled
[ 13.631] (==) NVIDIA(0): Silken mouse enabled
[ 13.632] (==) NVIDIA(0): DPMS enabled
[ 13.632] (II) Loading sub module “dri2”
[ 13.632] (II) Module “dri2” already built-in
[ 13.632] (II) NVIDIA(0): [DRI2] Setup complete
[ 13.632] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 13.632] (–) RandR disabled
[ 13.639] (II) SELinux: Disabled on system
[ 13.640] (II) Initializing extension GLX
[ 13.641] (II) Indirect GLX disabled.
[ 13.820] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=3 (/dev/input/event0)
[ 13.820] (II) No input driver specified, ignoring this device.
[ 13.820] (II) This device may have been added with another device file.
[ 13.821] (II) config/udev: Adding input device gpio-keys (/dev/input/event1)
[ 13.821] () gpio-keys: Applying InputClass “libinput keyboard catchall”
[ 13.821] (II) LoadModule: “libinput”
[ 13.821] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 13.836] (II) Module libinput: vendor=“X.Org Foundation”
[ 13.836] compiled for 1.19.6, module version = 0.27.1
[ 13.836] Module class: X.Org XInput Driver
[ 13.836] ABI class: X.Org XInput driver, version 24.1
[ 13.836] (II) Using input driver ‘libinput’ for ‘gpio-keys’
[ 13.838] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 34 paused 0
[ 13.838] (
) gpio-keys: always reports core events
[ 13.838] () Option “Device” “/dev/input/event1”
[ 13.838] (
) Option “_source” “server/udev”
[ 13.839] (II) event1 - gpio-keys: is tagged by udev as: Keyboard
[ 13.839] (II) event1 - gpio-keys: device is a keyboard
[ 13.839] (II) event1 - gpio-keys: device removed
[ 13.839] () Option “config_info” “udev:/sys/devices/gpio-keys/input/input1/event1”
[ 13.840] (II) XINPUT: Adding extended input device “gpio-keys” (type: KEYBOARD, id 6)
[ 13.840] (
) Option “xkb_model” “pc105”
[ 13.840] (**) Option “xkb_layout” “us”
[ 13.841] (II) event1 - gpio-keys: is tagged by udev as: Keyboard
[ 13.841] (II) event1 - gpio-keys: device is a keyboard

                                                          139,1         79%
  1. Please share full xorg log. You can attach it as s file on this forum.

  2. If you use command “xinit &” on your nano, will you see something on the monitor?

If not, could you share the xorg log again? There should be some error telling what happened.

Please just use ethernet or wifi to send out the file to your host and upload the full log…

Your comment again shows that it seems another partial log from editor…

Also, why are you saying that you have no graphical environment but you shared a log with no monitor connected?
What kind of graphical environment do you want to see when no monitor is connected?

Ok, I’ll see what I can do. Thanks.

As a beginner, I’m having a little trouble with the permissions with using scp. I will get it sorted out though.

I’m expecting to see the graphical environment shown at about 11 minutes into the following YouTube video from Nvidia:

I believe that I should be seeing this even in Headless mode. I did try connecting a HDMI monitor and USB mouse and keyboard but the monitor says that there is no input.