You are not logged in.
Before I begin, allow me to declare myself where I stand in Arch Installation : I'm a newbie, but I have been installing Arch enough times (since I'm hooked to Arch like no other) that I can install from scratch without looking at the basic Install guide wiki anymore. (I still look it up, in case I miss anything.)
After upgrading my main desktop, I moved the previous system to the living room for common use.
SYSTEM:
-------------
ASUS ROG Strix H370-F
Core i7-8700K
On-board Intel UHD graphics.
16GB RAMFollowed https://wiki.archlinux.org/title/LightD … _autologin and https://wiki.archlinux.org/title/LightD … s_not_work.
Done all of the following:
/etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=username
You must be part of the autologin group to be able to login automatically without entering your password:
# groupadd -r autologin
# gpasswd -a username autologin
LightDM logs in using the session specified in the ~/.dmrc of the user getting logged in automatically. To override this file, specify autologin-session in lightdm.conf:
/etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=username
autologin-session=sessionNo matter what, at the login, I still get the password login of the lightdm greeter. I've also set the autologin timeout=0.
Went through my /usr/share/xsessions/xfce.desktop to look for my autologin-session name, which was shown as: Xfce Session. (I also tried "xfce4", but still cannot autologin.)
(One thing I noted from following the above wiki is that I don't have the ./dmrc file.)
What am I doing wrong? Please guide.
Thank you.
Last edited by amghwk (2021-08-12 11:02:33)
Offline
I take it that you have replaced username with your actual username?
Offline
I take it that you have replaced username with your actual username?
Yep. The above post inside the code block was just the part I copied and pasted from the wiki directly.
Offline
Offline
How will that solve my problem?
Offline
I don't have the ./dmrc file.
It's not ./dmrc but ~/.dmrc ( it's a hiden directory in your home)
LightDM logs in using the session specified in the ~/.dmrc of the user getting logged in automaticallyI think that don't work because you dont'have this directory, in the archlinux wiki there's wrote that LightDM read inside this directory to know what session have to use, so if you don't have that directory probably the Display Manager don't know how to login and do nothing
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
I followed the wiki to install lightdm. Why is the ~./dmrc file not created? (I always enable to show hidden files in Thunar.)
Since it's not there, I got the autologin-session name from /usr/share/xsession/xfce.desktop file.
Anyway, in one of my laptops, I see there is a .dmrc file created and it showed xfce as session name. I'll recreate this file in my desktop and will check again.
Last edited by amghwk (2021-08-12 09:26:08)
Offline
Solved : I created the .dmrc (with the Session=xfce under [Desktop]) file in my home directory.
If I follow the wiki to get the session name from /usr/share/xsessions/xfce.desktop, (which is shown as "Xfce Session"), it doesn't work for auto-login.
The name of the autologin session for xfce, which I replicated from another laptop with Arch, is just "xfce", and not "Xfce Session" or "xfce4".
Offline