Server Fault is a question and answer site for system and network administrators. 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

I have a server with VLC installed and a graphics card.

I have access to the server in person and can play videos while logged in locally, but I want to able to launch a VLC instance remotely through SSH and have it run on the server and output everything on the server as well.

Audio is no problem as that by default uses the localhost audio server, but the video wants to pipe itself over ssh to my console, I want to be able to run this video out to the local screen connected to the server.

share|improve this question
I may be missing something here, but why are you watching videos on a server? – cop1152 Aug 21 '09 at 12:48
just a general how do I do this, also because I want to be able to control my TV both from the console and the remote – Botto Aug 21 '09 at 16:55
up vote 1 down vote accepted

Set your DISPLAY variable to the correct local XServer. ie. Make it the same as the local session

share|improve this answer

In bash:

export DISPLAY=:0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.