Article 6PN3F VLC (to HDMI output) works from console, but not through ssh

VLC (to HDMI output) works from console, but not through ssh

by
asarangan
from LinuxQuestions.org on (#6PN3F)
I am running aarch64-current on a Raspberry pi 3B for the sole purpose of looping a movie on a TV screen attached to its HDMI output. I have compiled VLC from source. Everything works fine when I invoke VLC manually after logging in from the console, such as
Code:vlc --full-screen --loop myvideo.mp4But, having to go to the physical console, and plugging in a keyboard every time after reboot is a pain. I would like VLC to start automatically. I tried placing the same command in rc.local, but that produced nothing. I also tried logging in remotely via ssh, and then running the vlc command (with DISPLAY=:0.0), but that also did not produce any video output. Obviously the system works because I can play from the console, so this must be related to some permission issues related to the HDMI port. Any thoughts would be appreciated.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments