Artix Linux Forum

General Category => Forum => Topic started by: mardiyah on 20 October 2021, 07:18:53

Title: Have Artix automatically log into Desktop
Post by: mardiyah on 20 October 2021, 07:18:53
On Xfce openRC, how to have Artix automatically log into Desktop without prompting password ?
Title: Re: Have Artix automatically log into Desktop
Post by: manoca on 20 October 2021, 10:45:22
I guess that depeds on your session manager (sddm, lightDm,...). Which one do you use?
Title: Re: Have Artix automatically log into Desktop
Post by: mardiyah on 20 October 2021, 10:57:46
How do we determine such on non systemd ?
Title: Re: Have Artix automatically log into Desktop
Post by: nous on 20 October 2021, 11:12:05
On Xfce openRC, how to have Artix automatically log into Desktop without prompting password ?
Assuming you run the default XFCE/OpenRC install, add your user to autologin group and change autologin-user=artix to yours in /etc/lightdm/lightdm.conf.
Title: Re: Have Artix automatically log into Desktop
Post by: mardiyah on 20 October 2021, 11:25:46
No autologin-user=artix

it's already
autologin-user=<user name>

Title: Re: Have Artix automatically log into Desktop
Post by: manoca on 20 October 2021, 11:43:05
... add your user to autologin group...
?
Title: Re: Have Artix automatically log into Desktop
Post by: nous on 20 October 2021, 11:56:54
Code: [Select]
% sudo usermod -a -G autologin manoca
Title: Re: Have Artix automatically log into Desktop
Post by: nous on 20 October 2021, 11:58:06
No autologin-user=artix

it's already
autologin-user=<user name>
How about your group membership? People, this isn't windows or ubuntu.
Title: Re: Have Artix automatically log into Desktop
Post by: manoca on 20 October 2021, 12:43:21
Code: [Select]
% sudo usermod -a -G autologin manoca
The questionmark was not to symbolize, that I don't know how to add a user to a group. It was to remind the OP(original Poster :D) of this necessity as he just stated, that he had his user in the lightdm.conf, but nothing about adding himself to the autologin group.
and before anyone asks: check your group memberships with the
Code: [Select]
groups
command ;)
Title: Re: Have Artix automatically log into Desktop
Post by: calvinh on 20 October 2021, 14:45:31
How about your group membership? People, this isn't windows or ubuntu.

May also need new group nopasswdlogin  and add,

Code: [Select]
auth        sufficient  pam_succeed_if.so user ingroup nopasswdlogin

in /etc/pam.d/lightdm
Title: Re: Have Artix automatically log into Desktop
Post by: mardiyah on 20 October 2021, 16:10:48
admit that I'm noob in Linux security stuff, just found
Code: [Select]
$ groups
log network scanner power users video storage optical lp audio wheel budi

$ sudo usermod -a -G autologin budi
usermod: group 'autologin' does not exist

What'd directory pam stand for
Title: Re: Have Artix automatically log into Desktop
Post by: lq on 20 October 2021, 17:40:50
Code: [Select]
# groupadd -r autologin

MfG
Title: Re: Have Artix automatically log into Desktop
Post by: calvinh on 20 October 2021, 18:34:35
duplication
Title: Re: Have Artix automatically log into Desktop
Post by: strajder on 20 October 2021, 20:32:27
This should be fixed in the next weekly ISOs.
Title: Re: Have Artix automatically log into Desktop
Post by: mardiyah on 21 October 2021, 13:12:14
Works like a charm !

Thanks a Billion !
more importantly must God reward you and bless you ...and me too