You are not logged in.

#1 2017-06-08 03:15:25

kzbhop
Member
Registered: 2016-02-28
Posts: 1

[Solved] Cant start tmux if using Console TDM as the display manager

tmux won't start in an X session if using Console TDM as the display manager.

Hi, I have been using awesome wm and tmux no problem for many years. I have been logging in and starting X manually with startx in the console.

The other day I decided to try a display manager and went with Console TDM.

I followed the wiki to install Console TDM which is very simple. It involves the following two things.

Add

source /usr/bin/tdm

To ~/.bash_profile

And replace ~/.xinitrc line

exec awesome

With

exec tdm --xstart

Everything works great. However when trying to start tmux it exits instantly.

If I backtrack and remove

source /usr/bin/tdm

From ~/.bash_profile

And edit ~/.xinitrc back to

exec awesome

From

exec tdm --xstart

tmux will start as normal.

So to summarize tmux won't start in an X session if using Console TDM as the display manager.

Does anyone have any insight as to why this might be happening and how I might fix it?

EDIT:

Fixed by adding the following to .tmux.conf

set -g default-command "${SHELL}"

Last edited by kzbhop (2017-06-30 20:08:22)

Offline

Board footer

Powered by FluxBB