I'm using Kali Linux with Virtual Box, after the installation I made another user with useradd and passwd commands, but I can't Log in... If I put the credentials of this account during the Log in, then the Log in screen is loaded again.

I've tried 2 "solutions" I've found...


During Log in screen Ctrl + Alt + F2 and then:

dpkg --configure -a
apt-get update
apt-get upgrade


In /etc/X11/Xwrapper.config changed the following entry:




But none worked for me...

The only weird thing I noticed was that at the beginning (I mean, the first time I logged in after the installation) /etc/apt/sources.list was empty (it only had 2 commented lines), so I added deb:http://http/kali.org/kali kali-rolling main contrib non-free manually.


Maybe you haven't used the right useradd combination, have you added your extra user to the respective groups? usually lp wheel video audio cdrom input usb and have you created it's home directory with -d.

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.