LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-27-2009, 09:25 PM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 74

Rep: Reputation: 15
Red face Youtube works with root, but not a regular user


Dear Experts,

I'm running Redhat 5.2 with Firefox 3.0b5.


As root, I've installed the adobe flash player plug ins.

Youtube works with the root user.
But not non-root users.

Does anyone know the secret to fix this?

Perhaps a user specific Firefox setting?


Thanks a lot!
 
Old 11-28-2009, 02:50 AM   #2
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
What do you see when you access a video on Youtube when logged in as a normal user ? Does Firefox ask you to install the Flash plugin ?
 
Old 11-28-2009, 04:25 AM   #3
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
you usually install it as a regular user

Do a
Code:
find / -name libflashplayer.so
and copy that file to your ~/.mozilla/plugins dir. It has the same result that installing it as a regular user.

Maybe when you installed it as root, the file went to /root/.mozilla/plugins, which is not what you wanted (right?). If you want the plugin to be available globally (for all the users on that machine) check where the global plugins dir is, and put it over there. It's on /usr/lib/mozilla/plugins in Debian, may differ according to your distro.
 
Old 11-28-2009, 04:39 PM   #4
Darrell22
Member
 
Registered: Nov 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks. It seems to already be there.


find / -name libflashplayer.so

/download/adobe/install_flash_player_10_linux/libflashplayer.so
/usr/lib/mozilla/plugins/libflashplayer.so
/usr/lib/flash-plugin/libflashplayer.so


Any thoughts? Thanks again.
 
Old 11-28-2009, 09:35 PM   #5
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
When you install adobe flash player from root. They was installed (I think) with OWNER = root, and run then then probably can only OWNER. So you have to check rights for that files. If you have MC (midnight commander), go to that dir, choose file and from upper menu in the FILE tab choose "chmod" and check how can execute them.

May be you need to copy them you your home directory, but where Firefox will find them and then change permissions. Add "execute/search by others"
 
Old 12-04-2009, 01:05 AM   #6
Darrell22
Member
 
Registered: Nov 2003
Posts: 74

Original Poster
Rep: Reputation: 15
The crazy thing is that I made a new user.
And Youtube worked perfectly fine for that new one.


But not for the old one.
However, that problem is solved now.



Here is what I did:

find / -type f -ls | grep -i "libflashplayer"

87949448 11148 -rwxrwxr-x 1 501 oinstall 11396840 Nov 13 09:12
/download/adobe/install_flash_player_10_linux/libflashplayer.so

40799251 88 -rwxr-xr-x 1 root root 80500 Jul 20 15:21
/usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

40927391 10056 -rwxrwxrwx 1 root root 10278616 Jul 17 20:10
/usr/lib/flash-plugin/libflashplayer.so



find / -type l -ls 2> /dev/null | grep -i "libflashplayer"

40468762 0 lrwxrwxrwx 1 root root 39 Nov 27 16:25
/usr/lib/mozilla/plugins/libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so


chmod 777 /usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

chmod 777 /usr/lib/flash-plugin/libflashplayer.so


40799251 88 -rwxrwxrwx 1 root root 80500 Jul 20 15:21
/usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

40927391 10056 -rwxrwxrwx 1 root root 10278616 Jul 17 20:10
/usr/lib/flash-plugin/libflashplayer.so



Log out. Login.

Reinstall flash player.

/temp/flash-plugin-10.0.32.18-release.i386 is already installed.
No packages were given for installation.


pwd
/temp

rm flash*
rm: remove write-protected regular file `flash-plugin-10.0.32.18-release.i386.rpm'? y

Remove the saved profile for the user.
Login again.

Youtube now works.
Go figure.
 
  


Reply

Tags
adobe, firefox, flash, player, youtube


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
startx works as root but not as regular user Retne Slackware 14 07-04-2009 07:19 PM
Moving from root to regular user KingOfDreams Linux - General 1 01-14-2005 05:46 AM
CD writing works in root but not for regular user lasindi Linux - Software 5 08-29-2004 12:25 AM
Given regular user root privileges clo99dx Linux - Newbie 6 06-05-2004 05:27 PM
Modem works as root but not as regular user. bmike1 Linux - Software 16 08-30-2003 03:39 AM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration