Jump to content

Can't login to Kali Linux after changing username.

On 1/20/2022 at 10:48 PM, kimosice said:

I had this problem and found success with modifying the file below, using tty, replacing all instances of the old user name with the new user name and then rebooting.

 

/home/${newUserName}/.cache/sessions/xfce4-session-${computerName}:0

 

 

Thank you for sharing knowledge. I owe you a beer. Respect.

 

Looks like this issue occurs in premade kali vmware virtual machines but not in virtualbox ones. There is a set of different files in /home/$USER/.cache/sessions .

 

I will continue researching about this. 

Regards

 

art***

white hat

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×