Login greeter fails to start automatically

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Login greeter fails to start automatically

Post by bradnag »

Hi Folks,

I wanted to upgrade the kernel 5.15.161 and I made mistake running

Code: Select all

slackpkg upgrade-all
instead

Code: Select all

slapt-get -u && slapt-get --upgrade
as usually do and right now the login manager does not automatically starts. I need to startx from tty console.
I reinstalled lightdm* but no success.
How can I restore the greeter prompt?

Thanks a lot!
User avatar
gapan
Salix Wizard
Posts: 6338
Joined: 6. Jun 2009, 17:40

Re: Login greeter fails to start automatically

Post by gapan »

Why would you use slackpkg?

https://docs.salixos.org/faq/slackpkg/

Now you must undo the damage. You will be lucky if all it takes is to run

Code: Select all

sudo slapt-get--update
sudo slapt-get --upgrade
Image
Image
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Re: Login greeter fails to start automatically

Post by bradnag »

I know was foolish, I noticed was a Firefox upgrade and were no kernel upgrades so I thought will be no damages. I got kernel panic probably because it changed to generic from huge, I fixed the boot by login does not start auto.

Now the firmware is trying to install the previous version and successfully fail every time.
User avatar
gapan
Salix Wizard
Posts: 6338
Joined: 6. Jun 2009, 17:40

Re: Login greeter fails to start automatically

Post by gapan »

You got a kernel panic? So you can't boot at all?

It would certainly be possible to fix it if you knew how. But at this point, it would probably be easier and less time consuming to just reinstall from scratch.
Image
Image
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Re: Login greeter fails to start automatically

Post by bradnag »

the kernel panic was not a problem, I fixed the boot, thanks
User avatar
gapan
Salix Wizard
Posts: 6338
Joined: 6. Jun 2009, 17:40

Re: Login greeter fails to start automatically

Post by gapan »

So, is there still a problem?
Image
Image
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Re: Login greeter fails to start automatically

Post by bradnag »

yes, with the login greeter, does not start automatically. I have to login and startx and then all is good
User avatar
gapan
Salix Wizard
Posts: 6338
Joined: 6. Jun 2009, 17:40

Re: Login greeter fails to start automatically

Post by gapan »

Check the contents of the /etc/inittab file. The default runlevel should be set to 4, like this:

Code: Select all

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
Image
Image
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Re: Login greeter fails to start automatically

Post by bradnag »

completely forgot about that thank you! Hopefully!
bradnag
Posts: 46
Joined: 1. Nov 2022, 23:38

Re: Login greeter fails to start automatically

Post by bradnag »

yes, inittab level was 3. Changed to 4. Thanks so much!
Post Reply