By default Linux Identifier is installed as a service.  In this document we give guidelines on how to turn it into a regular Desktop app as the identifier user, which is created by the installation package.


You need to be logged in as a user with sudo access and have a terminal open.  If the installation has been provided by Digital Barriers then typically, this user will be pcadmin.


First we need to make sure the Identifier service is stopped.  If you have Identifier currently running in headless mode,

sudo systemctl stop identifier.service

or if you have it running it UI mode.

sudo systemctl stop identifier_gui.service

We also need to make sure it does not start automatically on the next boot.

sudo systemctl disable identifier -or- sudo systemctl disable identifier_gui

Next, we need to change the identifier user to one that can log in, as by default it can not.

sudo chsh -s /bin/bash identifier

Now we need to create a password for the identifier user.  Make sure you choose a secure password and remember it.

sudo passwd identifier

We need to change a few properties of the identifier user.

sudo usermod -c identifier identifier
sudo usermod -u 3000 identifier
sudo groupmod -g 3000 identifier
sudo chgrp -R -h identifier /home/identifier
sudo chown -R -h identifier /home/identifier

Now you need to reboot the machine.   When the machine has rebooted, you should now be able to login as the identifier user using the password you generated earlier.


Once you are logged in, you should be able to run the Identifier application by opening a terminal console and entering the following command.

/opt/identifier/identifier_gui.sh 

Now, if you wish you can make it so that Identifier starts whenever you log in as the identifier user.

mkdir -p /home/identifier/.config/autostart
nano /home/identifier/.config/autostart/identifier.desktop

Edit this identifier.desktop file and make sure it has the following contents.

[Desktop Entry]
Type=Application
Name=SmartVisIdentifier
Exec=/opt/identifier/identifier_gui.sh
Icon=/opt/identifier/SmartVisIdentifier.ico
Comment=Identifier Application
X-GNOME-Autostart-enabled=true

Next time you log into the Ubuntu Desktop as the identifier user, the Identifier application should start automatically.


Note, by default Identifier Linux is run in anonymous mode.  This is important when you link it to SmartVis Face Server as no thumbnails or meta-data information is download from the server.  This is a security feature.  To change this behaviour follow the instructions on this faq.


We also recommend that you encrypt your the /home/identifier folder.  You need to run the following commands as the pcadmin user or another account with sudo access.  Note, you can not be logged in anywhere as the identifier user

sudo apt-get install ecryptfs-utils cryptsetup
sudo ecryptfs-migrate-home -u identifier

It is very important you check the logs and output of this command.   


After the second command it is important you immediately log into the identifier account before rebooting the machine.  As a finally security step, you should encrypt the swap-partition.

sudo ecryptfs-setup-swap

There are more complete instructions on how to encrypt your home folder available online and it is advised you follow a process such as this.