The problem is that laptop go to suspend during boot because lid is closed. The behavior is actually highly depends on the hardware you use. It works for me with Lenovo Thinkpad P52 + Lenovo Thinkpad Thunderbolt 3 Gen2 dock station.
2) Use gnome-tweaks to disable suspend on lid closed (it actually creates ~/.config/autostart/ignore-lid-switch-tweak.desktop to achieve this) - does nothing for me
3) There is an option (which i use in combination with logind.conf) in Lenovo BIOS to use external docked monitor as main screen during boot - check if there is similar option in your BIOS.
Please, let us know if you will find a solution for your hardware
The problem is that laptop go to suspend during boot because lid is closed. The behavior is actually highly depends on the hardware you use. It works for me with Lenovo Thinkpad P52 + Lenovo Thinkpad Thunderbolt 3 Gen2 dock station.
Here is my full logind.conf:
#NAutoVTs=6 ses=no rs=root xSec=5 =poweroff ey=suspend eKey=hibernate =lock ExternalPower= lock Docked= ignore Inhibited= no reInhibited= no noreInhibited= no eInhibited= yes Sec=30s 30min rySize= 10%
#ReserveVT=6
#KillUserProces
#KillOnlyUsers=
#KillExcludeUse
#InhibitDelayMa
#HandlePowerKey
#HandleSuspendK
#HandleHibernat
HandleLidSwitch
HandleLidSwitch
HandleLidSwitch
#PowerKeyIgnore
#SuspendKeyIgno
#HibernateKeyIg
#LidSwitchIgnor
#HoldoffTimeout
#IdleAction=ignore
#IdleActionSec=
#RuntimeDirecto
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
Here is the ways i found to deal with that:
1) Play with logind.conf params (https:/ /www.freedeskto p.org/software/ systemd/ man/logind. conf.html - manual for configuration)
2) Use gnome-tweaks to disable suspend on lid closed (it actually creates ~/.config/ autostart/ ignore- lid-switch- tweak.desktop to achieve this) - does nothing for me
3) There is an option (which i use in combination with logind.conf) in Lenovo BIOS to use external docked monitor as main screen during boot - check if there is similar option in your BIOS.
Please, let us know if you will find a solution for your hardware