MPlayer fails playing movies. Not properly installed?
Hi: I have just installed mplayer with the command
Code:
apt-get install mplayer Code:
root@debian:/sd# mplayer Logan\'s\ Run.mp4 |
Can you try as a non-root user?
|
Unbelievable! As a regular user it plays fine! Thanks a lot. And why this restriction?
|
root does not have the correct terminal assigned. It cannot start a GUI application.
jlinkels |
However I can start X as root if I like. I just type 'startx'. That seems to me kind of an artificial restriction imposed by the developers.
|
No it's not. StartX is executed by root, but that is the X server. Your DE runs with your credentials. When you log in, you get a graphical terminal assigned. Root does not. It is fairly easy to set an environment variable in your root shell to get a graphical terminal assigned.
jlinkels |
You can startx as root, but you can't log in to the gui as root.
|
All times are GMT -5. The time now is 01:48 PM. |