For Whonix 14, Qubes users only.
An improved sdwdate-gui for Qubes. A single sys-whonix tray icon get the status of its own sdwdate and the ones running in the living anon vm’s (anon-whonix, anon-something, …, anon-x).
The anon vm’s are registered or unregistered as the are started or shut down.
If one or several anon vm is killed or crashed, it is unregistered and restarted.
In addition, it shows Tor status directly in the tray icon if Tor is not running, in the menu otherwise. If installed, the Tor controller GUI can be run from the menu.
Installation instructions.
In whonix-gw-14
:
-
Install the software for building the package
sudo apt-get install git genmkfile ruby-ronn debhelper buid-essential
-
Get the package
To be able to get the package from github, full networking has to be allowed in the template. Inwhonix-gw-14
-->Qubes Settings
-->Networking
selectsys-whonix
instead of(none)
.
This setup should be temporary, as it is recommended against allowing networking in Qubes templates.
Revert to(none)
after installation.git clone https://github.com/troubadoour/sdwdate-gui.git
-
Install the package
cd sdwdate-gui make deb-icup
In whonix-ws-14
:
-
Repeat the steps in whonix-gw-14
-
Enable shutdown notifier service
sudo systemctl enable shutdown-notify
In dom0:
-
Add
gateway
tag for new policiesqvm-tags sys-whonix add gateway
-
Add policies for
sys-whonix <--> anon-vm
communication
Three files to be added in/etc/qubes-rpc/policy
.-
whonix.GatewayCommand
$tag:anon-vm $tag:gateway allow $anyvm $anyvm deny
-
whonix.SdwdateStatus
$tag:anon-vm $tag:gateway allow $anyvm $anyvm deny
-
whonix.NewStatus
$tag:anon-vm $tag:gateway allow $anyvm $anyvm deny
Example:
In /etc/qubes-rpc/policysudo nano whonix.GatewayCommand
Write the content. Save with
Ctrl + x --> y --> Enter
Beware that any typo will prevent the setup to work. -
Shutdown the templates, restart sys-whonix, start or restart the anon-xxx vm’s.