Score:-1

How do I start Ubuntu on lock screen?

cl flag

So as soon I boot my Ubuntu this screen shows up:

enter image description here

But the thing is, I only have one user anyway, I'd like to boot directly on "lock screen", it's the screen you get when you use the option "lock", it sends you to a screen to just type your password and hit enter, instead of choose the user:

enter image description here

Is there any way to do it?

It's similar to KDE feature.

Score:1
it flag

I don't think you can do exactly this. Consider the run-time contexts: 1) Awaiting login by any user, no full GUI started yet, no user initialization; and 2) logged in as $USER, GUI started, user initialization done. But, there's a partial solution.

Create a swap file as big as your RAM, add it to your /etc/fstab, and, rather than shutting down Ubuntu, you can "hibernate". When you "resume", you will see the lock screen, with your session behind it. You WILL have to login the hard way once, to perform the initial hibernation.

Read man mkswap fallocate swapon fstab free pm-action

Be careful with the vocabulary here, there are 3 separate concepts:

  • Hibernate - system state saved to disk, system powers OFF.
  • Suspend - system state saved in RAM, system enters low power state.
  • Sleep - Processes give up access to CPU for a short time. No effect on system.
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.