You are not logged in.
Hi all,
I was messing up with my terminal emulators and without thinking much I've uninstalled zsh (pacman -Rs zsh). Guake instantly stopped working but I thought I'd be able to use xterm, which was not the case.
Now none of the terminal emulators are working. What is the fix for this?
I'm not sure if this is relevant, but I use i3wm.
I know it might be a silly question, but I really don't have a clue.
Thanks in advance.
Last edited by 6c656c (2019-05-21 18:09:12)
Offline
Can you access the TTY (e.g. Ctrl+Alt+F2)? If so, you can try to fix the issue through there.
Offline
Can you access the TTY (e.g. Ctrl+Alt+F2)? If so, you can try to fix the issue through there.
It doesn't work. I thought about using the arch installed on a usb stick to try and recover the package using:
pacman -U zshIs this the way to go? I'm afraid of rebooting my computer in order to do this because I really don't know what will happen afterwards.
Offline
"it doesn't work" is not an error message.
Why can't you get to a TTY? And exactly how does your terminal not work?
Offline
"it doesn't work" is not an error message.
Why can't you get to a TTY? And exactly how does your terminal not work?
There are no error messages, nothing happens when I try to use the shortcut provided. I also tried to open using the typing bar (Winkey + D) and writing tty but the same thing happened.
Guake stopped working and after I closed it didn't open anymore. I tried to open xterm and terminator using the typing bar but got nothing as well.
Offline
Is your user set to use zsh by default? Is your system configured to use autologin?
Offline
Is your user set to use zsh by default? Is your system configured to use autologin?
I think it because that's basically why I made the silly decision of doing this (all terminal emulators were using the colors of my zsh theme). I'm not sure about autologin though.
Offline
Somehow I managed to open tty, only to be asked for login/password, but after trying many times (and typing both correctly) my user is not being recognized anymore. How to proceed from here?
Offline
When you boot the system does it boot to a display manager or a terminal or X. If a terminal does it prompt for a login or is the shell logged in?
Edit:
login as root. Then change the shell for the none root user with chsh.
Last edited by loqs (2019-05-13 19:53:06)
Offline
When you boot the system does it boot to a display manager or a terminal or X. If a terminal does it prompt for a login or is the shell logged in?
Edit:
login as root. Then change the shell for the none root user with chsh.
It always prompt for a login. Just tried with the root user but got same result, it’s not recognizing my password.
Offline
https://wiki.archlinux.org/index.php/Re … t_password
But, rather than changing passwords, fix the shells as described above.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
https://wiki.archlinux.org/index.php/Re … t_password
But, rather than changing passwords, fix the shells as described above.
Thanks. You mean the “change the shell for the none root user with chsh“?
I’m sorry but neither the wiki nor the manual helped me trying to figure it out what he meant.
Offline
Here is what you can do. Not generally recommended, but okay if you are careful.
In the chroot environment (or the environment where you are using bash as the init system per the article I linked), use an editor to edit /etc/passwd.
Change *nothing* except the shell for your user and/or root. The line will look something like:
root:x:0:0:root:/root:/bin/bashNothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Either arch-choot into the installation from the boot media or boot to rescue.target.
Then
chsh #to change shell for root
chsh username #to change shell for usernameOffline
^^^ That is the recommended way. Sometimes I prefer expediency ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Here is what you can do. Not generally recommended, but okay if you are careful.
In the chroot environment (or the environment where you are using bash as the init system per the article I linked), use an editor to edit /etc/passwd.
Change *nothing* except the shell for your user and/or root. The line will look something like:root:x:0:0:root:/root:/bin/bash
It worked! Thanks a lot y’all ![]()
Offline