Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Tmux error when started. (Read 689 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Tmux error when started.

Reply #15
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
Sorry my bad I just needed to add to the `bash_profile` the lines

if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startx

then everything worked

Re: Tmux error when started.

Reply #17
Good to see you figured it out (and reporting the solution). Please, mark this thread as [SOLVED] by editing the first message.