Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
add comment

2 Answers

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
add comment

In bash:

export DISPLAY=:0

share|improve this answer
add comment

Your Answer

 
discard

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.