On 04/02/2011 12:36 PM, colbec wrote:
>
> Cannot execute command ’ 'zenmap "
> ‘which zenmap’ finds zenmap in /usr/bin no problem.
is the icon you are clicking on set to launch zenmap as root?
depending on where the icon is, right click the it, pick “Icon
Settings”, find the “Application” tab, look in the “Command:” blank
and i guess you will see “zenmap” and maybe something else…
so, to launch it as root just add a
kdesu
in front of the “zenmap” and maybe something else…then click ok
or maybe you have to figure out how to go in through the “Menu Editor”
and do the same thing (add kdesu in front of the command)…
then, you will be challenged for the root password before zenmap starts…
but, i have a question: why are you running an anti-virus?
Zenmap as a normal user runs no problem. It is only invoking zenmap as the root user which is an issue. Root is useful since it allows a more in-depth analysis.
The ‘Zenmap as root’ launch from the KDE App Launcher actually runs a script in /usr/share/zenmap/ which is supposed to take care of kdesu depending on what kind of window manager you are running from. I tried changing the reference to zenmap in this script to specify the full path to zenmap, and once it did challenge me for the root password but still failed to run zenmap.
I am not running an antivirus. Zenmap is a network mapper.
Found a workaround. I uninstalled the rpm versions of nmap and zenmap and installed from source to see if that was better. Not.
At the same time as installing zenmap I also installed Wireshark. This programme works correctly from the App Launcher as root which is required. So I modified the execute line in my launcher item for ‘zenmap as root’ from the su-to-zenmap script to:
/usr/bin/xdg-su -c /usr/local/bin/zenmap // note different install directory from Opensuse rpm since mine is from source.
On 04/05/2011 06:36 PM, grnoval wrote:
>
> and when I searched through the rest of the script, it had “$COMMAND”
> being called - hence too many " marks.
someone should clue the script’s author, maybe…
–
CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
in the lottery last Wednesday, and then finds the love of his life just
2 days later. Talk about LUCK!