LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   X Dual Screen Question (https://www.linuxquestions.org/questions/linux-general-1/x-dual-screen-question-294770/)

king_dan 02-25-2005 11:36 AM

X Dual Screen Question
 
Hey folks,
I want to make a Linux media centre, which will play DVD’s and video files. If I have an X windows session set up to run on my TV is it possible to run an application on that session from within a SSH terminal? i.e. so I can play movies on the TV remotely.

Thanks

Dan

edgood1 02-28-2005 08:46 AM

I'm a little confused by the question... but i tihnk i see what you're asking...

you have 2 displays (dual head or 2 vid cards, doesn't matter)... and you want to control one from the other.

you have a monitor with display :0.0
and a tv with display :0.1

open a bash shell on :0.0 and type

bash$ export DISPLAY=:0.1


this sets the environmental DISPLAY varible to the TV... any apps you run from this shell should open on that display.

If this isn't what your asking let me know...

king_dan 02-28-2005 10:39 AM

Hi,

That's excellent thanks, yet another seemingly complicated procedure simplified by a quick line of code!

Dan


All times are GMT -5. The time now is 06:50 PM.