Originally Posted by
xtnager
Good Morning
I've installed kali linux on virtualbox and i've used it normally without problems.
Today i've launch a full-upgrade and after that upgrade and reboot the VM i cant get GUI anymore every time i open it shows CLI on tty1
i've tried to remove ligthdm and reinstall it , i've tried to install gdm3, i've tried many things but its the same problem
every time i check
systemctl status lightdm
it show failed with exit-code
can any one help me please
sorry for my bad English
best regards
Hi guy !! I was in same issues and find the solution !! it is not about lightdm, is about xorg config, I did a post but still not autorized by admin so i will copy paste here.
Linux kali 5.16
I just did normal update process with
Code:
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade && sudo apt autoremove -y && sudo apt autoclean
now
Linux kali 5.17
and can not start normally ( black screen just after kali logo ) but still I can go to TTY (ctl+alt+(F1..F3)
I check some log file, and you can see tell is something wrong with lightdm and tty process and finally Xorg log point me to a solution.
Code:
/home/<user>/.local/share/xorg/Xorg.0.log
xorglog.JPGsystemctl.JPGjournal.JPGjournal.jpg
then cheking other forum find a solution could be forcing X to use fbdev driver and provinding the framebuffer device ID by:
Create the .conf file:
Code:
/etc/X11/xorg.conf.d/fbdev.conf
Edit it:
Code:
Section "Device"
Identifier "Card0"
Driver "fbdev"
BusID "PCI:0:8:0"
EndSection
Please mind that your BusID might be different.
You can check it with: (if exist)
Code:
cat /root/xorg.conf.new
or you can just run
which will create /root/xorg.conf.new. Then look in this file for your BusID and act accordingly if it differs
(some credit to this post !!)
HAPPY FIXING !!!