Originally Posted by bkcreddy17
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
, log into KDE or Gnome as root.
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 "libflashplayer.so.0".
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 libflashplayer.so.0.
Here is how you can check this out. First start firefox from the shell, and then look up which process PID it has.
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