The GUI of prey 1.1.5 in Ubuntu 14.04.1

Asked by Christian Lugo Peña

Hello guys, I installed prey in Ubuntu 14.04.1, works perfect I can see my device in the panel, but I can't see the Prey Configurator in GUI mode

After read FAQ in internet I tried to run the py file with sudo but no success

I tried with "sudo su" and only "sudo" but the result is the same, these are the errors:

*******************************************************************************

# sudo /usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py

Traceback (most recent call last):
  File "/usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py", line 346, in <module>
    app = PreyConfigurator()
  File "/usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py", line 317, in __init__
    if not FORCE_CONFIG and self.client_configured():
  File "/usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py", line 259, in client_configured
    self.call_prey_config('account verify', '--current')
  File "/usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py", line 276, in call_prey_config
    return self.run_command(PREY_CONFIG + ' ' + action + ' ' + opts)
  File "/usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py", line 283, in run_command
    proc = Popen(args, stdout=PIPE, shell=False)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No existe el archivo o el directorio

*******************************************************************************

Congratulations, you have done a great job!
kind regards

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu prey Edit question
Assignee:
No assignee Edit question
Solved by:
Facundo guerrero
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Using sudo su or sudo will yield the same result as they both will run the command as root...think about it

Revision history for this message
Christian Lugo Peña (christian-lugo) said :
#2

You're right Andrew, sudo su and sudo is the same action, sorry for my duplicity about sudo.

Well, I keep in the same situation, I can't run the python prey-config file in GUI mode

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

How did you install the GUI?

Revision history for this message
Christian Lugo Peña (christian-lugo) said :
#4

¿?

I don't need install anything, the prey agent (1.1.5) is already installed and works perfect, I just need run the python config file (for Prey Configurator in GUI mode) but the permission on file is the problem (I think so)

...I explain this in the begin of post

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

What is the output of:

ls -la /usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

How did you install prey?

As far as I know, the default location for prey-config should be \usr\lib\prey\platform\linux\prey-config.py and the current version number is 0.6.2-1 or maybe 0.6.3 - if you are talking about https://preyproject.com/ - the utility for tracking stolen computers.

Revision history for this message
Facundo guerrero (guerremdq) said :
#7

Hi,

Did you install the prey package? apt-get install prey

I'm testing the config gui and is working - sudo /usr/lib/prey/platform/linux/prey-config.py

Thanks!

Revision history for this message
Christian Lugo Peña (christian-lugo) said :
#8

Hello gentlemen, thanks for support

- Manfred, come on dude, of course is preyproject ;)

- Andrew, this is the result:

# ls -la /usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py
-rwxr-xr-x 1 prey prey 10875 sep 2 22:13 /usr/lib/prey/versions/1.1.5/lib/conf/linux/prey-config.py

- Facundo, about the path, only appears /usr/lib/prey/versions/1.1.4 or 1.1.5 I don't have /usr/lib/prey/platform/linux/prey-config.py, this file (config.py) appears in 1.1.4 or 1.1.5 folder

I tried to reinstall the client since terminal but the message is
# sudo apt-get install prey
prey ya está en su versión más reciente.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados

Repeat, the agent works perfectly, I can see my device from the web panel, but I can't run the GUI Configurator

Facundo, if you need an access via TeamViewer, I don't have problem, or if you need the print screen of my paths or whatever, please tell me

Thanks to everybody, and sorry for this weird case

Note: Originally, I installed the agent from the website (https://preyproject.com/ - of course) via the Deb file (prey_0.6.3-ubuntu2_all.deb)

<email address hidden>

Revision history for this message
Best Facundo guerrero (guerremdq) said :
#9

Christian,

I'm supporting the debian package from prey, not the package that you can download from their site.
Please uninstall the package and install again . apt-get purge prey && apt-get install prey

Revision history for this message
Christian Lugo Peña (christian-lugo) said :
#10

OK, after remove/purge the prey and reinstall, now I can see the icon/app in GUI mode. PERFECT!

Thanks a lot! I don't F* understood where "born" this 1.1.4 and 1.1.5 path, but actually worked

whatever, thanks again everybody!

Revision history for this message
Christian Lugo Peña (christian-lugo) said :
#11

Thanks Facundo guerrero, that solved my question.