You are not logged in.

#1 2021-05-30 17:13:51

malacology
Member
Registered: 2021-04-24
Posts: 152

[Solved] How to autologin in non-desktop environment?

How to autologin in a non-desktop environment?
Every time I boot my x86_64 Pi, I need to connect it to the display screen and log in, What methods can I try to auto-login while booting? I have no desktop environment.

Last edited by malacology (2021-05-31 02:23:43)


Don't speak to silly man. Keep Minimalism.

Offline

#2 2021-05-30 17:19:19

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] How to autologin in non-desktop environment?

Please search before posting, it's all in the wiki...
https://wiki.archlinux.org/title/Getty# … al_console

If there is no keyboard and display attached then why do you need to log in locally?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-05-30 17:21:58

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] How to autologin in non-desktop environment?

Slithery wrote:

Please search before posting, it's all in the wiki...
https://wiki.archlinux.org/title/Getty# … al_console

Right, I found it, but I thought my pi is not a virtual console.


Don't speak to silly man. Keep Minimalism.

Offline

#4 2021-05-30 17:35:22

loqs
Member
Registered: 2014-03-06
Posts: 19,012

Re: [Solved] How to autologin in non-desktop environment?

Slithery wrote:

If there is no keyboard and display attached then why do you need to log in locally?

Is this an X-Y problem?  What are you trying to achieve?

Offline

#5 2021-05-30 17:36:15

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] How to autologin in non-desktop environment?

malacology wrote:

but I thought my pi is not a virtual console.

Your Pi isn't a virtual console, but the screen that you log into is.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2021-05-30 17:41:05

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] How to autologin in non-desktop environment?

loqs wrote:
Slithery wrote:

If there is no keyboard and display attached then why do you need to log in locally?

Is this an X-Y problem?  What are you trying to achieve?

I want make my pi become server


Don't speak to silly man. Keep Minimalism.

Offline

#7 2021-05-30 17:42:39

loqs
Member
Registered: 2014-03-06
Posts: 19,012

Re: [Solved] How to autologin in non-desktop environment?

malacology wrote:

I want make my pi become server

What is the connection?  Why would a server need to have any one logged in?

Offline

#8 2021-05-30 17:48:20

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] How to autologin in non-desktop environment?

Slithery wrote:
malacology wrote:

but I thought my pi is not a virtual console.

Your Pi isn't a virtual console, but the screen that you log into is.

I thought login auto to virtual console is auto login via ssh


Don't speak to silly man. Keep Minimalism.

Offline

#9 2021-05-30 18:25:27

loqs
Member
Registered: 2014-03-06
Posts: 19,012

Re: [Solved] How to autologin in non-desktop environment?

Offline

#10 2021-05-31 02:23:26

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] How to autologin in non-desktop environment?

Slithery wrote:

Please search before posting, it's all in the wiki...
https://wiki.archlinux.org/title/Getty# … al_console

If there is no keyboard and display attached then why do you need to log in locally?

Thanks, this method works.


Don't speak to silly man. Keep Minimalism.

Offline

Board footer

Powered by FluxBB