Each session is persistent and will survive accidental disconnection
(such as ssh(1) connection timeout) or intentional detaching (with the
‘C-b d’ key strokes). tmux may be reattached using:
$ tmux attach
vm conosle <name>
% doas vm console rtr1
Connected
OpenBSD/amd64 (rtr1.mydomain.tld) (tty00)
Thank you, but it's not what I'm looking for. You assumed the session is still there.tmux attach-session -t myvm
or short
Code:tmux attach -t myvm tmux at -t myvm tmux a -t myvm
list sessionstmux ls
I think you misread my initial thread. I didn't mention sudo at all.Try using vm without sudo
/usr/local/sbin/vm: ERROR: virtual machines can only be managed by root
Why not start a new-session into the closed tmux session to VM??You closed the tmux session, and now you want to create a new session into that running vm.