This project has moved. For the latest updates, please go here.

Veracrypt on Raspbian 8.0 does not work in graphic mode (GUI)

Topics: Technical Issues
Oct 11, 2016 at 11:21 AM
Edited Oct 11, 2016 at 11:25 AM
hello,
Veracrypt on Raspbian 8.0 does not work in graphic mode (my hard is a raspberry pi 3 with Raspbian jessie 8.0).
Having download version VeraCrypt version 1.18a then decompressed, I launched the sudo bash /home/pi/veracrypt/veracrypt-1.18-setup-gui-x64, window graphics mode is not displayed.
In the console, then I chose the 1 choice for installation, then enter x foix to read the license then yes then install veracrypt finally enter.
In the "Applications" menu appears Veracrypt. Clicking the mouse hourglass runs 10 seconds and then no Veracrypt loading. Why? Assistance would be welcome.

Cordially
Developer
Oct 11, 2016 at 1:22 PM
Veracrypt works on my Raspbian 8. Probably you have to install libwxgtk for GUI.

Where have you downloaded the version?
Oct 11, 2016 at 8:36 PM
Good evening,
I have not installed libwxgtk for GUI. Where do we find libwxgtk?
Why libwxgtk package it is not integrated directly into the veracrypt package! It would save time
Developer
Oct 11, 2016 at 10:12 PM
There is standard deb. It possible to install it via apt-get.
Oct 12, 2016 at 8:34 AM
Edited Oct 13, 2016 at 1:44 PM
Hello,
I am new on the subject. Meaning deb standard? The apt-get command, do it for my RPI3: "sudo apt-get install libwxgtk"? Is there not a version of libwxgtk clarify behind? Is there an order to respect: should install libwxgkt in 1st and 2nd veracrypt or vice versa? Would you have a link or tutorial?
Cordially.
Developer
Oct 16, 2016 at 6:41 AM
I do not know your source of VeraCrypt binary for RPI.

You can check dependencies via
readelf -d <path to veracrypt>
or
ldd <path to veracrypt>
Oct 16, 2016 at 10:53 AM
hello, I'll start from scratch.
Which version should I install veracrypt (tab "Download" of the site) that it works on my RPI3?
After I can run your commands: readelf -d <path to veracrypt> or ldd <path to veracrypt>.
Thank you
Developer
Oct 16, 2016 at 2:45 PM
The site contains x86 version only. It is possible to build VeraCrypt for RPI from source. It works but I do not test it much.
Oct 16, 2016 at 4:38 PM
You are right. I just followed the tutorial described in http://126kr.com/article/51dxyg9tmq5# to build VeraCrypt for RPI from source. It works with the console but I do not know if it works in GUI. What should be more to operate Veracrypt in a GUI?
Mar 24 at 3:22 PM
Edited Mar 24 at 3:29 PM
Hello,

Here I am back on the subject.

I still have not managed to run veracrypt in the GUI (in a window like WINDOWS).

I have in the menu of my RASBERRY PI3 the line VERACRYPT in the ACCESSORIES.

When you click on this line, the hourglass rotates for 10 seconds and no window (GUI) appears.

Does anyone have an idea to run VERACRYPT in a window and not from a console?

In the waiting, thank you.

Pat

For those who want to go further than the following message:

Pi @ raspeberrypi: ~ $ veracrypt
Veracrypt: error while loading shared libraries: libwx_gtk2u_adv-3.0.so.0:

They can follow this link:
Https://forum.raspbian-france.fr/t/veracrypt-sur-la-pi-raspian-jessie/1464

But it's always the same, how do you get VERACRYPT in a GUI window?

PS: kavsrf, when you write higher that VERACRYPT works on your RASPBIAN 8: it works in a GUI or console window?
Developer
Mar 24 at 6:40 PM
Hello Pat054,

Veracrypt GUI version works with RASPBIAN 8.

There are dependencies of wx. Execute the following from root.
for binaries:
apt-get install libwxgtk3.0
to build from source
apt-get install libwxgtk3.0-dev
it is necessary to install the following packages:
for binaries:
apt-get install libwxgtk3.0 dmsetup fuse
to build from source
apt-get install libwxgtk3.0-dev dmsetup fuse-dev
Note: agree - it is better to create normal deb and setup repo. I remember the problem. Sorry for the delay. At present moment I'm the only developer/support.
My current interest was in EFI hidden OS simplified install, also I did preview for multiple hidden volumes in one container, smart cards with EFI investigation.
Mar 24 at 8:53 PM
Good evening kavsrf,

I want everything on board to thank you for your answer.

Then, I want to apologize to you because I am a novice on the "binary" and the "construction of the sources".

To tell the truth, how things are articulated:

1- Do I have to perform either or both?

