You are not logged in.
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/tdmTo ~/.bash_profile
And replace ~/.xinitrc line
exec awesomeWith
exec tdm --xstartEverything works great. However when trying to start tmux it exits instantly.
If I backtrack and remove
source /usr/bin/tdmFrom ~/.bash_profile
And edit ~/.xinitrc back to
exec awesomeFrom
exec tdm --xstarttmux 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