DivX movies only playing as root

Hi,

I cannot play DivX Movies with my Totem-Plugin in Firefox. But it only doesn’t work with my User-Account. When I log in as root, it works without a problem.
I’m assuming that that the problem lies somewhere in a config file that is different between my user account and my root account. However I’m pretty new to Linux so I don’t know where to search.

My System:
OpenSuse 11.4
Firefox 6
Totem Browser-Plugin 2.32 with GStreamer 0.10.32

Thanks!

Why on earth would you log in as root?

Try a new normal user account. What happens?

Check this
MMCHECK - Version 2.35 - Check Your Multimedia in 16 Steps - Bash Script File - Blogs - openSUSE Forums

Why on earth would you log in as root?

I’ve logged in as root to check if it works as root -> it does.

Try a new normal user account. What happens?

When I try to watch a film with Totem-Plugin it streams the film as it should but does not play it. I know that it streams it because i watch the network traffic with IPTraf.

I’ve tried your tool and installed some missing packages but it still doesn’t work. As I’ve already mentioned, I don’t believe that missing packages are the problem. There has to be a difference between my normal user account and the root account. Do you have an idea what the difference could be?

Something is messed up in /home
But what exactly, I don’t know.
What I do know is, this isn’t normal. And running as root is Not the answer (never, ever).

Is /home clean or was it previously used by another distro or install?

I don’t suppose you tried other movie players?
And I guess there is no possible way of us being able to try the movie. Which leads me to the question: Does this happen with all video or just the one you are trying to stream?

Have you considered using the gecko-mediaplayer instead?

Your situation reminded me of this old thread (although not concerned with root vs user privileges).

On 09/04/2011 05:16 AM, NMO13 wrote:
>
>> Why on earth would you log in as root?
> I’ve logged in as root to check if it works as root -> it does.

but the problem is, you new bit of info gives no clue of what is wrong,
or why…and in the process of trying to learn some useless info you
might very well cause more damage (this movie problem might have
been caused the last time you logged into KDE, Gnome or etc as root

you should never log into KDE/Gnome/XFCE or any other *nix-like system’s
graphical user interface desktop environment as root…

doing so 1) opens you up to several different security problems if you
(for example) browse the net, 2) too many too easy ways to damage your
system no matter how careful your actions (for example: well documented
cases of unintended change of ownership of ~/.ICEauthority and
~/.Xauthority from user to root sometimes occurs), 3) anyway logging
into KDE/etc as root is never required to do any and all
administrative duties, 4) and, not even logging in as root just to see
if it works as root is useful, because the “yes” or “no” learned is
almost always totally useless in finding the problem giving the
symptoms. however, logging in as root to learn the yes/no could the
cause of the next adverse symptom encountered.

so, always log in as yourself, and “become root” by using a root powered
application (like YaST, File Manager Superuser Mode) or using “su -”,
sudo, kdesu, or gnomesu in a terminal to launch whatever tool is needed
(like Kwrite to edit a config file)…read more on all that here:

http://tinyurl.com/593e4c
http://tinyurl.com/ydbwssh
http://tinyurl.com/6bo2cqg
http://tinyurl.com/665h5ek
http://tinyurl.com/6ry6yd

additionally: after logging into KDE/Gnome/etc as root, if you
experience problems (for example, with uncommanded file ownership and
permissions changes) and if you can provide us with details of what you
were doing while you were logged in as root, that would help us identify
if there’s a bug that needs to be fixed…thanks for your help…


DD
Caveat

Have you considered using the gecko-mediaplayer instead?

I’ve tried gecko now, but didn’t help.
At first I installed the gecko player -> buffer was caching but movie could not be play. Then i reinstalled Firefox. Now it plays a sound for half a second, but thats all.
I think I will reinstall OpenSuse and hope that it works then.

you should never log into KDE/Gnome/XFCE or any other *nix-like system’s
graphical user interface desktop environment as root…

I did not know. Thank you very much for that info.

additionally: after logging into KDE/Gnome/etc as root, if you
experience problems (for example, with uncommanded file ownership and
permissions changes) and if you can provide us with details of what you
were doing while you were logged in as root, that would help us identify
if there’s a bug that needs to be fixed…thanks for your help…

I would really like to give you more information but unfortunately I can’t because i did nothing in particular and there were no
obvious problems.

I reinstalled OpenSuse now but it still doesn’t work. I’ve found out that I get following error message when i try to play a video with Totem:
“Could not open location; you might not have permission to open the file”.
I’ve googled a bit but didn’t find a solution.
Maybe someone can help me?

I don’t use totem, so don’t know the definitive answer here, except to be aware that there seems to have been widespread bug reports when googling for ‘Could not open location; you might not have permission to open the file totem’ (and similar). For example

Could not open location; you might not have permission to open the file – Totem Movie Player

What version of totem is installed?

Read the advice in this thread:

Totem DVD issues?

This is a likely plugin/codec issue. In particular:

http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/new-user-how-faq-read-only/407184-multi-media-restricted-format-installation-guide.html

http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/new-user-how-faq-read-only/452510-multimedia-checker-mmcheck-check-your-opensuse-multimedia-setup-just-16-steps.html

User jdmcdaniel3 (James) is a guru with this stuff.

Where are the videos located? Are they in your /home dir?

If these are online via firefox. Give us a url if that is possible.

I’ve tried a lot now.
I used mmcheck, installed all necessary codecs but nothing seems to work.

What version of totem is installed?

2.32.0

If these are online via firefox. Give us a url if that is possible.

Here is a link to a movie that doesn’t work.
Watch - online | MovShare - Reliable video hosting

I would try the VLC Media Plugin but i can’t get it running. In Firefox -> Add-ons -> Plugins there is a plugin called “VLC Multimedia Plugin (compatible Totem 2.32.0)”. It is enabled, nevertheless movies are played by Totem.

Seems to work here

SUSE Paste

On 09/09/2011 09:06 PM, NMO13 wrote:
>
> ‘Watch - online | MovShare - Reliable video hosting’
> (http://www.movshare.net/video/2054bcc6458f7)

using soft/hardware noted below it works fine here, no root needed…


DD
Caveat-Hardware-Software-
openSUSE®, the “German Automobiles” of operating systems

try install opera and see if you can play it
maybe issue is with firefox adds

try install opera and see if you can play it
maybe issue is with firefox adds

That’s a good idea. I tried it with Chrome and Opera. Opera doesn’t play the movie but Chrome does. Chrome uses the Totem Plugin as my Firefox installation does. With Chrome I don’t get the error that the location couldn’t be opened hence I think that it is an issue with Firefox. I hope that this bug gets fixed sometime.

Nevertheless thank you for your help!