You are not logged in.

#1 2021-02-25 03:26:39

lakso
Member
Registered: 2020-08-02
Posts: 32

[SOLVED] Problems trying to use tmux

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:
img-2021-02-25-000002.png
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
img-2021-02-25-000024.png
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

#2 2021-02-25 03:33:02

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] Problems trying to use tmux

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


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-02-25 03:51:50

lakso
Member
Registered: 2020-08-02
Posts: 32

Re: [SOLVED] Problems trying to use tmux

Thanks! that was the problem.

Offline

Board footer

Powered by FluxBB