Some ideas taken from Proxmox and lxd-latest
- sudo lxc-console -n first-lxd-container -P /var/lib/lxd/containers -t 0
- usr/bin/vncterm -rfbport 5901 -timeout 10 -authpath /vms/100 -perm VM.Console -notls -listen localhost -c /usr/bin/dtach -A /var/run/dtach/vzctlconsole100 -r winch -z lxc-console -n 100
Some ideas taken from Proxmox and lxd-latest