@HulaHoop do you offer professional support like Patrick does? I feel I’m just missing some small thing whether it is building the wrong version (I’ve tried master branch, and tags 15.0.0.2.9 / 15.0.0.0.9 w/ packages/serial-console-enable added to the build.
-Everything built ok (I think)
-Archived the images and XML files (tar -cvSzf), which produced an archive ~1,1GB (same size as your official ones).
-Untarred then
-Defined them w/ virsh
Start w virsh
virsh console hangs, displaying ‘Escape character ^]’
So if you happen to offer professional support, I’d be interested.
Needs a fresh build of a newer branch with the host side settings enabled to have effect. This hinges on other stuff that’s being developed and tested (locked root and more) so no rush for you.
Links I;ve seen so far say non-root does not have sufficient privlege to access serial console - considered a device:
Serial console during grub boot menu generally. Just for a complete solution for use without any GUI. Allowing one to boot into recovery mode without requiring to choose grub boot menu using GUI. For completeness sake of this feature.
I’ve run into an issue today.
I’m running Whonix 15.0.0.8.7 on an Ubuntu Server 18.04 host over KVM (libvirt 4.0.0).
Following the KVM Guide[1] I was able to get everything up and running(*), including logging into both Gateway and Workstation VMs via console with the command virsh console.
After running whonixsetup and apt upgrade I wasn’t able to log in anymore as a regular user in both VMs, getting a “Permission denied” after entering the correct password. The only way to get access again was by rebooting the VM in recovery mode, logging in as root.
After some help from Patrick on the Whonix Telegram Group the issue could be traced to the recent addition of Console Lockdown[2]. Adding the terminal ttyS0, which you get connected to using virsh console, to the list of allowed consoles for the console group in /etc/security/access-security-misc.conf[3] resolved the issue.
(*): Had to change a line in the Workstation XML; <codec type='output'/> to <codec type='micro'/>, since output is only supported since libvirt 4.4.0[4]