Unable to login to NVIDIA account on TX2

Hello Everyone. I have this brand new TX2. I am facing the exact same issue as the one in this thread
However, where this person resolved the issue by going into console mode (Ctrl+alt+f2) to get tty2and then logging in to nvidia username, I tried the same but I am still stuck. This is what happens with me. When I enter the nvidia username and password, I get a welcome msg. Then I use the command “startx” to launch the UI, but it returns this:
xauth: timeout in locking authority file /home/nvidia/.Xauthority

This means that x server has already started.

I’m not sure, but I think this is CTRL + ALT + F7 to go back to ubuntu.

Yes, the lock file is either there from an already running session, or left over from some previous crashed process (if it was a fresh reboot then nobody could own the lock and a crashed process holding the file wouldn’t be possible).

In command line ALT+F7 to switch to terminal 7 (the GUI terminal in Ubuntu), in GUI CTRL+ALT+F7 (but of course if you are already in GUI you probably don’t need to switch to GUI…though you can run two X servers at once and then it matters).

And yes, X should already be running. A more modern command might be “sudo systemctl isolate graphical.target” (and this too won’t matter since it is set up to always hit that target anyway, but it still does some other housekeeping).

Try logging in as “ubuntu”, pass “ubuntu”. Also, if you just flashed, then there may be permissions issues. Or a filled file system will also do this since temp space may be required for file locks.

The ultimate debug tool is a serial console. See: