X11 on Whonix 18 - easy tutorial

Hi,

I can’t work on Whonix 18 with Wayland because one of my most important app uses java and it crashes a lot on wayland, even with xwayland, it needs x11 only + copy-paste problem.

I made this simple tutorial for anyone that wants to use Whonix 18 with LXQT + X11 (it works with xfce + x11 too, but i found a bug that i cannot solve “An application has requested to open the following directory with default file manager. would you like to open those directories”.

Whonix 18 with LXQT + X11 tutorial for KVM/QEMU (it should work for VirtualBox too, the principle is the same)

I can keep using whonix gateway 18 GUI
Download whonix 18 CLI version: Whonix for KVM
Extract: tar -xvf Whonix*.libvirt.xz
Change name to something meaningfull like workstation-cli-x11, set copy-paste to yes: nano Whonix-Workstation-CLI.xml
sudo virsh -c qemu:///system define Whonix-Workstation-CLI.xml
first time log in with user, after sysmaint-split installation use sysmaint for sudo
upgrade-nonroot
sudo apt install lxqt-core lxqt-panel lxqt-qtplugin pcmanfm-qt qterminal lightdm
sudo systemctl enable --now lightdm
sudo apt install user-sysmaint-split sysmaint-panel
reboot, select sysmaint mode persistent (still cli)
sudo apt install tb-updater tb-starter ; reboot, go to user mode persistent (GUI, finally)
update-torbrowser (in user mode not sysmaint)
torbrowser
For any sudo commands just reboot, go to sysmaint mode, sysmaint as user login: sudo apt install default-jdk (java for running Minecraft, not Cobalt Strike Client, of course :))
1 Like

Do you get any specific error messages from the application when it crashes or misbehaves? There might be a way to reconfigure Whonix to make it work without needing to abandon Wayland and lose the security advantages it comes with.

1 Like