6. Setting up VirtualBox
Click the Xubuntu start button -> Accessories -> VirtualBox.
In the VirtualBox Manager, click File -> Preferences.
Click the Default Machine Folder selector and select Other...
On the right side of the window select the "truecrypt1" folder and click Open.
Click OK to close the VirtualBox Settings window.
6.1. Importing Whonix
In the VirtualBox Manager, click File -> Import Appliance.
Click Choose and find the Whonix-Gateway.ova file you've downloaded.
Click Next, in the next window click Import.
This can take a few minutes, depending on the quality of your USB stick. It shouldn't take more than 3-4 minutes.
In the VirtualBox Manager, click File -> Import Appliance.
Click Choose and find the Whonix-Workstation.ova file you've downloaded.
Click Next, in the next window click Import.
This can take 10+ minutes, depending on the quality of your USB stick. If it takes much longer than 10 minutes than your USB stick sucks.
6.2. Setting up Whonix
To increase the speed on multicore CPU's the virtual machine settings have to be changed.
In the VirtualBox Manager, select Whonix-Workstation and click the Settings button.
Go to System -> Processor and increase the number of Processors to the number of cores your CPU has.
Click OK to close the settings window and increase the number of processors of the Whonix-Gateway.
It is not recommended to change any other virtual machine settings. E.g. don't increase the memory size.
6.2.1. Whonix Gateway
In the VirtualBox Manager, select Whonix-Gateway and click the Start arrow.
Click OK to dismiss any popup windows.
You should see a command prompt (user@host:~$) after the gateway is booted.
Wait 60 seconds until whonixcheck starts and tests the network connection.
You should see the messages "You are successfully using Tor" and "Checking for operating system updates...".
If instead there is an error message after 2 minutes, enter "whonixcheck" at the command prompt.
If you see an error message again you have to repeat this, until you are successfully using Tor and Whonix is checking for operating system updates.
The update check can take 10+ minutes to complete, depending on the current speed of the Tor circuit.
Wait until you see the "Last run .... of Network Time Synchronization..." message.
6.2.1.1. (Optional) Change keyboard layout
If you are not from the USA, you may have to change the keyboard layout.
At the command prompt enter
sudo dpkg-reconfigure console-data
You may have to use your numpads "-" key, depending on your keyboard.
Enter the password "changeme" when prompted.
Use the cursor keys to select "Select keymap from arch list" and press Enter.
Select the appropriate keyboard layout family for your country, then select the keyboard layout and a keyboard variant.
6.2.2.2. Update Whonix-Gateway software packages
At the command prompt enter
sudo apt-get update && sudo apt-get dist-upgrade
Enter the password "changeme" if prompted.
Enter "y" to continue the software update when prompted.
Updated packages will get downloaded now. This can take 10+ minutes, depending on the speed of the current Tor circuit.
When the downloads are finished you will probably get prompted about configuration file updates. Just press Enter when there are any questions.
When the installation process is finished and you see the command prompt (user@host:~$) again, proceed to the next step.
6.2.2. Whonix Workstation
In the VirtualBox Manager, select Whonix-Workstation and click the Start arrow.
Click OK to dismiss any popup windows.
When the Whonix desktop is booted you should see the whonixcheck time synchronization window.
You may want to wait 3+ minutes until the whonixcheck time synchronization window disappears, otherwise the desktop may be a little unresponsive.
The speed of this process depends on the quality of your USB stick and the current Tor circuit speed.
When the larger whonixcheck window appear, click OK to close it.
When the mouse pointer gets captured by the virtual machine you can uncapture it again by clicking the right CTRL key on the keyboard.
6.2.2.1. (Optional) Change keyboard layout
If you are not from the USA, you may have to change the keyboard layout.
Click the K(DE) start button on the lower left and select System Settings.
Click the Input Devices icon and select the Layouts tab.
Check "Configure layouts" and click the Add button.
Click the "Limit selection by language" selector and choose your language.
Click the "Layout" selector and choose your language.
Click OK to close the selection window, select "us English (US)" and click the Remove button.
Click the Apply button and close the keyboard settings window.
6.2.2.2. Update Whonix-Workstation software packages
Doubleclick the Konsole icon on the Whonix desktop and enter
sudo apt-get update && sudo apt-get dist-upgrade
Enter the password "changeme" when prompted and enter "y" when prompted to start the package downloads.
Updated packages will get downloaded now. This can take 45+ minutes, depending on the speed of the current Tor circuit.
When the downloads are finished you will probably get prompted about configuration file updates. Just press Enter when there are any questions.
When the installation process is finished (this can take 30+ minutes) and you see the command prompt (user@host:~$) again,
enter "sudo reboot" in the Konsole window to reboot the Whonix workstation.
6.2.2.3. (Optional) VirtualBox Guest Additions
To be able to use Whonix in full screen resolution or simply resize the virtual machine window we need to install the VirtualBox Guest Additions.
This will also stop the mouse pointer from getting captured by the virtual machine and enables you to turn on clipboard sharing (not recommended)
and shared folders (not recommended).
Note that the installation of the guest additions is not recommended by the Whonix developer.
Have a look at this page and the links to see why, do not follow the instructions on that page however:
http://zo7fksnun4b4v4jv.onion/wiki/Virt ... _Additions
or
https://www.whonix.org/wiki/VirtualBox_Guest_Additions
Those issues are probably neglectable, and some users may find it a lot more convenient to be able to resize the Whonix desktop.
Click the Xubuntu start button and start the Ubuntu Software Center.
Enter "virtualbox-guest-additions" in the search box and select
"Transitional package for virtualbox-guest-additions-iso / virtualbox-guest-additions".
Click Install and close the Ubuntu Software Center window when the installation is complete.
In the Whonix-Workstation virtual machine window, select Devices -> Install Guest Additions.
On the Whonix desktop, doubleclick the Konsole icon.
Enter this line and enter your password when prommpted:
sudo apt-get install build-essential linux-headers-$(uname -r)
Enter "y" and wait for the downloads and installation to be completed.
When you see the command prompt again, enter these case sensitive lines:
sudo mkdir /media/cdrom
sudo mount /dev/sr0 /media/cdrom
sudo /media/cdrom/VBoxLinuxAdditions.run
When this is done and you see the command prompt again, enter "sudo reboot" to reboot the Whonix virtual machine.
After rebooting Whonix-Workstation you should be able to resize the Whonix desktop and use full screen resolution and other guest addition features.