I managed to break a Template-based VM: it won’t show any window, including a console. According to the logs, the machine is up, I’ve got “MachineName login : Hostname=MachineName, addr=? terminal=/dev/tty7 res=success.”. After each attempt to open something, I got “…msg='op=PAM:authentication grantors/pam_rootok acct=“user” exe=”… qrexec-agent" res=success. If in Qube Manager I do right-click on the VM and choose “Run command in qube”, I am able to stop the machine with “sudo halt”. As lastly I changed the /rw/config/rc.local, I’ve issued from there “sudo mv /rw/config/rc.local”, without improvement (still no GUI showing). Another thing to mention is the missing icon pictures from the desktop icons, belonging to that VM.
I would like to know more generally how should one proceed when debugging such situations -
How to start a qube in single-user / recovery mode?
How to start a qube without starting anything that is saved in the template-based VM (useful also for security check/audit I guess)?