2- For binaries: should I start with "apt-get install fuse libwxgtk3.0 dmsetup" before "apt-get install libwxgtk3.0"?
   Or vice versa?

3 - for building sources: should I start with "apt-get install libwxgtk3.0-dev dmsetup fuse-dev" before "apt-get install libwxgtk3.0-dev"?
   Or vice versa?

4 - Note: you say "to create normal deb and setup repo". Being a beginner in the field, what does "to create normal deb and setup repo" mean?


As you can see, I ran the 4 commands on my Raspberry PI3 (raspbian 8 jessie):

pi@raspberrypi:~ $ sudo apt-get install libwxgtk3.0
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Note, selecting 'libwxgtk3.0-0' for regex 'libwxgtk3.0'
Note, selecting 'libwxgtk3.0-dev' for regex 'libwxgtk3.0'
Note, selecting 'libwxgtk3.0-0-dbg' for regex 'libwxgtk3.0'
libwxgtk3.0-0 est déjà la plus récente version disponible.
libwxgtk3.0-0-dbg est déjà la plus récente version disponible.
libwxgtk3.0-dev est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

pi@raspberrypi:~ $ sudo apt-get install libwxgtk3.0-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libwxgtk3.0-dev est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

pi@raspberrypi:~ $ sudo apt-get install libwxgtk3.0 dmsetup fuse
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Note, selecting 'libwxgtk3.0-0' for regex 'libwxgtk3.0'
Note, selecting 'libwxgtk3.0-dev' for regex 'libwxgtk3.0'
Note, selecting 'libwxgtk3.0-0-dbg' for regex 'libwxgtk3.0'
dmsetup est déjà la plus récente version disponible.
fuse est déjà la plus récente version disponible.
libwxgtk3.0-0 est déjà la plus récente version disponible.
libwxgtk3.0-0-dbg est déjà la plus récente version disponible.
libwxgtk3.0-dev est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

pi@raspberrypi:~ $ sudo apt-get install libwxgtk3.0-dev dmsetup fuse-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet fuse-dev
pi@raspberrypi:~ $

The last one gives this: E: Unable to find the fuse-dev package.

What should I do for this error?

I rebooted my RPI3 and tried to launch VERACRYPT in the menu, ACCESSORIES.

But nothing happens, the hourglass appears 10 seconds and no VERACRYPT window is displayed!

Do you have any idea where that can be fished?

In waiting, thank you again. Cordially.

Pat
Developer
Mar 27 at 4:13 PM
is RPI connected to the internet?

apt-get tool has to download packages from RASPBIAN repo.

deb is ordinary way to create packages for Debian/Ubuntu based linux.. Repo is central storage of deb.
Mar 28 at 5:19 PM
Good evening kavsrf,

Yes my RPI3 is connected to the internet.
My internet works in ADSL with box ORANGE.fr with a throughput of 1 to 8Mb / s.

For the rest, I did not quite understand being novice on his things.

I know that :

Pi @ Raspberry Pi: ~ $ sudo apt-get install libwxgtk3.0-dev fuse-dev dmsetup
Reading lists of ... packages
Building the dependency tree
Reading status information ... Done
E: Can not find the fuse-dev package
Pi @ Raspberry Pi: ~ $

Ends with "E: Unable to find the fuse-dev package."

What should I do to remove this error?

In summary, I have this error and I have in the menu of my RPI3, in ACCESSORIES, a line VERACRYPT
When I click on it the mouse hourglass runs and no VERACRYPT window opens.

What more do you need to make VERACRYPT work in a window ... I do not know.
Developer
Mar 28 at 6:27 PM
Edited Mar 28 at 6:33 PM
sorry. Packages to install
sudo apt-get install libwxgtk3.0-dev libfuse-dev libfuse2 dmsetup
it is strange. fuse, wxgtk3.0, dmsetup are enough to run veracrypt,
Mar 28 at 7:03 PM
I executed this:

Pi @ raspberrypi: ~ $ sudo apt-get install libwxgtk3.0-dev libfuse-dev libfuse2 dmsetup
Reading Package Lists ... Done
Building the dependency tree
Reading status information ... Done
Dmsetup is already the latest version available.
Libfuse-dev is already the latest version available.
Libfuse2 is already the latest version available.
Libfuse2 passed in "manually installed".
Libwxgtk3.0-dev is already the latest version available.
0 updated, 0 newly installed, 0 to remove and 0 not updated.
Pi @ raspberrypi: ~ $

Apparently everything was in place.

I clicked randomly on the VERACRYPT line of the RPI3 menu in ACCESSORIES:
It does nothing except the hourglass that lasts 10 seconds and no window opening VERACRYPT.

Other ideas?
Developer
Mar 28 at 7:12 PM
Try to execute from terminal. It can explain problem.
Mar 28 at 7:17 PM
In the console I have this:

