[SOLVED] After update, Laptop won't boot [FAILED to start Light Display Manager]
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Quote:
Originally Posted by toddly
By the way, I am wondering whether there is some way to turn off the computer from the root, rather than manually holding down the power button. It seems so harsh.
By the way, I am wondering whether there is some way to turn off the computer from the root, rather than manually holding down the power button. It seems so harsh.
Code:
man systemctl
systemctl poweroff
Also, /sbin/shutdown is a symlink to /usr/bin/systemctl.
Shutdown is a symlink to systemctl. As a symlink, it is subject to future deprecation. Linuxmint is run by systemd, thus systemctl is the actual binary responsible for shutdown. If you really want simple or less typing, try (seven strokes):
This one suggests it's worth a try to start a Gnome session. Try logging in as normal user on tty3 (Ctrl-Alt-F3 from a black screen if necessary), then do:
Code:
startx /usr/bin/gnome-session
If this doesn't produce a GUI desktop of some kind instead of errors, try the same logged in as root or with sudo. Error messages from either would be useful to know here. Whether this can work I don't know, because the last time I installed Gnome was about two decades ago and I don't plan to do it again in the foreseeable future. To make startx run as normal user might require first you do:
Code:
sudo apt install xserver-xorg-legacy
Yet more to try if all the above fails, if not first:
Make a note of where the asterisk appears, then choose any of the other options, then reboot normally. If still no joy, repeat with another selection. If still no joy and there is another option to select, try it. Do
Code:
man update-alternatives
if you get stuck and don't want to wait for us to see what your results are to this point.
First, I was unable to use Ctrl-Alt-F3 from either a black screen, or any time during start-up. The screen simply remained black. So, using Escape at start-up I went into recovery mode and got to the root shell prompt.
Once there, I tried startx /usr/bin/gnome-session | pastebinit
The screen looked interesting for a second, the came back to black screen and told me I was trying to send an empty document. It left me with a blinking cursor and no way to type or to get back to the root shell prompt.
After restarting the process, I tried sudo startx... and nothing.
Next I tried: sudo apt install xserver-xorg-legacy (Sorry, I still can't figure out how to activate the "quote" cut and paste feature.) I got the following result: https://pastebin.com/LAVeyTTZ
Afterwards, I tried "startx /usr/bin..." again, and got nothing. Same for "sudo startx..."
Then I tried: sudo update-alternatives --config x-session-manager, and I received the following result: https://pastebin.com/9eaEX1MV
I could not find an asterix anywhere on the screen, but did see this reference: "(**) from config file," ?? I was not given "any of the other options" so I was unable to "repeat with another selection".
Because I was not given any options, I have not yet tried: man update-alternatives
At this point I want to clarify our process. It seems that I have a defective light display manager, and that it may be either hardware- or software-related. Right? At this point we are simply attempting to get more information about the particular problem in order to determine how we can resolve it. Is this correct?
Thanks again.
In the past you have not been put into recovery mode.
Is that correct?
I have done everything in this thread in recovery mode with the root shell prompt. I have no other choice/option that I am aware of.
From an earlier post of mine you might have missed:
Quote:
Originally Posted by toddly
Below is my play-by-play report:
Turned on computer, hit Escape. Then selected Advanced Options for Ubuntu.
Arrived at GNU GRUB 2.02
I selected Ubuntu, with Linux 4.15.0-20-generic (recovery mode), although there were 2 other recovery mode options available: 4.15-0-51 and 4.15-0-50. I didn't know whether it would make any difference which I selected. Was I wrong?
Next, I was presented with the Recovery Menu, and I selected 'root' "Press Enter for maintenance of Ctrl to continue".
I selected Enter and arrived at the root shell prompt: root@todd-Inspiron-3576:~#
Toddly, unless proceeding to try to fix this is mainly or purely a learning exercise for you, and given the great degree of difficulty you have had pursuing our suggestions, us keeping straight what you have and haven't succeeded to do, and the length of this thread making attempts to help increasingly difficult, I suggest it may be time to abandon repair and install fresh. If you take this new path, you may wish to consider adding the new installation alongside (multiboot) instead of wiping out the old, so that you can pursue repair in the interest of education later on sometime.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Well toddly, seems you're not alone. On an old laptop I rarely use, that has Ubuntu on it, I tried an upgrade from (I think) Xenial to Bionic, and it's now broken. My recent upgrade on my Debian desktop (from 9 to 10) went okay, though in that case I was careful to check out release notes and such, rather than impulsively ploughing ahead as I did with the old laptop. Anyway, I shan't hijack this thread with my own problems (I'll likely start a new thread on it).
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Quote:
Originally Posted by toddly
I followed the link to instructions on how to Boot to Recovery Mode. I arrived at the following options:
resume
clean
dpkg
fsck
grub
network
root
system-summary
Which option should I select?
Thanks
Try the option dpkg. It will reconfigure your install and try to fix it. It's nice and automatic (I'm just discovering this for myself). [edit] This (the dpkg option) did fix the issues I was having with booting into my laptop after upgrading it. So, it may help your issue. Worth a try, IMO.
Last edited by mark_alfred; 09-07-2019 at 07:02 PM.
I will try the dpkg command in recovery mode and see if it resolves the dead Light Display Manager issue. If it does not, then I may try to start a new thread dealing just with the LDM issue.
I've been incommunicado for weeks because the old laptop I was using to communicate about my other Linux laptop also died. I was left with no means of going online.
I feel this thread has been a big learning opportunity for me, and I can now understand more of what people are asking of me. Initially, all the jargon seemed like another language.
In any case, I'll report back about the dpkg effort.
Thanks everybody!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.