So I have install zsh
and I didnt like it.
so I did apt-get remove zsh
From that point I cannot relogin, i click my user.. and then it just go back to the login screen. I can only login with the Guest session
.
I think the problem is caused because the defualt shell on my user is zsh and it doesnt exists anymore..
How can I reinstall it from the guest session of change my users default shell for guest user?
Even trying to loging with ctrl+alt+f2/6
i type my user and password. login is success but i the thrown back to the login.
Any ideas?
The guest user is not granted the permission to run sudo
or pkexec
, which (unless you're root, which you're not) are required in order to change another user's shell.
So the only solution occurring to me is booting into a root shell and changing the user's shell as root:
chsh -s /bin/bash user
Where user
is your user's username.
No comments:
Post a Comment