OK, I rebuilt sudo -E /home/user/Whonix/whonix_build --build --redistribute --target iso --flavor whonix-host-xfce --freedom false
using git branch 15.0.0.2.7-developers-only
and I am glad to report that it is working now, provided the following corrections:
-
File
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml.whonix
breaks XFCE4, needs to be corrected (in the meantime I just didmv /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml.dpkg-new /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
) -
Package
user-setup
needs to be installed in the master whonix-host-xfce VM otherwise live-boot will fail to create a live user -
Package
squashfs-tools
needs to be installed in the master whonix-host-xfce VM otherwise Calamares will fail to install (it needs it to unsquashfs the filesystem.squashfs file into the target) -
Package
live-config
needs to be installed in the master whonix-host-xfce VM otherwise live user will not be created in live-boot mode (it may already be the case, just a reminder)
Furthermore, the following bugs/corrections need to be addressed (and probably more to come):
-
Theming is completely broken. Live user starts with a default environment, while root user and newly installed user in the target have broken panel launchers (see screenshots below). Probably related to missing config in
/etc/skel
-
Live user by default still has passwordless root rights. It seems it can be easily corrected by creating /etc/sudoers.d/live with right syntax and permissions, as described in
live-config
script/lib/live/config/0040-sudo
:Config ()
{
# Skip sudo configuration if username is root
case “${LIVE_USERNAME}” in
root)
exit 0
;;
esac# Checking if package is already configured differently if grep -qs "^${LIVE_USERNAME}" /etc/sudoers.d/live then exit 0 fi echo "${LIVE_USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/live chmod 0440 /etc/sudoers.d/live
-
Grub boot menu of install target still has the same parameters of default Whonix-Host grub boot menu, i.e. normal + Live Boot. The live boot option line should be suppressed since the install target does not have live-boot packages anymore (suppressed during install). Furthermore, Debian/GNU Linux should be replaced by Whonix/GNU Linux
-
Some branding work to be done on the default debian Calamares installer. Very easy (working in progress, will post suggestions soon).
-
Still having problems with getting the clock right both on the ISO and install target.
-
The master Whonix-XFCE VM has no apt sources other than whonix. Is it on purpose?
Some screenshots:
booting the ISO with Debian Live user
Booting the ISO with root user
GRUB menu after install
First boot into the newly installed target. Theming needs fixing