Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am new to linux. I have installed the firefox 10.0.5 and tried to launch the firefox by command line "firefox" but nothing was happening. Am I missing something? Please kindly provide more details what to do.
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Where did you install firefox?
If it won't start from a terminal, then you do not have the binary in your path. Your systems path is the set of directories the system searches through when you enter a command, or a program. To know what the path is set to, open a terminal and run the command 'echo $PATH' 9 without the quotes. You should get something like this:
Yours will be a little different, however, you can see my system looks through /usr/local/bin, /usr/bin etc.
So, depending on where the firefox binary is, you can add a symlink to the binary in the search path.
If you install FF in your /home/username/ somewhere, it won't be found, unless you add that to the path, or put a symlink in the path, to the binary.
You can use the find command to find the binary, or my favorite, locate. See the man page for each command.
For locate you need to update the database first. That is done as root user. You can su to root, and run the command 'updatedb'. That will take a few minutes to run. Once finished, exit root, and run the command 'locate firefox'. The system will list all occurrences of the string firefox.
Firefox runs as an X Window on UNIX/Linux. When you say "command line" are you trying to run it from within a terminal session within your X environment or are you trying to do it from one of the text consoles? If the latter it won't work.
In the default X Window environment for RHEL (Gnome desktop) there should be a little icon that looks like a world - this is the typical way to launch your browser. Did you try that?
If you type "tty" what does it show at command line?
If you type "which firefox" what does it show?
When you type "firefox" and hit enter exactly what happens? That is do you see any messages or does it come back to command prompt or does it hang?
If you run "ps -ef |grep firefox" after you've tried to start firefox what do you see?
Try using just DISPLAY =:0 firefox http://<web address> I ssh into my linux box everyday for monitoring purposes and I was able to get firefox to open that way. I run opensuse 12.1, dont know if that will make any difference.
hey, good news, i just tried the "ssh -X username@hostname" replacing with actual user name and host, and I am able to launch firefox remotely. So this means I can move forward to the selenium web ui testing in linux, not sure if it will work or not, but that is a different story.
Thank you so much for all your help! I really appreciate.