LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-23-2005, 04:25 AM   #1
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
starting graphic apps from ssh


Hi,
I can't remember how to do this.... If I use ssh to access my server, how can I start a graphic app? It dies because it doesn't know what display to use. I remember doing this once ages ago and think maybe xhost and/or DISPLAY is involved but can't remember and, so far, can't find the information on the net.

Any help is appreciated.

Craig
 
Old 09-23-2005, 04:44 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
On the host make sure X11Forwarding is set to yes in sshd_config, when you connect from the client make sure you have an X server running and supply an "-X" arguement to your ssh command
 
Old 09-23-2005, 05:00 AM   #3
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the reply, but I guess I wasn't clear. I don't want to display the app on the client. I just want to start it up and have it run (and display) on the server.

I have a problem with one app that sometimes crashes itself. When I am logged in via ssh I can see if it is up or down. If it is down, I want to restart it, but I don't need to display it locally.
 
  


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
Graphic SSH Client in Linux chinaundead Linux - Newbie 23 01-30-2012 02:27 AM
looking for graphic interface software like ssh pkuer Suse/Novell 6 10-28-2005 06:47 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 01:49 PM
Apps not starting pimver Linux - Software 3 04-07-2004 03:01 PM
starting X apps Syncrm Linux - General 3 02-06-2002 03:31 PM


All times are GMT -5. The time now is 03:25 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