3

Today I downloaded the latest VMware image of Kali Linux (Kali Linux 64 bit VM). After that, I configured the hostname in /etc/hostname and adapted also the /etc/hosts to set permanently a hostname. Then, I executed the following commands:

apt-get upgrade && apt-get update
dpkg --add-architecture i386
apt-get update
apt-get install wine32
apt-get install clamav
apt-get install clamav-freshclam

and rebooted afterwards. Then, something strange happened. I was no longer able to login with the default credentials root and toor. Although, I did not get the error message Sorry, that didn't work. Please try again., I could not get past the login screen. However, I noticed that I am able to login when selecting GNOME on Wayland and also booting in recovery mode.

Kali Linux cannot login

Any idea what is causing this issue?

0

So I take it GNOME worked prior to updating? If not then your setup may not support GNOME 3, like you said, you can use a different GUI like GNOME on Wayland or install a different one.

Otherwise, take a look at /var/log/Xorg.0.log, it will hopefully show any logged errors with GNOME. You can also look at /home/user/.xsession-errors. You can try to reinstall GNOME, hopefully that will fix any issues. First, create a copy of the virtual drive just incase this causes an issue, then run this:

apt-get purge gnome-session
apt-get autoremove 
apt-get autoclean
apt-get install gnome-session

Add the sudo to the commands above if you're not running as root, but it seems you are. Also you can skip the graphical login by pressing Control + Alt + F1 then logging in.

I don't think this would apply to a virtual machine, but incase someone else has an issue, take a look at this question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.