This is incorrect, your ssh client sets the display for you.  It does everything 
automatically.  
Look through the settings and place a check mark to accomplish this.

Good luck

-----Original Message-----
From:   Carl J. Nobile [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, June 27, 2000 1:39 AM
To:      (Hannes Kurth) [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        RE: ssh and x-apps

Hi Hannes,

The easiest way is to run, on your local host:

$ xhost + your.remotehost.com

Then on your remote host be sure the DISPLAY environment variable is set
to your local host. You can usually check by echoing like this:

$ echo $DISPLAY

If it isn't there then you can find your local host name, on your remote
host, by using the who command.

$ who
or 
$ who -l

Then set the DISPLAY variable like this:

$ DISPLAY=your.localhost.com:0.0

For some reason setting it to anything else doesn't seem to work even
though SSH1 defaults to :10

Carl

On 25-Jun-00 Hannes Kurth wrote:
> hi
> how can i start x-applications via ssh2? he tells me cannot open
> display
> athlon(the server):11.0
> 
> hannes

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 26-Jun-00                             Phone: 315-453-2912 Ex. 5336
Time: 15:38:30                                Fax: 315-479-0859

Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY  13202
------------------------------------------------------------------------

Reply via email to