LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Lightdm stopped working (Arch) (https://www.linuxquestions.org/questions/linux-desktop-74/lightdm-stopped-working-arch-4175648418/)

Sudonix 02-15-2019 10:47 PM

Lightdm stopped working (Arch)
 
Hello, all. Just got a fresh install of Arch with lightdm and openbox. At first everything worked fine, but after adding some software and rebooting, lightdm failed in startup. At the moment I'm resorting to logging in and starting the x session from the command line. I'm not sure exactly what went wrong, but I'd like to see if I can fix it.

I remember installing Steam from the aur and getting some lib32-related errors, which I fixed by installing the nvidia lib32 binaries. Though, I'm not certain that is what caused it. Any ideas? Thanks.

1nuxg33k 02-15-2019 10:56 PM

Can you describe “failed in startup” ? Any error messages?

Sudonix 02-15-2019 11:22 PM

Quote:

Originally Posted by 1nuxg33k (Post 5962713)
Can you describe “failed in startup” ? Any error messages?

Hmm, I never bothered to write down the error, but iirc when I rebooted the first time the startup output hanged on "Starting user accounts" or something like that. I got an error like that before, but for a different reason.

Digging through some logs, I found a few clues.
From a lightdm.log file:
Code:

[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter
[+0.00s] DEBUG: Seat seat0: Failed to create greeter session
[+0.00s] DEBUG: Failed to start seat: seat0

and from seat0-greeter.log:
Code:

** (lightdm-gtk-greeter:732): WARNING **: 16:35:01.645: [PIDs] Failed to execute command: /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:732): WARNING **: 16:35:01.646: [PIDs] Failed to execute command: upstart

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:01.730: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:07.602: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:14.216: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:15.443: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:15.460: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:732): Gtk-WARNING **: 16:35:15.476: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)


1nuxg33k 02-15-2019 11:39 PM

What does your lightdm.conf file look like?

Sudonix 02-16-2019 12:27 AM

In pastebin

I'm not sure if the config has anything to do with it, though. The only thing I edited was uncommented the greeter-session.

1nuxg33k 02-16-2019 09:22 AM

Quote:

[+0.00s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter
This line suggest that lightdm-gtk-greeter isn't installed

Sudonix 02-16-2019 12:10 PM

Quote:

Originally Posted by 1nuxg33k (Post 5962851)
This line suggest that lightdm-gtk-greeter isn't installed

Checked to see if it was installed and it was, but I reinstalled it just to be safe. I do want to go ahead and mention, when I open up the config in terminal, I get this error:
Code:

Xlib:  extension "RANDR" missing on display ":0".
I will mention, I have xinerama enabled in Xorg (I use three monitors). I reckon that may have something to do with it. Another thing I didn't mention initially was that upon shutting down my system before lightdm broke, I had a 'Stop job running' for a process while trying to shut the system down. I don't know if either are related.

1nuxg33k 02-16-2019 01:57 PM

I would disable xinerama and see what happens. My guess is one of the lib32 files is conflicting with something causing lightdm to crash. If disabling xineram doesn't work try creating a new user. I had a similar issue on a debian install a long time ago and it was a headache to resolve it. Think I just resorted to a fresh install.

Sudonix 02-16-2019 03:14 PM

Quote:

Originally Posted by 1nuxg33k (Post 5962952)
I would disable xinerama and see what happens. My guess is one of the lib32 files is conflicting with something causing lightdm to crash. If disabling xineram doesn't work try creating a new user. I had a similar issue on a debian install a long time ago and it was a headache to resolve it. Think I just resorted to a fresh install.

Nah, still won't launch. It could be any number of things, honestly. At this point I may just ditch Arch *anything* since I've had so many problems.
Though, I have one last potential lead. Trying to launch lightdm-gtk-greeter directly from the cli results in this error:
Code:

lightdm-gtk-greeter: error while loading shared libraries: /usr/lib/liblightdm-gobject-1.so.0: file too short
Anything peculiar?

1nuxg33k 02-16-2019 03:55 PM

It's required by lightdm and probably sym linked to an empty file. Perhaps some useful info https://archlinux.pkgs.org/rolling/a...kg.tar.xz.html

Sudonix 02-16-2019 09:34 PM

Quote:

Originally Posted by 1nuxg33k (Post 5962987)
It's required by lightdm and probably sym linked to an empty file. Perhaps some useful info https://archlinux.pkgs.org/rolling/a...kg.tar.xz.html

By the looks of it I have every package. At this point I'm not sure if it's worth messing with or starting clean (yet again). I'm tempted to uninstall and reinstall lightdm as a last ditch attempt.

1nuxg33k 02-16-2019 09:56 PM

Its worth a shot. Trial by error? I mean if its a fresh install and you don't have any important data then why not?

Sudonix 02-16-2019 10:53 PM

Quote:

Originally Posted by 1nuxg33k (Post 5963071)
Its worth a shot. Trial by error? I mean if its a fresh install and you don't have any important data then why not?

Yeah, I'm not going down without a fight. Trial by error is how I learn. I'm trying to tweak things here and there and see if I can't get lightdm (or another display manager) to work. If worse comes to worst I can just reinstall or install a different distro since I have a separate home partition.


All times are GMT -5. The time now is 12:46 AM.