Voidrice: Tmux lost server

Created on 27 Nov 2019  路  15Comments  路  Source: LukeSmithxyz/voidrice

I tried #406 with no avail. put the export in my .profile.

Can I not use ST with the dropdown tmux?

ideas?

Most helpful comment

What return :

env | grep TERM

?

All 15 comments

What return :

env | grep TERM

?

@Sercurio

pic-window-191128-1328-41

I don't know if it is normal but i see in the other ticket to export "xterm-256color" instead of st-256color. You maybe have already tried that.

I don't know if it is normal but i see in the other ticket to export "xterm-256color" instead of st-256color. You maybe have already tried that.

I have :disappointed:

I'm having a similar problem. running $ TERM="xterm-256color" does get tmux working but only in that terminal. I've put export TERM="xterm-256color" in .profile and rebooted, however $ env | grep TERM returns:
LESS_TERMCAP_se=
LESS_TERMCAP_so=
TERMINAL=st
TERM=st-256color
LESS_TERMCAP_mb=
LESS_TERMCAP_me=
LESS_TERMCAP_md=
LESS_TERMCAP_ue=
LESS_TERMCAP_us=
running $ source ~/.profile does update the $TERM variable but only in that terminal.

I'm new at this was I verbose enough?

tmux works fine for me on 3.0a with no need to change TERM.

pic-window-191204-2213-41

This seems to be because it is setting the correct TERM value from the config.

pic-window-191204-2214-05

Do your .tmux.conf configs include this line?
https://github.com/LukeSmithxyz/voidrice/blob/cb8a1586e9d499f15b87d74b73461f21c0f19094/.tmux.conf#L4

It does:
$ grep terminal .tmux.conf
set-option -g default-terminal "xterm-256color"
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
tmux version 3.0a
also interestingly if i run tmux again without setting $TERM it kills all tmux sessions
as a "Temporary" solution ive added export TERM="xterm-256color" to the start of any script that uses tmux

So I found the issue to this problem....

In Luke's st repo, the st config header sets the $TERM env var to st-256color. I changed it to xterm-256color, ran sudo make install and it fixed the issue. Not sure if it will effect anything else but god I am happy to have fixed it.

@somrandom you might want to try this fix and clean up those bad habit exports you have added to various files.

Yup thats fixed it.

This shoulnd't need to be changed, with the $TERM to st-256color
and tmux still functions as intended.

This must be caused by something else.

This shoulnd't need to be changed, with the $TERM to st-256color and tmux still functions as intended. This must be caused by something else.

@decantr, I assume that you haven't installed larbs in a while, and you are missing the error. I dont see how it could be anything else when it fixed the issue?

I assume that you haven;t installed larbs in a while, and you are missing the error. Something about where it looks correct for you but under the hood it is the same. IDK, just a guess. I am just as confused.

I am up to date with the latest commit, but no I have not done a fresh
install since the dwm/i3 split.
Could be some hangover config?

I assume that you haven;t installed larbs in a while, and you are missing the error. Something about where it looks correct for you but under the hood it is the same. IDK, just a guess. I am just as confused.
I am up to date with the latest commit, but no I have not done a fresh install since the dwm/i3 split. Could be some hangover config?

That is what I am thinking. Maybe try make install on luke's ST repo and see if it crashes tmux. Odd though you aren't experiencing the issue. Even weirder becuase when I look through git changes it always has been st-256color.

I am running the most current commit of Luke's st, though I do not have
this issue in either the upstream st or Luke's fork.

I am running the most current commit of Luke's st, though I do not have this issue in either the upstream st or Luke's fork.

Odd. I will do some more grepping of my system to see where I might have caused the error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IvoLeist picture IvoLeist  路  5Comments

Heliferepo picture Heliferepo  路  7Comments

LJNielsenDk picture LJNielsenDk  路  8Comments

Jemi picture Jemi  路  9Comments

LukeSmithxyz picture LukeSmithxyz  路  5Comments