Re: Tmux error when started. Reply #15 – 11 July 2018, 00:20:50 Hey Chris, so I have added the line to the file and logged in and was able to run xinit without an issue. then I could also run tmux. But when I add exec xinit to my bash_profile. and then run tmux I get an error that there is already an xorg session
Re: Tmux error when started. Reply #16 – 11 July 2018, 00:29:26 Sorry my bad I just needed to add to the `bash_profile` the lines if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec startxfi then everything worked
Re: Tmux error when started. Reply #17 – 13 July 2018, 13:28:58 Good to see you figured it out (and reporting the solution). Please, mark this thread as [SOLVED] by editing the first message.
Re: Tmux error when started. Reply #18 – 14 October 2019, 10:12:45 I found tmux issue that can't hold session for non-root user,root can hold tmux session when exit login shell only.
Re: Tmux error when started. Reply #19 – 14 October 2019, 11:42:17 Quote from: jyf007 – on 14 October 2019, 10:12:45I found tmux issue that can't hold session for non-root user,root can hold tmux session when exit login shell only.(e)logind can close tmux sessions on user logout. You should set "KillUserProcesses=no" in [Login] section of /etc/elogind/logind.conf 1 Likes
Re: Tmux error when started. Reply #20 – 21 October 2019, 13:45:25 Quote from: phoenix_king_rus – on 14 October 2019, 11:42:17(e)logind can close tmux sessions on user logout. You should set "KillUserProcesses=no" in [Login] section of /etc/elogind/logind.confthanks ,you are right