LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-08-2007, 10:55 AM   #1
brodin
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Remote login with SSH, but display on remote computer.


I am using Putty in Windows XP to login to my Ubuntu "Server". My server is located near my TV and I can use the TV as display. What I would like to do, is to login on my server with SSH and start VLC or a similar program to display video on the Servers local screen (TV). Is that possible?
 
Old 09-08-2007, 11:09 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Yes. Asumming that the video display is :0.0, you could login remotely and then run "display=':0.0" vlc <video-name>".

It may be better if you could set the video output in the vlc configuration file. It may be possible to control it remotely, but you'll need to read the VLC docs for that.

http://download.videolan.org/doc

Last edited by jschiwal; 09-08-2007 at 11:48 AM.
 
Old 09-08-2007, 12:18 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Just do this:
Code:
DISPLAY=:0.0
export DISPLAY
and whatever you run will display on the remote X display.

Dave
 
Old 09-09-2007, 03:01 AM   #4
brodin
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ilikejam View Post
Hi.

Just do this:
Code:
DISPLAY=:0.0
export DISPLAY
and whatever you run will display on the remote X display.

Dave

Thanks, it works! I will probably have to work a little on the X settings. It is not perfect but it works .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
play sound on remote computer through ssh? quarry_06 Linux - Software 7 01-19-2010 07:10 AM
Viewing the display of a remote computer Donboy Linux - Networking 3 11-03-2006 05:16 PM
ssh onto remote computer (issues) tuxhats Linux - Networking 3 06-06-2006 10:11 AM
How to login a remote server from my computer? backpacker Linux - Newbie 2 01-08-2006 09:20 PM
Playing sound on a remote computer over ssh Waldo Linux - Hardware 0 01-20-2005 07:28 AM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration