Autologin not working booting to systemd option
Autologin not working booting to systemd option
I have MX23 XFCE4 and I needed to use a Dell D6000 USB-C dock (aka displaylink) to connect my laptop to 2 screens and ethernet.
However, the Linux driver only runs under systemd, therefore I choose advanced options -> systemd
Under "normal" Libretto I auto-login and logout of XFCE without any login prompts.
After booting to systemd I went to MX User Manager and made sure my user account is set to auto login.
But this doesn't work and I'm promted to enter my username and pwd to log in.
Same happens when I logout/reboot - the system drops out of XF desktop and asks me to provide credentials (after 10 sec the prompt goes away)
Question: How do I fix this and configure systemd to enable auto login/logout?
However, the Linux driver only runs under systemd, therefore I choose advanced options -> systemd
Under "normal" Libretto I auto-login and logout of XFCE without any login prompts.
After booting to systemd I went to MX User Manager and made sure my user account is set to auto login.
But this doesn't work and I'm promted to enter my username and pwd to log in.
Same happens when I logout/reboot - the system drops out of XF desktop and asks me to provide credentials (after 10 sec the prompt goes away)
Question: How do I fix this and configure systemd to enable auto login/logout?
- dolphin_oracle
- Developer
- Posts: 22057
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Autologin not working booting to systemd option
please post the quick-system-info for your system, as well as the /etc/lightdm/lightdm.conf file and the output of the following:
at reboot/shutdown, do you actually have to enter a password for reboot/shutdown to continue, or do you just see the login screen and reboot/shutdown continues on its own?
Code: Select all
apt policy dbus-user-session
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Autologin not working booting to systemd option
Thank you Sir - do I need to boot into systemd before I run these outputs?
Re: Autologin not working booting to systemd option
No I don't need to enter username/pwd for reboot/shutdown - the prompt goes away after 5-10 sec and reboot continues on its own. But for login it's persistantdolphin_oracle wrote: Tue Dec 05, 2023 10:54 pm please post the quick-system-info for your system, as well as the /etc/lightdm/lightdm.conf file and the output of the following:
at reboot/shutdown, do you actually have to enter a password for reboot/shutdown to continue, or do you just see the login screen and reboot/shutdown continues on its own?Code: Select all
apt policy dbus-user-session
You do not have the required permissions to view the files attached to this post.
- dolphin_oracle
- Developer
- Posts: 22057
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Autologin not working booting to systemd option
nothing is jumping out at me, as long as your user name "me" is correct in you lightdm.conf file. and that should have been the same between sysVinit and systemd anyway.
I sort of wonder about the $DISPLAY while you are running that dock.
maybe after log in under systemd:
I sort of wonder about the $DISPLAY while you are running that dock.
maybe after log in under systemd:
Code: Select all
xrandr
echo $DISPLAY
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Autologin not working booting to systemd option
1) Yes, the user name is correct as I'm using "personal" snapshots to keep tweaking my "assembly" of mx23 XFCE
2) The login/out forced authentication happens regardless of wheather the dock is connected or not - under systemd I have to provide my user creds to login to XFCE session and when I log out it wants to auth me when it drops out of XFCE session under systemd.
I don't-do in-flight logouts - just use advanced option to log in under systemd when I boot up.
I suspect this is something to do how the "advanced option" works to initiate a systemd session (autologin is lost).
Nothing major, but I wish I could fix the problem
xrandr
echo $DISPLAY just reports screen resolutions and that DP1/DP2 are disconnected - no errors and nothing to require user authentcation ...
2) The login/out forced authentication happens regardless of wheather the dock is connected or not - under systemd I have to provide my user creds to login to XFCE session and when I log out it wants to auth me when it drops out of XFCE session under systemd.
I don't-do in-flight logouts - just use advanced option to log in under systemd when I boot up.
I suspect this is something to do how the "advanced option" works to initiate a systemd session (autologin is lost).
Nothing major, but I wish I could fix the problem
xrandr
echo $DISPLAY just reports screen resolutions and that DP1/DP2 are disconnected - no errors and nothing to require user authentcation ...
- dolphin_oracle
- Developer
- Posts: 22057
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Autologin not working booting to systemd option
The display variable should not include any resolutions.
Where did the driver come from?
Where did the driver come from?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- dolphin_oracle
- Developer
- Posts: 22057
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Autologin not working booting to systemd option
I found a driver package from dell, maybe that is is.
https://dl.dell.com/FOLDER08515978M/1/N ... ftware.zip
looking at some of the installation information, I'm wondering if the fact that the dock driver loads AFTER ligthdm, and the fact that we have an init script fro lightdm as well as a systemd service, may be causing you some grief.
you could try
which should disable the sysVinit lightdm init script, but leave the systemd service file alone. maybe that will help you.
https://dl.dell.com/FOLDER08515978M/1/N ... ftware.zip
looking at some of the installation information, I'm wondering if the fact that the dock driver loads AFTER ligthdm, and the fact that we have an init script fro lightdm as well as a systemd service, may be causing you some grief.
you could try
Code: Select all
sudo update-rc.d lightdm remove
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Autologin not working booting to systemd option
Hi mate, cheers for getting back to me with this issue, greatly asppreciated!
1) The driver comes from here : https://github.com/AdnanHodzic/displayl ... g/v5.7.0.2
2) After running <sudo update-rc.d lightdm remove> the results are:
a) under "normal" login the system boots, but after the MX logo the screen goes black and nothing else happens
b) under "advanced options / systemd" login it completes the boot and displaylink driver works OK, but authentication is still required for logon and logoff (for the latter the prompt goes away and logout completes without providing user creds)
1) The driver comes from here : https://github.com/AdnanHodzic/displayl ... g/v5.7.0.2
2) After running <sudo update-rc.d lightdm remove> the results are:
a) under "normal" login the system boots, but after the MX logo the screen goes black and nothing else happens
b) under "advanced options / systemd" login it completes the boot and displaylink driver works OK, but authentication is still required for logon and logoff (for the latter the prompt goes away and logout completes without providing user creds)
- dolphin_oracle
- Developer
- Posts: 22057
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Autologin not working booting to systemd option
ok you can put lightdm back with
Code: Select all
sudo update-rc.d lightdm defaults
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.