First of all:
- I know it's not a good practice. But I mainly use this VM to do crazy stuff and I'm tired of typing my password all the time. I'm also lazy and don't want to login manually. So please see this as an experiment.
- This is not a duplicate of the later mentioned questions. continue to read and you know what I mean.
- Why? Just Because! This is the only reason.
- Yes, it's stupid and dangerous.
- Yes, I won't use this anywhere else. It's just for fun.
- Anyone else: DO NOT USE THIS!
Finally lets start:
I've followed the answers of Login as root on ubuntu desktop and How to enable root login?. They work an I'm able to login. As you can see:
But now comes the problem: As soon as I try to edit my /etc/gdm3/custom.conf
, change AutomaticLogin=user
to AutomaticLogin=root
and restart, the ubuntu login screen won't show up anymore. It's getting stuck at this screen:
Now I'm not able to login at all.
How can I get this to work?
Logs can be found at: https://gist.github.com/janwiesemann/8f7c8d2e267c61d6c514da8ae734794f