LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2007, 06:39 PM   #1
nickraj
LQ Newbie
 
Registered: Sep 2006
Location: usa
Posts: 25

Rep: Reputation: 15
xterm from windows


Hi

I am trying to run applets remotely on a linux machine from a windows machine. When i ssh to the linux box and type xtem i get am error as

-bash-3.00$ xterm
xterm Xt error: Can't open display:
xterm: DISPLAY is not set


I works fine if i ssh remotly from a Linux box ?( The file permission is rwx and display is set on the remote machine). If i type echo $DISPLAY ( when sshed through a linux machine) I get a non negative value whereas on Windows it doesn't show any value.

Can anybody help


thanks
 
Old 02-27-2007, 07:47 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Your Windows host must have an X server running on it in order to support any X applications, of which Xterm is one. This begs the question: why do you want an xterm if you already have a SSH terminal? A list of Windows hosted X servers can be found at Kenton Lee's X site
--- rod.
 
Old 02-27-2007, 11:17 PM   #3
nickraj
LQ Newbie
 
Registered: Sep 2006
Location: usa
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by theNbomr
Your Windows host must have an X server running on it in order to support any X applications, of which Xterm is one. This begs the question: why do you want an xterm if you already have a SSH terminal? A list of Windows hosted X servers can be found at Kenton Lee's X site
--- rod.
so can you tell how can i run applet using ssh appletviwer doesnot work . I guess is it because of the file permission
 
Old 02-27-2007, 11:39 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to install an X server on the Windows machine and then enable X forwarding in your SSH client (and in your server config too). Then you'll be able to run graphical applications over SSH. I'm really just repeating what theNbomr said..
 
  


Reply



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
Border Around Xterm Windows alkos333 Slackware 3 01-13-2007 11:28 PM
Is there a good free version of xterm for windows? ginda Linux - Software 1 03-23-2005 06:25 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
Getting Xterm instead of GUI like windows DipeshKhakhkhar Linux - Software 1 10-27-2004 12:13 PM
xterm in windows shyam_d_sundar Linux - Software 2 07-20-2004 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:39 PM.

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
Open Source Consulting | Domain Registration