Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-13-2008, 12:39 AM   #1
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
Not able to play on line games in firefox

I am not able to play online games in my Firefox. And i am using an user account. But i am able to play when i logged in as root. I installed flash-plugin as root it self. What is the solution?....Tankyou.
Old 06-13-2008, 01:17 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Originally Posted by bkcreddy17 View Post
I installed flash-plugin as root it self.
Did you install a package as root (which is normal) or where you logged in as root and using the browser?

If the latter, you need to change your behavior. NEVER, EVER, log into KDE or Gnome as root.
NEVER, EVER browse the internet as root. The games you want to play are not worth the risk. Fix the problem itself.

Do you have a 32bit or 64 bit disto. If a 32bit distro look in /usr/lib/firefox for a plugins directory. There should be a file in there named "flashplayer.xpt". Look in /usr/lib/browser-plugins/ for a file named "".

Look at the output of the command "which firefox". It will probably point to a /usr/bin/firefox or /usr/local/bin/firefox command which is really a symbolic link to a startup wrapper script.
ls -l $(which firefox)
file --dereference $(which firefox)

If it is a script, look at it with "less". It should have commands which call firefox.bin after setting the environment to add the paths to

Here is how you can check this out. First start firefox from the shell, and then look up which process PID it has.
jschiwal@hpamd64:~> ps
  PID TTY          TIME CMD
16875 pts/1    00:00:00 bash
25672 pts/1    00:00:00 firefox
25677 pts/1    00:00:03 firefox-bin
25775 pts/1    00:00:00 ps
Or use "ps -u <username> | grep firefox-bin" if you started firefox from the gui.

Next cd into /proc/<PID of firefox> and check for the value of LD_LIBRARY_PATH in firefox's environment.

jschiwal@hpamd64:~> cd /proc/25677/
jschiwal@hpamd64:/proc/25677> tr '\0' '\n' <environ | grep LD_
The paths to the plugin files I mentioned should be listed.

Note: I am basing this information on Firefox 2.0. I haven't upgraded to Firefox 3.0 yet. I don't know if there might be differences or if flash plugins are available for firefox 3.0

Last edited by jschiwal; 06-13-2008 at 01:31 AM.
Old 06-13-2008, 02:28 AM   #3
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
Thank you jschiwal,
I am using Firefox- I have downloaded this .tar file and extracted as and in to /usr/lib/firefox. My distro is RHEL5 Server 32-Bit, which has some 1.5 version and using it. These were some outputs.
ll /usr/lib/flash-plugin/
total 9788
-rwxr--r-- 1 root root    1367 May 10 06:51 homecleanup
-rwxr-xr-x 1 root root 9953520 May 10 06:54
-rw-r--r-- 1 root root   34516 May 10 06:51 LICENSE
-rw-r--r-- 1 root root    3179 May 10 06:51 README
-rwxr--r-- 1 root root    3116 May 10 06:51 setup
[root@seas3 ~]# ll /usr/lib/firefox/plugins/
total 152
lrwxrwxrwx 1 root root     39 Jun 13 11:40 -> /usr/lib/flash-plugin/
-rwxr-xr-x 1 root root  19160 Apr  5 03:32
-rwxr-xr-x 1 root root 127260 May 29 11:37
[root@seas3 ~]# ls -l /root/.mozilla/plugins/
total 8076
-rw-r--r-- 1 root root     856 Dec 15  2006 flashplayer.xpt
-rwxr-xr-x 1 root root 8115888 Mar 24 18:02
-rwxr-xr-x 1 root root  127260 May 29 11:37
[root@seas3 ~]# ls /usr/lib/firefox-  firefox             plugins         updater
chrome                    firefox-bin           README.txt      updater.ini
components                firefox-xremote-client             removed-files   updates
defaults                  greprefs                 res
dependentlibs.list        icons                   LICENSE       
extensions                init.d                mozilla-xremote-client  searchplugins
[root@seas3 ~]# ls /usr/lib/firefox/  greprefs                 removed-files
chrome                    icons                       res
components                install.log          
defaults                  libfreebl3.chk        mozilla-xremote-client           searchplugins
dictionaries       libsoftokn3.chk  updater
extensions            plugins                          updater.ini
firefox                   readme.txt                       updates
firefox-bin       registry                         xpicleanup
when i typed ps command, there is no output for firefox, but i got this..
[root@seas3 ~]# ps -x | grep firefox
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
 5330 ?        S      0:00 /bin/sh /usr/lib/firefox/firefox
 5333 ?        S      0:00 /bin/sh /usr/lib/firefox/ /usr/lib/firefox/firefox-bin
 5338 ?        Sl     0:38 /usr/lib/firefox/firefox-bin
What shall i do further?

Last edited by bkcreddy17; 06-13-2008 at 02:35 AM.
Old 06-13-2008, 11:56 PM   #4
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
Thank you. I got it.


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
Dosbox to play old games? tur third Linux - Games 10 12-04-2006 03:18 PM
Can't play some games... rrfish72 Linux - General 1 11-19-2004 03:06 PM
Please help me play these games... TippyToes Linux - Games 1 01-19-2004 08:19 PM
I want to play games.....Is that so much to ask?! Abe_the_Man Linux - Software 0 07-30-2003 12:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 AM.

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