pi@raspberrypi:~ $ veracrypt
Usage: veracrypt [--auto-mount <str>] [--backup-headers] [--background-task] [-C] [-c] [--create-keyfile] [--delete-token-keyfiles] [-d] [--display-password] [--encryption <str>] [--explore] [--export-token-keyfile] [--filesystem <str>] [-f] [--fs-options <str>] [--hash <str>] [-h] [--import-token-keyfiles] [-k <str>] [-l] [--list-token-keyfiles] [--load-preferences] [--mount] [-m <str>] [--new-hash <str>] [--new-keyfiles <str>] [--new-password <str>] [--new-pim <str>] [--non-interactive] [--stdin] [-p <str>] [--pim <str>] [--protect-hidden <str>] [--protection-hash <str>] [--protection-keyfiles <str>] [--protection-password <str>] [--protection-pim <str>] [--random-source <str>] [--restore-headers] [--save-preferences] [--quick] [--size <str>] [--slot <str>] [-tc] [--test] [-t] [--token-lib <str>] [--token-pin <str>] [-v] [--version] [--volume-properties] [--volume-type <str>] [Volume path] [Mount point]
--auto-mount=<str> Auto mount device-hosted/favorite volumes
--backup-headers Backup volume headers
--background-task Start Background Task
-C, --change Change password or keyfiles
-c, --create Create new volume
--create-keyfile Create new keyfile
--delete-token-keyfiles Delete security token keyfiles
-d, --dismount Dismount volume
--display-password Display password while typing
--encryption=<str> Encryption algorithm
--explore Open explorer window for mounted volume
--export-token-keyfile Export keyfile from security token
--filesystem=<str> Filesystem type
-f, --force Force mount/dismount/overwrite
--fs-options=<str> Filesystem mount options
--hash=<str> Hash algorithm
-h, --help Display detailed command line help
--import-token-keyfiles Import keyfiles to security token
-k, --keyfiles=<str> Keyfiles
-l, --list List mounted volumes
--list-token-keyfiles List security token keyfiles
--load-preferences Load user preferences
--mount Mount volume interactively
-m, --mount-options=<str> VeraCrypt volume mount options
--new-hash=<str> New hash algorithm
--new-keyfiles=<str> New keyfiles
--new-password=<str> New password
--new-pim=<str> New PIM
--non-interactive Do not interact with user
--stdin Read password from standard input
-p, --password=<str> Password
--pim=<str> PIM
--protect-hidden=<str> Protect hidden volume
--protection-hash=<str> Hash algorithm for protected hidden volume
--protection-keyfiles=<str> Keyfiles for protected hidden volume
--protection-password=<str> Password for protected hidden volume
--protection-pim=<str> PIM for protected hidden volume
--random-source=<str> Use file as source of random data
--restore-headers Restore volume headers
--save-preferences Save user preferences
--quick Enable quick format
--size=<str> Size in bytes
--slot=<str> Volume slot number
-tc, --truecrypt Enable TrueCrypt mode. Should be put first to avoid issues.
--test Test internal algorithms
-t, --text Use text user interface
--token-lib=<str> Security token library
--token-pin=<str> Security token PIN
-v, --verbose Enable verbose output
--version Display version information
--volume-properties Display volume properties
--volume-type=<str> Volume type
pi@raspberrypi:~ $
Developer
Mar 28 at 8:19 PM
Edited Mar 28 at 8:27 PM
It looks like console version. Please reinstall GUI.

Sorry. I found - downloads contain console only version.
I put GUI here: https://sourceforge.net/projects/dc5/files/beta/
Mar 29 at 9:23 PM
Good evening kavsrf,

Do not apologize ... everybody makes mistakes .... even me from time to time.

For your information, I did this:

1- click on: https://sourceforge.net/projects/dc5/files/beta/
2- download: veracrypt-1.19-setup-gui-armv7
3- sudo chmod + x veracrypt-1.19-setup-gui-armv7
4- ./veracrypt-1.19-setup-gui-armv7
5- Choice 1 and ENTER
6- click on VERACRYPT (in RASPBERRY menu, then in ACCESSORIES) or enter in the console "veracrypt"

And there: oh miracle! The VERACRYPT window (GUI) appears.

On the other hand, in the window, the slot goes from 1 to 64: is this normal?
(I had the habit of having letters A to Z in the version WINDOWS)

Congratulations to you and thank you for your work. Cordially.

Pat
Developer
Mar 30 at 7:04 AM
Hi Pat,

Range of mount slots [1,64] is normal.

Probably Windows version has to use slots instead of letters also. It helps to mount containers to directories in addition to letters (number of letters is limited :) This is one of improvements to do.
Mar 30 at 7:35 AM
Hello kavsrf,

Again thank you. Have a nice day.

Pat