HELP: Display Fails with 07Dec2019 Upgrade [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

VolvoBirkenstock
Advanced Hen
Posts: 226
Joined: Sun Mar 31, 2013 5:34

HELP: Display Fails with 07Dec2019 Upgrade [Solved]

Post by VolvoBirkenstock » Sun Dec 08, 2019 4:28

Hello, Sabayon Gurus.

I have just upgraded both my desktop and laptop. I rebooted the laptop and can obtain only a terminal login...lightdm or something earlier is failing. I have not rebooted my desktop yet because I fear the same issue might occur. Both the desktop and laptop are running the 5.3 kernel and were LFC'd from a KDE iso. The laptop likely uses an Intel Sandybridge graphics chipset. (It's dual-bootable and that is what Windows is telling me.) I am using the default configuration: stuff like OpenGL uses xorg-x11 and OpenCL uses ocl-icd. Frankly, I don't know what other information you need from me.

1. Since the display manager fails, I login to the terminal as root.
2. As root, I execute "lightdm &". (Perhaps I need to add arguments to the lightdm command, but this isn't my strong suit.)
3. After a short period of time, I can login as a normal user through the normal Sabayon graphical interface and do so. However, not long after this completes, the display manager fails with an error that looks like this:

Code: Select all

(lightdm:901): GLib-GObject-CRITICAL **: 21:26:20.571: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (process:989): WARNING **: 21:26:33.435: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
The laptop is plugged into a reliable power source. Several minutes after this warning is received, the laptop goes dark and becomes unresponsive. I have to press the power button for a hard shutdown and then activate the power button to boot.

I don't know how to recover from this issue. First, I need to know how to correct the issue from the terminal window. At least I still have network access. If I must, I can boot off of a LiveDVD and modify files. I can chroot if necessary.

Please let me know any and all additional information you need from me.

Thank you very much in advance.
Last edited by VolvoBirkenstock on Mon Dec 09, 2019 0:28, edited 1 time in total.

msdobrescu
Old Dear Hen
Posts: 787
Joined: Sun Aug 21, 2011 8:48

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by msdobrescu » Sun Dec 08, 2019 8:08

Hi, I have a desktop and a laptop too, but mine work.
I an nVidia based on both, although the laptop has Optimus, I've managed to switch to nVidia completely. Also Kernel 5.3.11.
But seems something is broken in other part.
What if you try to upgrade from the command line (with equo, "equo update" and "equo upgrade" as su)? Maybe re-install the lightdm? That error seem to be related to systemd too, as I see on Google.
But I am not a specialist.
Is Windows working fine? This would mean the hardware works.
What do you mean by "Windows is telling it's dual booting"?

VolvoBirkenstock
Advanced Hen
Posts: 226
Joined: Sun Mar 31, 2013 5:34

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by VolvoBirkenstock » Sun Dec 08, 2019 9:37

Thank you for your reply, msdobrescu.

The laptop is dual-bootable. Windows is working fine. This issue is not caused by a hardware failure. When I boot the laptop into Windows, I can look at the driver properties, and the properties state that the graphics hardware uses an Intel Sandybridge graphics chipset.

I do not use Rigo for upgrades. I always use "equo update" and "equo upgrade --multifetch=10" from the command line as root. I am also currently running the 5.3.11 kernel. I update/upgrade my Sabayon Linux systems every weekend, except the past two weekends updates/upgrades were not available. (The hard-working people of Sabayon deserve their vacations.)

I also suspect that the issue is related to systemd, but don't know enough to troubleshoot it efficiently.

It is 3:14 AM where I am, so I will bid you goodnight and hope for a solution once I wake up.

Again, thank you all in advance.

joost
Sagely Hen
Posts: 2765
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by joost » Sun Dec 08, 2019 11:27

It is true that this weekend lightdm got an update and it should be fine.
Maybe, somehow, you don't have the slick-greeter theme (sabayon theme) enabled.

Can you do this from a root shell:

Code: Select all

# eselect lightdm set slick-greeter
Then restart lightdm:

Code: Select all

# systemctl restart lightdm
========================================================================================
1. Since the display manager fails, I login to the terminal as root.
2. As root, I execute "lightdm &". (Perhaps I need to add arguments to the lightdm command, but this isn't my strong suit.)
I suspect that the errors that follow are the consequence of how you incorrect start lightdm. You really should use systemctl to start and stop services like in the example above.
My blog | Mastodon | Please support Sabayon: Become a Patron

MikeDee
Baby Hen
Posts: 13
Joined: Sat Dec 07, 2019 17:44

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by MikeDee » Sun Dec 08, 2019 17:23

Lightdm is broken for me too. Doing the above does not fix the problem. At boot, I'm faced with the terminal login and have to do a

# sudo start lightdm.service

to get the login screen. I checked and the service was already enabled.

What's the real fix?
Last edited by MikeDee on Sun Dec 08, 2019 18:55, edited 1 time in total.

VolvoBirkenstock
Advanced Hen
Posts: 226
Joined: Sun Mar 31, 2013 5:34

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by VolvoBirkenstock » Sun Dec 08, 2019 18:32

Thank you very much for your response, joost.

I executed the eselect and systemctl commands that you provided verbatim. This resulted in the laptop providing the graphical login display. I logged in through the graphical interface and after a reasonable amount of time was presented with the appropriate display. However, upon subsequent system reboot (using reboot provided through the application launcher), the system reverted to a login terminal. I then logged in as root and executed

Code: Select all

eselect lightdm list
which returned

Code: Select all

[1] slick-greeter
There was no other greeter option. I then executed

Code: Select all

systemctl restart lightdm
and was presented with the graphical login, logged in as user, and after the expected time delay was presented with the appropriate display. So it appears like something has disturbed the running operation of systemd. At least there is a work-around for the issue. : - )

I am entering this information from my desktop, which I have not yet rebooted since the upgrade. On my desktop I executed

Code: Select all

eselect lightdm list
What was returned was:

Code: Select all

[1] lightdm-gtk-greeter
[2] slick-greeter
I find it interesting that "lightdm-gtk-greeter" is a provided option on the desktop and not on the laptop.

On the laptop, the /etc/sabayon-release file contains "Sabayon Linux amd64 19.10" and /etc/sabayon-edition contains "Sabayon Linux 20181122 amd64 KDE". On the desktop, the /etc/sabayon-release file contains "Sabayon Linux amd64 19.10" and /etc/sabayon-edition contains "Sabayon Linux 19.03 amd64 KDE".

I am not marking this "Solved" just yet because the system reverts to the terminal appearance subsequent to reboot. However, we have a work-around for this issue, and that is HUGE.

Again, thank you very much, joost!

msdobrescu
Old Dear Hen
Posts: 787
Joined: Sun Aug 21, 2011 8:48

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by msdobrescu » Sun Dec 08, 2019 20:03

I remember Sabayon changed the default from LightDM to SDDM. Am I wrong? Did it went back?
I use SDDM. What if you switch to SDDM?

MikeDee
Baby Hen
Posts: 13
Joined: Sat Dec 07, 2019 17:44

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by MikeDee » Sun Dec 08, 2019 20:11

msdobrescu wrote:
Sun Dec 08, 2019 20:03
I remember Sabayon changed the default from LightDM to SDDM. Am I wrong? Did it went back?
I use SDDM. What if you switch to SDDM?
No, the default is lightdm.

Yeah, good idea. I just switched to SDDM, and the problem is fixed. Maybe I should be using SDDM anyway, since I'm using KDE Plasma.

joost
Sagely Hen
Posts: 2765
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by joost » Sun Dec 08, 2019 20:40

Maybe you guys merged some new config file, I dunno. I tried to reproduce problems using a test install on virtualbox and upgraded several systems and never had any issue. So can't say lightdm itself is broken.
My blog | Mastodon | Please support Sabayon: Become a Patron

MikeDee
Baby Hen
Posts: 13
Joined: Sat Dec 07, 2019 17:44

Re: HELP: Display Fails with 07Dec2019 Upgrade

Post by MikeDee » Sun Dec 08, 2019 21:01

joost wrote:
Sun Dec 08, 2019 20:40
Maybe you guys merged some new config file, I dunno. I tried to reproduce problems using a test install on virtualbox and upgraded several systems and never had any issue. So can't say lightdm itself is broken.
That's quite possible. I remember I selected an automerge in the update. The contents of the lightdm conf file is all commented out except for "session-wrapper=/etc/lightdm/Xsession". Is it supposed to be that way?
Last edited by MikeDee on Sun Dec 08, 2019 22:05, edited 1 time in total.

Post Reply