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

Re: Help running remote X app



On Mon, 2003-06-16 at 22:27, Glenn Davy wrote:

> glenn@odin:~$ ssh -X thinkpad
> glenn@thinkpad's password:
> Login stuff bla bla bla
> glenn@thinkpad:~$ export DISPLAY=odin:0
> glenn@thinkpad:~$ xterm
> xterm Xt error: Can't open display: odin:0
> glenn@thinkpad:~$

To get it to work over ssh you need to enable X forwarding.

Edit /etc/ssh/sshd_config on the machine you want to connect to and set
X11Forwarding to yes.

Then restart ssh and you should be able to connect with ssh -X.

Hope that helps,
Bijan




Reply to: