You are not logged in.

#1 2022-01-24 10:36:08

Pezhman
Member
Registered: 2022-01-19
Posts: 63

[SOLVED]How to auto login in arch

Hello
I was a Ubuntu user and it automatically logged me in to the desktop
I don't want to enter my password every time I boot into the system
Is it possible to do the same in arch?
If so how?

Last edited by Pezhman (2022-01-25 09:39:00)

Offline

#2 2022-01-24 10:57:19

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: [SOLVED]How to auto login in arch

Ubuntu uses gdm display manager. You can add the line "PasswordRequired=false" to "/etc/gdm/custom.conf" under the [security] section.

If you login with .xinitrc then this will help:

https://wiki.archlinux.org/title/Xinit# … X_at_login

Last edited by ishaanbhimwal (2022-01-24 10:58:50)

Offline

#3 2022-01-24 11:15:23

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to auto login in arch

I installed KDE plasma and I use sddm.
is there any guide for that?

Offline

#4 2022-01-24 11:20:19

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED]How to auto login in arch

Check the wiki.

Offline

#5 2022-01-24 11:22:18

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

Re: [SOLVED]How to auto login in arch

Please search the wiki before posting, there's a section that covers exactly that.


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 2022-01-24 12:11:46

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to auto login in arch

As you mentioned I went to the wiki
https://wiki.archlinux.org/title/SDDM#Autologin
I edited sddm auto configuration file

/etc/sddm.conf.d/autologin.conf

[Autologin]
User=pezhman
Session=plasma

but it doesn't automatically log me in.
what should I do?

Offline

#7 2022-01-24 12:30:19

waitnsea
Member
From: France
Registered: 2013-02-10
Posts: 60

Re: [SOLVED]How to auto login in arch

Pezhman wrote:

As you mentioned I went to the wiki
https://wiki.archlinux.org/title/SDDM#Autologin
I edited sddm auto configuration file

/etc/sddm.conf.d/autologin.conf

[Autologin]
User=pezhman
Session=plasma

but it doesn't automatically log me in.
what should I do?

Try

Session=plasma.desktop

Offline

#8 2022-01-24 12:34:24

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to auto login in arch

I did it but it still doesn't work.
do i have to generate some form of img?
like grub when you edit configuration?

Offline

#9 2022-01-24 12:40:44

dogknowsnx
Guest

Re: [SOLVED]How to auto login in arch

Reboot?

#10 2022-01-24 12:41:51

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: [SOLVED]How to auto login in arch

Go into System Settings -> Startup and Shutdown -> Login Screen (SDDM) -> Behaviour. Select the box that says "auto login" and select the user and session.

Offline

#11 2022-01-25 09:38:43

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to auto login in arch

Thank everyone
[SOLVED]

Offline

Board footer

Powered by FluxBB