antix-skidoo / slim-antix

0 stars 0 forks source link

auto_login yes, default_user ibBOGUS ---} unresponsive black screen #3

Open antix-skidoo opened 6 years ago

antix-skidoo commented 6 years ago

Although the "antiX autologin setup tool" https://github.com/antix-skidoo/slim-antix/blob/master/debian/custom/slim-login guards against accidentally setting an invalid default_user...

...a scenario "auto_login=yes, default_user=ibBOGUS" can result from 1) typo when sysadmin manually edits /etc/slim.conf 2) deletion of the user account matching the previously set default_user

SLiM should (but currently does not) gracefully handle this scenario App::Run() https://github.com/antix-skidoo/slim-antix/blob/master/app.cpp#L328 https://github.com/antix-skidoo/slim-antix/blob/master/app.cpp#L368