After Sudo Apt Upgrade, Kali is hanging when KVM is on other PC

What have you tried: reinstall from scratch

What is the error: Kali is hanging when stay 5 min off KVM

What device is this on: Intel Core I7 14300

Please make sure to follow the documentation

hi espilon, followed the rules, but that crashed again, i will re install, and upgrade again, but trying to not restart the service when needed

thanks for your help

réinstalled, and re-upgraded without restarting service when needed, same result, re-installing without upgrading.

Thing Totaly weird, I’m newbie in linux, and i would like to upgrade bashtop only, i typed sudo apt upgrade bashtop, of course that not worked and he upgraded the whole system, but i got no more hang… weird… Ghost in the shell ?

Hi no in fact after a reboot the system still hang when the kvm is on the other pc

Your running Kali in a virtual machine? or trying to run a virtual machine on Kali?

VM’s should not be given more than 50% of physical RAM or CPU cores, else they will hang, and if you give a VM more than this, they will often hang the host.

Hi fred no, i’m running Kali on a HP compaq deskpro 8300 SFF with 16go, my other pc is a home made I7, and i have a switch to get the Kali on my second monitor, currently running Kali not upgraded, i’ve tried almost everythings and re installed 5 time ; )

Thanks for your help, its greatly appreciated,

s.

There were several firmware / BIOS updates for those HP small form factor systems, so I’d definitely make sure the system has all of those installed.

I wonder if its a GPU driver issue causing it to hang, running dual monitors with Linux can always be a bit hit and miss to set up in the beginning..

Hi fred, i’ve updated the bios already for other purpose, the HP unit is linked to only 1 monitor, and is running perfectly fine, if i dont upgrade the system, the graphic card is an intel on board, perhaps that the issue,

thanks for your help, having several brain on the issue can help ; )

Just making sure - what is the command that you actually run to upgrade your kali installation?

Epsilon told me to read the doc, so i’ve read and give a try, that don’t help

kali@kali:~$ sudo apt update
kali@kali:~$
kali@kali:~$ sudo apt full-upgrade -y
kali@kali:~$

thanks ; )

1 Like

According to Debian website;

try uninstalling the xserver-xorg-video-intel package and use the builtin modesetting driver (xserver-xorg-core) instead.

Hi Fred i’ve uninstalled the packet with this command

sudo apt-get remove xserver-xorg-video-intel

I still have video on the unit now i will try to install the xserver-xorg-core

thanks for your help, ; )

f.


i have installed the xserver-xorg-core i guess with this command :

apt install xserver-xorg-core

does its ok to try to fullupgrade the system ?

thanks, ; )

Full upgraded the system and still hang, the mouse pointer work, but I can click on nothing, I have verified that the Xserver-xorg-video-intel is well uninstalled, and that the xserver-xorg-core is well installed, and that the case, so bad luck, I reinstall :frowning:

nb. I have ordered a Nvidia GT 610 PCIe so we will be fixed in a couple of day,

thanks all for your help ; )

s.

If its only happening on a full upgrade, the only thing I can suggest is when you do an update, don’t use the -y flag;

sudo apt update
sudo apt full-upgrade

this will then just list all the changes to be made, and you can choose to not install anything driver related, like graphics drivers or sound etc.

If your new to Unix type operating systems, this is a great site, very informative;
https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/

Hi fred, i’m reinstalling i will give a try, thanks for the website, i have subscribed to the newsletter of vive ; )

Hi fred, i guess i’ve found a solution, its to install the kernel module of the I915 drivers, so far with a full upgrade i have no more hang, i’ll cross the finger

kali@kali:~$ sudo apt update
kali@kali:~$
kali@kali:~$ sudo apt full-upgrade -y
kali@kali:~$

Code: Select all

sudo modprobe i915

The command return nothing, but that seem to work.

https://forums.linuxmint.com/viewtopic.php?t=379590

Thanks all for your precious help

s.

1 Like