Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-14-2003, 04:26 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 7

Rep: Reputation: 0
Opening an X program from ssh command line

I'm needing to open an X program (VNC) remotely via a ssh session. I have KDE open in tty1 and I am wondering if there is a way I can direct the command to run in the KDE session? Would redirecting it to tty1 do the job and if so how do I do that? Right now when I try to run it I get a Error: Can't open display. Obviously this is because I have no display open in the current terminal. Any help is greatly appreciated.
Old 02-14-2003, 04:30 PM   #2
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Try this:

xcalc -display :0
Old 02-14-2003, 04:33 PM   #3
LQ Newbie
Registered: Feb 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I think that's exactly what I needed. Thanks.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you specift password on SSH command line? The_JinJ Linux - Newbie 4 07-26-2005 05:55 AM
opening a gui program through ssh snumpy Linux - Newbie 7 02-07-2005 11:20 PM
How to register a program for command line?? wepakis Linux - Software 8 11-13-2004 02:07 AM
kill program command line demmylls Linux - General 7 02-09-2004 08:55 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 08:19 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:47 PM.

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