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'm trying to design a digital signage system and I've hit a stumbling block. I've installed Xorg to run the graphical signage app. By default the server shows the X server on the main display (as intended), however I was wondering if it is possible to log in via SSH and then run a command (start-xibo.sh for arguments sake) and have this run the program on the X display?

share|improve this question
    
Can you clarify, do you want your app to run locally to the box you ssh'ed into? Or remotely on the box you ssh'ed FROM? –  polynomial Sep 2 '11 at 18:00
    

2 Answers 2

up vote 3 down vote accepted

Please update the question for clarity, from reading this it sounds like you are trying to run a graphical app and have it appear on the X server running locally on the box you ssh'ed into. If that is the case you need to set the DISPLAY variable, you can get more information about that here:

http://www.cisl.ucar.edu/docs/ssh/guide/node29.html

http://support.objectplanet.com/esupport/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=17

share|improve this answer
    
Thats exactly what I wanted. Cheers –  Brad Morris Sep 4 '11 at 9:44

If you are using OpenSSH client, connect like this:

ssh user@host -X

Then run you X program. It should appear at your local machine.

P.S. There can be some trouble with Xauthority. I can't remember at the moment but if you get it - leave a comment.

share|improve this answer
1  
The 'xauth' program must be installed on the remote host and ~user/.Xauthority must be writeable by the user. –  daff Sep 2 '11 at 17:59

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.