Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
when i try to run gmplayer as user i get the following errors:
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/jeff/.mplayer/config
[cfg] read config file: /home/jeff/.mplayer/gui.conf
Reading config file /home/jeff/.mplayer/gui.conf: No such file or directory
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:0.0)!
MPlayer GUI requires X11.
Reading /home/jeff/.mplayer/codecs.conf: Can't open '/home/jeff/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Howerer when i run it as root it works fine. Also normal mplayer works fine as user. And I compiled it as user not root.
Last edited by Stan the caddy; 09-20-2004 at 01:50 PM.
What version of Mplayer did you install? Also, have you added yourself to the video group?
usermod $USERNAME -g $GROUP -G video
Change $USERNAME for your username and $GROUP for the group you're in (usually that will be users) and add any other groups you want to be part of at the endin a comma separated list video,audio . Check it worked with the command
For more info check man usermod
Also, have you tried chowning the mplayer so it's owned by root and if that doesn't work, try setting the sticky bit so it runs as though it is being run by root
chmod +s /path/to/mplayer
Last edited by Andrew Benton; 09-20-2004 at 02:56 PM.
Originally posted by Stan the caddy The version of MPlayer I installed was 1.0pre5.
I tryed the usermod thing and i got command errors, when i checked my /etc/group file videos wasnt listed as a group.
When you say:
chmod +s /path/to/mplayer
what path do you mean? when i compiled MPlayer is seemed to put stuff everywhere. I tryed that with the MPlayer directory i compiled everything from and got chown: too few arguments.
Type 'which mplayer' and 'whereis mplayer' in a terminal of your choice e.g. Gnome Terminal or Konsole, you'll get the '/path/to/mplayer' soon enough. BTW which distro are you using?