ffazio / grimwepa

Automatically exported from code.google.com/p/grimwepa
0 stars 0 forks source link

Instalation in other Distros (Ubuntu 10.04, Fedora 13) #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install the APP
2. Try to execute it by the menu icon
3. Nothing happens

What is the expected output? What do you see instead?

It is espected to execute, but there is some issue with permisions (sudo?)
or java. If I run from console with "sudo grimwepa" I get this error:

"Unable to access jarfile /pentest/wireless/grimwepa/grimwepa1.10a5.jar"

What version of the product are you using? On what operating system?

1.10 alpha 5

Please provide any additional information below.

I can only run the app with "java -jar grimwepa1.10a5.jar"

Original issue reported on code.google.com by Vgr....@gmail.com on 7 Jun 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Try installing it to a sub-directory that exists.  My guess is that the 
directories
/pentest/wireless/ do not exist on your Fedora installation.  They are default 
in the
Backtrack4 distribution (Ubuntu-based).

Change the directory to a sub-directory that exists, like /root/grimwepa/

You could also create the /pentest/wireless directories before trying 
installation
again...

cd /
mkdir pentest
cd pentest
mkdir wireless

Please let me know if this resolves the issue.

Original comment by der...@gmail.com on 7 Jun 2010 at 3:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
From console works perfect now. "Sudo grimwepa" is working right.

The only interesting thing to sort out would be launching grimwepa from the menu
without permission issues.

Thanks

Original comment by Vgr....@gmail.com on 7 Jun 2010 at 3:17

GoogleCodeExporter commented 9 years ago
Glad to hear you got it installed.

I designed the program for BT4, which is almost always run as ROOT, but I think
there's a way to fix the problem you're having...

The desktop link runs the command "grimwepa" instead of "sudo grimwepa".

If you know a little about Linux, you could use the steps below to try editing 
the
menu link directly.  This *might* solve the issue:

Navigate to the directory /usr/share/applications/

This is where the menu links are kept (as well as other links).  The file
'grimwepa.desktop' is the menu link for Grim Wepa.  Open this file in a text 
editor
(Kate or the like), and scroll to the "Exec=" line.  It should say:

Exec=grimwepa

Try changing it to:

Exec=sudo grimwepa

Save, then run the command "update-menus" from the console.  After this, you 
should
be able to launch grim wepa without permissions issues from the menu.  If not, 
try
putting "sudo grimwepa" in quotes.  If that fails, I'm out of ideas!

Please let me know if this solves the issue for you -- if so, I'll implement it 
into
the newer versions.

Original comment by der...@gmail.com on 7 Jun 2010 at 3:51

GoogleCodeExporter commented 9 years ago
I already tried that and nothing. The app directly don´t run. If you don´t 
mind I
will seek for info tonight and will bring you the results later. There must be 
a way
to run apps with root permissions from the menu.

Talk you later

Original comment by Vgr....@gmail.com on 7 Jun 2010 at 3:59

GoogleCodeExporter commented 9 years ago
Ok, you have to check "run from console" in order to enter the password for 
permissions, them it runs normally.

The problem is that some distributions like Fedora 13, do not include this 
option in the GUI menu editor. The solution in this case, is editing the direct 
access with nano, kate, gedit or whatever editor you like.

In order to enable this option, "run from console", add or edit the following 
line:

"Terminal=true"    //without the quotes

PD: You can just, grab the icon from the menu, and move it to the text editor, 
if you don´t know where are this files located (works in gnome and kde3.5)

Hope this helps

Original comment by Vgr....@gmail.com on 10 Jun 2010 at 6:39

GoogleCodeExporter commented 9 years ago
Awesome, I'll test out "Terminal=true" on my menu icon, see if it loads 
normally, and will include it in the next revision if it works.

Thanks for finding a solution and reporting it back here!

Original comment by der...@gmail.com on 10 Jun 2010 at 7:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
is the issue fixed? editing grimwepa.desktop with "temrinal=true" and "sudo 
grimwepa" is no good for me instead i use Exec=gksudo grimwepa and it launched 
though asks for a root passwd.

Original comment by warlocks...@gmail.com on 2 Jul 2010 at 8:30