You are not logged in.
I'm on the latest LTS kernel, using the awesome window manager, the zsh shell, Nvidia propietary drivers and the Kitty terminal emulator.
I've been trying to use tmux but every time I try to initiate it I get this error:
I can write commands but they don't get executed. After a few seconds tmux closes itself.
If I run sudo tmux, I get this
now I can run command as sudo.
I can't find anyone with this problem, do I have some configuration problems?
Last edited by lakso (2021-02-25 03:52:01)
Offline
Tmux is trying to launch as a login shell, you need to configure it to use a normal shell, or change your shell profile a bit to know when it’s launched by getty and when by tmux.
Have you configured tmux already? If not, create the configuration file and read the documentation.
The line for changing the shell is this.
set -g default-command '$SHELL'
You can just replace $SHELL with something else, like /bin/zsh
Offline
Thanks! that was the problem.
Offline