Kali Linux VM - Black Screen After Update and Session Lock During Upgrade - help me

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:

  1. Used nomodeset during boot: Added the nomodeset kernel parameter in the GRUB configuration to avoid graphics-related issues, but the problem persists.
  2. Checked system logs for errors, especially those related to graphics, Xorg, and the camera module.
  3. Disabled camera support by removing libcamera and stopping related services, as I don’t need camera functionality in a VM environment.
  4. Reinstalled graphics drivers (including Intel, NVIDIA, and generic VM drivers).
  5. Reconfigured Xorg using dpkg-reconfigure xserver-xorg.
  6. Tried different VM platforms (VirtualBox, VMware, Hyper-V), all with the same issue.
  7. 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.

sounds more like a plasma issue than anything else, in your VM manager you can configure camera etc to be off or disabled

You need to allow no more than 50% of your real CPU cores for a guest OS, same for RAM allocation, and how much RAM you allow for GPU adapter.

Your host needs to be able to work properly, else the guest OS will freeze up

1 Like