Hi,
I used this line in my crontab file for almost a year without any problems, but a few days ago it stoped displaying video
0 6 * * * mplayer -fs videopath.mp4 -display :0 > /home/myuser/cron.log 2>&1
It is playing in the background since I can hear the audio.
MPlayer SVN-r37901-4.8 (C) 2000-2016 MPlayer Team
Terminal type `unknown' is not defined.
Playing videopath.mp4.
libavformat version 57.52.100 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb4d5da0e0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 640x368 24bpp 29.970 fps 1002.6 kbps (122.4 kbyte/s)
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
VO XOverlay need a subdriver
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
Can't open /dev/fb0: Permission denied
[fbdev2] Can't open /dev/fb0: Permission denied
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
VO: [v4l2] No such file or directory
No vidix driver name provided, probing available ones (-v option for details)!
No protocol specified
vo: couldn't open the X11 display (:0)!
vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)!
[cyberblade] Error occurred during pci scan: Operation not permitted
[mach64] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[nvidia_vid] Error occurred during pci scan: Operation not permitted
[pm3] Error occurred during pci scan: Operation not permitted
[radeon] Error occurred during pci scan: Operation not permitted
[rage128] Error occurred during pci scan: Operation not permitted
[s3_vid] Error occurred during pci scan: Operation not permitted
[SiS] Error occurred during pci scan: Operation not permitted
[unichrome] Error occurred during pci scan: Operation not permitted
I googled it, and sincerely I didn’t understand much of the suggestions. I get scare whenever the Xorg server and permitions are implicated.
Please, help me find out what I should change to get it working again.