[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prob running remote X app

On Tuesday June 17, 2003 at 07:14
Glenn Davy <vmstech@tpg.com.au> wrote:

> glenn@odin:~$ echo $DISPLAY
> :0.0
> glenn@odin:~$ xhost +
> access control disabled, clients can connect from any host
> glenn@odin:~$ ssh thinkpad
> glenn@thinkpad's password:
> Linux thinkpad.valhalla 2.4.20 ...bla..etc..
> Last login: Tue Jun 17 07:01:56 2003 from odin.valahlla
> glenn@thinkpad:~$ export DISPLAY=odin:0

Since you're using ssh, you might as well enable X11 Forwarding. Then it
automatically sets up the DISPLAY var, and tunnels X traffic through the
encrypted channel.

> glenn@thinkpad:~$ xterm
> glenn@thinkpad:~$ xterm Xt error: Can't open display: odin:0

Is odin in /etc/hosts (or dns) on thinkpad? Is it resovling?

> TIA for _any_ help
> Glenn

You have to enable X11 Forwarding with both the client and the server.
Server side:
  X11Forwarding yes

Client side:
  ForwardX11 yes

Hope that helps
-johann koenig
now playing: 2 Skinnee J's - The Good, The Bad & The Skinnee
Today is Boomtime, the 21st day of Confusion in the YOLD 3169

Reply to: