When my laptop autosuspends and I turn it on I get the lighDM screen, I login, but I get a black screen and I can' t reach the desktop.
And so I have to reboot.
The problem doesn't happen with the first login.
When I press ctrl+alt+f1 I get a "bad" line:
Code: Select all
[FAIL] startpar: service(s) returned failure : playmouth ... failed!
Code: Select all
systemd-login[7910]: Failed to enable subscription: Connection timed out
systemd-login[7910]: Failed to fully start up daemon: Connection timed out
(Last year I messed up my configuration and I had to reinstall MX because I used Thunar with root privileges and something went wrong, this time I used terminal to avoid errors of this kind)
So I moved to the /etc/lightdm directory and I used nano to edit the lighdm.conf file.
As you can see I just changed the "autologin-user-timeout" value to 9.
Code: Select all
[SeatDefaults]
#type=xlocal
xserver-command=X -dpi $DPI
#xserver-layout=
#xserver-config=
xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session=lightdm-greeter
#greeter-hide-users=true
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
session-wrapper=/etc/X11/Xsession
display-setup-script=/usr/local/bin/early-bg
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=michele
autologin-user-timeout=9
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false
Code: Select all
totale 24
-rw-r--r-- 1 root root 40 nov 21 2017 keys.conf
-rw-r--r-- 1 root root 4888 set 29 12:25 lightdm.conf
-rw-r--r-- 1 root root 392 set 29 12:17 lightdm-gtk-greeter.conf
drwxr-xr-x 2 root root 4096 feb 6 2019 mx18
-rw-r--r-- 1 root root 452 nov 21 2017 users.conf
Thank in advance.