Let’s suppose we are using a computer A which is a laptop and we are lying in bed and for some reason we want to watch a video on another computer B which is our desktop and is located elsewhere and is only accessible via ssh. How can we watch a video (in this case in full screen) on the computer B? Once connected via ssh we run:
1
$ DISPLAY=:0 mplayer -fs video
Enjoy! ;)