Kangry.com [insert cool graphic here]
home | Topics | Logout | Search | Contact | ?? Kangry ?? | Bandwitdh
Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor

Name

Password

New user

uploaded files
(Mplayer)-> (Parent)->mplayer to local display submited by Russell Tue 28 Oct 08
Web kangry.com
simple trick to make mplayer play a video on the local display even if you are logged in remotly ( or if you are a script)
DISPLAY=:0 mplayer test.avi
Now for this to work you have to previously allowed remote conections the the xserver ( the computers display) to make this work I added this command to my startup scripts (how to do this depends on which desktop you use)
xhost +
That lets any computer that wishes to connecto the xserver, because the computer I use to display video on the TV is behind a lan firewall I don't worry about it, but you should just know that is what this does. There is probably a more secure way to do this, limiting connections to only the localhost (127.0.0.1 ) but I havn't needed to do this.

I found this here



Add comment or question...:
Subject:
Submited by: NOT email address. Leave blank for anonymous    (Spam Policy)

Enter Text: (text must match image for posting)




This file (the script that presented the data, not the data itself) , last modified Tuesday 06th of March 2018 11:41:12 PM
your client: claudebot
current time: Thursday 28th of March 2024 10:27:08 PM