Hi I am having login loop with a Jetson AGX Zavier running the jetpack 4.5.
Initially I was able to run the Ubuntu 18.04 following the instructions, but from some point, I cannot log in to the desktop. I come back to the logon screen again and again without error messages.
I am sure I enter ID/PW correctly because if I enter wrong password, it shows the error message for wrong ID/PW.
When I switch to the CUI using Ctrl+Alt+F2, it’s fine, but I do not know how to proceed.
I can’t answer, but once you are in the command line with CTRL+ALT+F2, you can attach this log file: /var/log/Xorg.0.log
(in some cases it might be “/var/log/Xorg.1.log”)
I’m surprised that the Xorg log didn’t really show anything useful. Can you attach a serial console boot log? This would show messages from even prior to login, and would not require using the CUI. The first failure in the login loop would be shown without having to wait for CUI.
Here is the boot log, I suppose.
After the first boot, I tried to log on to Ubuntu desktop and was brought back to the log on screen by the login loop. boot.log (78.2 KB)
The exact steps was this:
I installed ubuntu18.04LTS and JetPack4.5 to Jetson AGX Xavier using the NVIDIA SDK Manager, which went well.
Then, at some point. I think I ran an update using apt update;apt upgrade on the desktop terminal. I did not remember any abnormality, but after I rebooted, I was not able to log on to the desktop. The log on screen appears normally, but after I enter the ID/PW, it pauses for a while and come back to the same log-on screen.
I switched to console using CTL+ALT+F2, then, I could log on without problems, though at first, the PATH is somehow erased and I wasn’t able to even ls or sudo. After I set up the PATH, they are all fine. I can also log on using SSH.
The only problem I have is that I cannot log on to the Ubuntu desktop.
I am trying to find a way to avoid re-flashing the disk I am afraid the it would erase everything on the disk (please correct me if I’m wrong.), but if there is no other way, I will do so.
I am not sure what you meant by “always,” but this was the first time that I installed JetPack, and the latest version just happened to be 4.5. I have never tried other versions.
Thanks.
That is the correct permission for sudo, so the problem is not how the filesystem was installed. I suggest flashing again as others have mentioned, but I am going to suggest a command line flash to simplify what is installed (if command line flash works, then you can choose to later run JetPack/SDKM with flash disabled and install any options you want). An example command line full flash for an AGX dev kit from the “Linux_for_Tegra/” directory: sudo ./flash.sh jetson-xavier-devkit mmcblk0p1