Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Allow me to elaborate some.

My grandmother is not the most competent woman with a computer but she likes to have access to the movies I have on an external hard drive.

I'd like to hook up a computer that has a graphical environment (ArchLinux-XFCE) up to her television via HDMI. Is there anyway I can log in via SSH and queue up a video so it would play in the graphical environment without her having to do anything other than flip the TV to HDMI input and tell me which movie to queue?

share|improve this question

migrated from Oct 5 '12 at 13:39

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Sure you can! Just set the DISPLAY environment variable to :0 that every graphical command you make will be sent to the first open display (assuming that the TTY user and the graphical user are the same).

DISPLAY=":0" mplayer Movies/movie.ogv
share|improve this answer
you will also have to XAUTHORITY=/home/user/.Xauthority – sylvain.joyeux Oct 5 '12 at 5:51
@sylvain.joyeux On my tests it wasn't necessary. Can you point me to a resource? – Renato Zannon Oct 5 '12 at 10:16
thank you. That is exactly what I was looking for. – Matthew.Paul.P Oct 9 '12 at 13:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .