LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2009, 01:12 PM   #1
dormant
LQ Newbie
 
Registered: May 2003
Posts: 18

Rep: Reputation: 0
Controlling the screen on a remote machine


I've tried searching for this, but can't find anything. Please forgive me if I didn't know where to look.

I want to be able to ssh to a remote linux machine that has a screen but not necessarily a keyboard. I then want to run software, preferably perl or bash scripts, that can write to this screen.

I'm not sure yet if I want a simple 80x25 text screen or an graphics (X11?) screen, so would welcome suggestions for both options.

I don't think using remote desktop is the solution. I want to be able to run the software from the ssh prompt, or in the background, or even as a cron job.

My application would basically be a clock that can be interrupted to display a message that has been sent to it, or detected on an RSS feed.
 
Old 07-25-2009, 06:08 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by dormant View Post
I don't think using remote desktop is the solution. I want to be able to run the software from the ssh prompt, or in the background, or even as a cron job.

My application would basically be a clock that can be interrupted to display a message that has been sent to it, or detected on an RSS feed.
One option is to connect trough ssh using X11 forwarding. You can do that by issuing
Code:
ssh -X user@host
in this way the display is set to your local machine, so that you can launch graphical application from the command line and see them displayed on your terminal. This works if the remote server let X11 forwarding (there is an option in the /etc/ssh/sshd_config file).

You can launch the software in background, but take in mind that if you disconnect (that is exit from the ssh session) the display is lost and your application can be killed or stopped.
 
  


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
controlling mythbox from a remote device jkzfixme Linux - General 3 07-21-2008 09:13 PM
Controlling Xfce with a IR remote Stefan J Linux - Newbie 2 05-04-2008 11:54 AM
Controlling Konqueror with LIRC-Remote lagu2653 Linux - General 1 03-31-2006 11:12 AM
Controlling remote acces SSH Wimpie22 Linux - Security 9 07-27-2005 05:33 PM
remote controlling linux pc fred22 Linux - Networking 2 01-10-2005 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration