After an apt upgrade, I'm struggling with a black display on my MacBook Pro. After a lot of back and forth, I was able to open a console and found the following error message repeatedly in the log files:
Code:
pam_systemd(lightdm-greeter:session): Failed to release session: Transport endpoint is not connected
When I restart lightdm, the display crashes again and I'm back to a periodically blinking mouse pointer on a black display. The installed version of lightdm is:
How can I downgrade to an older version? In the repro only the above version is displayed. Do you have similar problems with the update, do you have other suggestions how to solve the problem? The console is stable, I can work with it, but only with it.
Here are some things you could try.
1. Boot to a text prompt, then start the X session with the command: startx. That would bypass the lightdm display manager. If this approach works, it suggests the display manager is the problem in which case you can re-install it, change it, or not use a display manager at all. If you are not sure how to boot to a text prompt, see here:
This article explains how to boot a Linux distribution like Debian, Ubuntu, Fedora, Arch Linux / Manjaro, etc., in console mode, either temporarily or permanently.
www.linuxuprising.com
2. One possible problem is the graphics driver. You could try appending the kernel option: nomodeset, to the kernel command line and see if that brings up a GUI. That's really a sub-optimal way of running graphics, but sometimes it's useful to get by until better drivers can be installed. It would useful for readers to see what graphics driver is being used on what card, so perhaps run the following and return the results:
Code:
lspci -nnk |grep -A3 -i vga
3. It's possible to select a previous kernel from the grub menu so it would be interesting to know if the earlier kernel was able to bring up the GUI. If it can, then it's probably useful to use that kernel until the next upgrades become available, since the current upgrade evidently has this problem.
4. There is usually a rescue mode that can be selected from the grub menu such as described here:
One needs to know what to do with the rescue mode shell prompt, which is often used to install the graphics drivers that disturbed the normal boot. Since it's not clear what drivers are need here, I can't say more.
On the matter of downgrading the system, that is not easily accomplished, and is not advised. In some, or even nearly all cases, it's hardly possible because of dependencies. Using an earlier kernel however, is possible. Users who definitely need to downgrade are better placed by re-installing the system they want.
As to running Kali, or any linux on a Macbook, there may be some comments of interest in the post and throughout the thread here: