Setup your DISPLAY environment variable.
export DISPLAY=:0
Then run mplayer.
Also, it may be necessary to do a 'xhost localhost' to allow X clients
access to the X server.
-Naren
On Fri, 21 Sep 2001, Ajitabh Pandey wrote:
> Hi,
> While running mplayer in Linux I get the following message. What could be the
>possible cause.
> ----------------------<snip>-----------------------------------------------
> MPlayer CVS-010909-10:06(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)
>
> Reading /home/ajitabhpandey/.mplayer/codecs.conf: 17 audio & 36 video codecs
> font: can't open file: /home/ajitabhpandey/.mplayer/font/font.desc
> font: can't open file: /usr/local/share/mplayer/font/font.desc
> Playing /mnt/wine/Video/11MegaFilms/avseq01.dat
> Detected MPEG-PS file format!
> mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
> libmpeg2: Using MMX for IDCT transform
> libmpeg2: Using MMX for motion compensation
> VIDEO: MPEG1 352x288 (aspect 8) 25.00 fps 1400.0 kbps (175.0 kbyte/s)
> [V] filefmt:2 fourcc:0x10000001 size:352x288 fps:25.00 ftime:=0.0400
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> mp3lib: Processor ID: 660
> mp3lib: Using Pentium-MMX optimized decore.
> AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 28000->176400
> Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
> VO: [xv] 352x288 => 352x288 Planar YV12
> vo: couldn't open the X11 display (:0.0)!
>
> Exiting... (End of file)
> ---------------------</snip>-----------------------------------------
> Regards.
> Ajitabh Pandey
> --
> :
> ####[ Linux One Stanza Tip (LOST) ]###########################
>
> Sub : CSH Scripts :( LOST #072
>
> Wondering why the pundits say that CSH scripts are considered
> HARMFUL ? Although "tcsh" has improved on "csh" there are many
> issues still to be tackled. For the full scoop, read:
> http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
>
> ####<[EMAIL PROTECTED]>################################
> :
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help