Using XFCE on a Raspberry Pi with Leap 15.6
I am using XFCE on a Raspberry Pi with Leap 15.6. Because there is only one user I want to autologin that user. In /etc/sysconfig/displaymanager there is an entry DISPLAYMANAGER_AUTOLOGIN, which I give the value of the username. There are two problems. Problem 1: After booting there is no login screen or a XFCE session started. Problem 2: When I goto console 1 <Ctrl>+<Alt>+<f1>, login as root and give: "systemctl restart displaymanager" I do get a login screen, but no autologin. Any suggestions? I found some autologin_timeout value in /etc/lightdm/lightdm.conf, but did not find the proper location where to put this entry (might solve problem 1). -- fr.gr. member openSUSE Freek de Kruijf
On 9/2/24 9:57 AM, Freek de Kruijf wrote:
I am using XFCE on a Raspberry Pi with Leap 15.6. Because there is only one user I want to autologin that user. In /etc/sysconfig/displaymanager there is an entry DISPLAYMANAGER_AUTOLOGIN, which I give the value of the username.
There are two problems.
Problem 1: After booting there is no login screen or a XFCE session started.
Problem 2: When I goto console 1 <Ctrl>+<Alt>+<f1>, login as root and give: "systemctl restart displaymanager" I do get a login screen, but no autologin.
Any suggestions?
I found some autologin_timeout value in /etc/lightdm/lightdm.conf, but did not find the proper location where to put this entry (might solve problem 1).
Ensure autologin-user= in /etc/lightdm/lightdm.conf contain the correct value AND NO TRAILING WHITESPACE (no spaces, tabs, etc..) That's my best guess (from the Archwiki). I use kdm3 and I avoid autologin as a security feature :) -- David C. Rankin, J.D.,P.E.
Op dinsdag 3 september 2024 02:19:19 CEST schreef David C. Rankin:
On 9/2/24 9:57 AM, Freek de Kruijf wrote:
I am using XFCE on a Raspberry Pi with Leap 15.6. Because there is only one user I want to autologin that user. In /etc/sysconfig/displaymanager there is an entry DISPLAYMANAGER_AUTOLOGIN, which I give the value of the username.
There are two problems.
Problem 1: After booting there is no login screen or a XFCE session started.
Problem 2: When I goto console 1 <Ctrl>+<Alt>+<f1>, login as root and give: "systemctl restart displaymanager" I do get a login screen, but no autologin.
Any suggestions?
I found some autologin_timeout value in /etc/lightdm/lightdm.conf, but did not find the proper location where to put this entry (might solve problem 1). Ensure autologin-user= in /etc/lightdm/lightdm.conf contain the correct value AND NO TRAILING WHITESPACE (no spaces, tabs, etc..)
That's my best guess (from the Archwiki). I use kdm3 and I avoid autologin as a security feature :)
Many thanks David. It was indeed a typo in the user name, so auto login works now. However after a (re)boot the displaymanager does not start the session, although the displaymanager is active. I have to give "systemctl restart displaymanager.service" to get a session on vt7. I can do this after activating a console session using <Ctrl>+<Alt>+<F1> and logging in as root. Just did a new boot and now I got a auto login. -- fr.gr. member openSUSE Freek de Kruijf
participants (2)
-
David C. Rankin
-
Freek de Kruijf