LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2017, 12:03 PM   #1
bmohanraj91
LQ Newbie
 
Registered: Apr 2017
Posts: 14

Rep: Reputation: Disabled
Failed to execute child process


Hi all, I recently installed packet tracer application in pepper mint linux. I could open the application from terminal by typing 'packettracer' but when I tried to launch it from the start menu or Application finder it throws error 'Failed to execute child process'. Need help to fix this issue.
 
Old 04-15-2017, 02:54 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,519
Blog Entries: 9

Rep: Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393
doesn't it work ok from the command line?
how did you install it, which version?
which linux distro?

fwiw, this is the app in question: http://www.netacad.com/about-network.../packet-tracer
what i see is lots of qt4 dependencies, so it's not a command line app.

you should look at the app's *.desktop file, most likely /usr/share/applications/packettracer.desktop
if it isn't that, look at the list of installed files, that will tell you where the desktop file is.
open the .desktop file in a plain text editor, and have a look at the Exec= line. Post it here.
 
1 members found this post helpful.
Old 04-16-2017, 12:38 AM   #3
bmohanraj91
LQ Newbie
 
Registered: Apr 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
I cant open the app from Application finder only

1.If I type 'packettracer' in terminal, it open and I can work on that app.

2. I extracted the file using tar command and installed by using the sudo ./install.

3 Linux OS detail: No LSB modules are available.
Distributor ID: Peppermint
Description: Peppermint 7 Seven
Release: 7
Codename: xenial

4.The link you have given is where I have downloaded that app.

5. I found packettracer file in /usr/share/applications/ which contain the text below.
[Desktop Entry]
Name= Packettracer
Comment=Networking
GenericName=Cisco Packettracer
Exec=/opt/packettracer/packettracer
Icon=/usr/share/icons/packettracer.jpeg
StartupNotify=true
Terminal=false
Type=Application


Quote:
Originally Posted by ondoho View Post
doesn't it work ok from the command line?
how did you install it, which version?
which linux distro?

fwiw, this is the app in question: http://www.netacad.com/about-network.../packet-tracer
what i see is lots of qt4 dependencies, so it's not a command line app.

you should look at the app's *.desktop file, most likely /usr/share/applications/packettracer.desktop
if it isn't that, look at the list of installed files, that will tell you where the desktop file is.
open the .desktop file in a plain text editor, and have a look at the Exec= line. Post it here.
 
Old 04-16-2017, 03:13 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,519
Blog Entries: 9

Rep: Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393
something is different between this:
Quote:
Originally Posted by bmohanraj91 View Post
1.If I type 'packettracer' in terminal, it open and I can work on that app.
...and this:
Quote:
Exec=/opt/packettracer/packettracer
please:
Code:
which packettracer
you can also try (from terminal) to enter the full path:
Code:
/opt/packettracer/packettracer
 
1 members found this post helpful.
Old 04-16-2017, 03:33 AM   #5
bmohanraj91
LQ Newbie
 
Registered: Apr 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
which packettracer shows this

/usr/local/bin/packettracer
 
Old 04-16-2017, 03:51 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,098

Rep: Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143
looks like you need to replace:
Code:
Exec=/opt/packettracer/packettracer
to this:
Exec=/usr/local/bin/packettracer
or you may try to link it:
Code:
ln -s /usr/local/bin/packettracer /opt/packettracer/packettracer
 
1 members found this post helpful.
Old 04-16-2017, 05:00 AM   #7
bmohanraj91
LQ Newbie
 
Registered: Apr 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
Very Helpful Thank you very much issue resolved

I have learnt a new thing in linux today, thank you very much.
I changed the .desktop file EXEC=/usr/local/bin/packettracer and now I can launch the application from Desktop or from the Application finder.


Quote:
Originally Posted by pan64 View Post
looks like you need to replace:
Code:
Exec=/opt/packettracer/packettracer
to this:
Exec=/usr/local/bin/packettracer
or you may try to link it:
Code:
ln -s /usr/local/bin/packettracer /opt/packettracer/packettracer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to execute child process Fixit7 Puppy 1 10-31-2014 10:38 PM
Failed to execute child process (Permission denied) iji Linux - Newbie 3 07-11-2012 03:08 PM
[SOLVED] Wine + Slackware's = Failed to execute child process darkstarbyte Linux - Software 1 10-23-2010 12:55 AM
Failed to execute child process "ooffice" (Permission denied) Mol_Bolom Linux - Software 2 03-11-2009 04:23 PM
Failed to execute child process? une Linux - Newbie 2 09-20-2006 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration