I just noticed the /root/
in your logs. And you say it is Ubuntu. There’s so much out there saying to never run GUIs as root that you might be running into a limit that Ubuntu enforces.
Try using a regular user account instead of root.
Then set your display manager to autologin to the designated regular user, if that’s the kind of startup you want.