Score:-3

What's the root password for Ubuntu 22.04?

ad flag

We installed Ubuntu desktop GUI on our Ubuntu 22.04. We are able to ssh fine into root user of this VM. The problem comes when we try to login using Microsoft Remote Desktop. This screen asks us for a password we did not set.

So far, the only workaround we found was ssh-ing and rebooting the VM to bypass this login screen.

How do I login to this VM graphically? Thanks!

enter image description here

EODCraft Staff avatar
cn flag
When you set up Ubuntu, it asks you to select a password. Then you can `sudo` to root.
Score:2
it flag

Root doesnt have a password per default. It's not recommended to use root as a user at all, and I would strongly suggest you use sudo to elevate the commands you need. If you do need to use root, this is possible.

Link to guide from linuxconfig

You need to set a password for root, and then allow root login.

Sciffany avatar
ad flag
Thank you. The article was just what we needed.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.