Kali Linux VM - Black Screen After Update and Session Lock During Upgrade - Request for Help
System Configuration:
Host OS: Windows 10
VM Software: VirtualBox / VMware (Tried on multiple platforms)
VM Configuration:
CPU: Intel i5
RAM: 16 GB
Disk Size: 100 GB
Kali Linux Version: 2024.3 with KDE Plasma
Problem 1: Black Screen After System Update
After performing the first update of Kali Linux in the VM, the system reboots but only shows a black screen instead of the graphical interface.
The issue occurs only after the system update, and I am unable to reach the desktop environment.
F3 works to show the login prompt, but after logging in, no graphical environment loads.
Errors Observed:
Ignoring setparam, already destroyed object (Graphics or display-related error)
Unlocated apu.libcamera.enum.manager (Camera library issue, likely irrelevant to my use case)
slcamera errors (These seem related to camera hardware, which I am not using)
Problem 2: Session Lock During System Upgrade
During the first update session, the system locks repeatedly while upgrading packages.
I had to manually unlock the session each time it froze.
After unlocking, the update process completed, but after rebooting, the black screen issue began.
Troubleshooting Steps Taken:
- Used nomodeset during boot: Added the nomodeset kernel parameter in the GRUB configuration to avoid graphics-related issues, but the problem persists.
- Checked system logs for errors, especially those related to graphics, Xorg, and the camera module.
- Disabled camera support by removing libcamera and stopping related services, as I don’t need camera functionality in a VM environment.
- Reinstalled graphics drivers (including Intel, NVIDIA, and generic VM drivers).
- Reconfigured Xorg using dpkg-reconfigure xserver-xorg.
- Tried different VM platforms (VirtualBox, VMware, Hyper-V), all with the same issue.
- Attempted to stop and disable camera-related services, but errors persist.
Help Requested:
Black Screen Issue: What could be causing the black screen after reboot? Any suggestions for graphics or display settings specific to VM environments like VMware, VirtualBox, or Hyper-V?
Session Lock Issue: Why is the session locking during the first system update? How can I prevent this from happening in future updates or upgrades?
Camera Errors: How to fully disable the camera services and modules that are causing errors, even though I am not using any cameras in the VM setup
Additional Notes:
After the first update, the session locking occurs during package upgrade.
The system works fine once the session is unlocked, but after rebooting, the black screen issue reappears.
I have tried multiple VM platforms, and the issue persists.