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 Wednesday 03rd of December 2014 09:40:39 AM
your client: CCBot/2.0 (http://commoncrawl.org/faq/)
current time: Friday 28th of April 2017 09:57:53 AM