LinuxQuestions.org
Visit Jeremy's Blog.
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 09-21-2007, 10:43 PM   #1
Lord Of Light
LQ Newbie
 
Registered: May 2005
Location: Australia
Distribution: Ubuntu 7.04, Fedora 7 ,Suse 10.1
Posts: 1

Rep: Reputation: 0
Talking Installing Netscape Navigator 9.0b3


I get this error after doing ./navigator.
*** e = [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://browser/content/utilityOverlay.js :: getShellService :: line 328" data: no]
Navigator still pops up but if I close the terminal Navigator shuts down too. Please be gentle I`m a noobie.
 
Old 09-21-2007, 11:09 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by Lord Of Light View Post
Navigator still pops up but if I close the terminal Navigator shuts down too.
I don't know about the error message, but it is normal for the program to shut down when you close the terminal. If you don't want that to happen, then you need to put the command in the "background" by following the command with an ampersand. And if you do that, you probably want to redirect STDOUT and STDERR some place. If you want to background the process and just throw away all output, then:

Code:
./navigator > /dev/null 2>&1 &
All of this can be avoided if you just start the program from a menu, an icon, or the "run" command, which is how programs are usually started in a GUI.

EDIT: I left out a step for making the program persist after the terminal is closed ... You also need to tell the shell (terminal) to "disown" the process. You can combine both of these into one step:

Code:
./navigator > /dev/null 2>&1 & disown $!
In this case the ampersand both backgrounds the process and separates the commands. "$!" just refers to the last process that was backgrounded. If this seems overwhelming, just "cookbook" for now and hopefully, in time you will come to understand it.

Last edited by blackhole54; 09-21-2007 at 11:41 PM.
 
  


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
deb package for netscape navigator? ab44045 Linux - Software 8 08-09-2007 03:30 PM
Help - netscape-navigator-9_1.0b1 ktamil Linux - Software 1 06-28-2007 04:00 AM
LXer: The All-New Netscape Navigator 9.0 LXer Syndicated Linux News 2 06-09-2007 07:37 AM
LXer: Netscape Revives Navigator Brand for Netscape Navigator 9 LXer Syndicated Linux News 0 05-06-2007 01:46 PM
netscape navigator cannot find server Kobra_Stryke Linux - Networking 1 05-25-2003 04:14 PM

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

All times are GMT -5. The time now is 03:06 AM.

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
Open Source Consulting | Domain Registration