Can't find GUI of prey after installing
Matthew Barrera
I am using Ubuntu 15.10 and I installed prey successfully on it. Its CLI is working but I can't start the GUI. I followed this link but I got command not found error for
sudo /usr/lib/prey/platform/linux/prey-config.pySo how should I start prey GUI?
6 Answers
In a terminal window, run:
sudo /usr/lib/prey/current/bin/prey config gui 1 Please follow steps as mentioned in image to open Prey GUI.
After installing prey, launch application from terminal:-
go to /usr/lib/prey and then search ".py" without any quotation mark. You will see all .py files
Look for prey-config.py, right click on it and go to properties, copy location path.
open terminal, type:-
sudo /PATH/to/prey-config.pyIt should look like as mentioned below-
sudo /usr/lib/prey/versions/1.6.3/lib/conf/gui/linux/prey-config.pyGUI window will open, follow instructions.
This was taken from the Prey Website:
sudo /usr/lib/prey/current/bin/prey config gui -fThe -f forces the GUI to display.
Didn't load on my Linux Mint install.
I found the file under:
/usr/lib/prey/versions/1.5.1/lib/conf/gui/linux/run prey-config.py as root and it should load.
Using the prey_1.5.1_amd64.deb package on Ubuntu 16.04 LTS (xenial) I found it at:
/usr/lib/prey/platform/linux/prey-config.py 2 Update for Ubuntu 19.10 June 2020.
preyproject in ubuntu repository is old so you need to go to And download .deb file. And run/Install it.
After it is installed you should see service running:
$ systemctl |grep prey
prey-agent.service loaded active running The Prey daemon.To configure prey you need to run the GUI.
Prey is not added to path.
Use dpkg -L or more specifically dpkg -L prey |grep bin/prey to look for a binary installed by prey.
$ dpkg -L prey |less
$ dpkg -L prey |grep bin/prey
/usr/lib/prey/versions/1.9.4/bin/prey
/usr/lib/prey/versions/1.9.4/bin/prey-userSo, we can run the GUI using that, like this:
$ sudo /usr/lib/prey/versions/1.9.4/bin/prey config gui
Firing up config GUI!There is a symlink installed with the package
$ ls -al /usr/lib/prey/current
lrwxrwxrwx 1 prey root 28 Jun 18 13:29 /usr/lib/prey/current -> /usr/lib/prey/versions/1.9.4So you can also run the GUI like this, and this works for any new version of prey installed/updated:
$ sudo /usr/lib/prey/current/bin/prey config gui
$ lsb_release -a
Description: Ubuntu 19.10
Codename: eoan