Trying to start a remote shell from a system to another. sparhawk = SuSE 9.2, sles = gentoo rikjoh@sparhawk:~> ssh -X rikjoh@sles Password: Last login: Thu Sep 15 22:25:58 2005 rikjoh@sles ~ $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set rikjoh@sles ~ $ export DISPLAY=192.168.1.3:0 rikjoh@sles ~ $ xterm xterm Xt error: Can't open display: 192.168.1.3:0 rikjoh@sles ~ $ What am i doing wrong? If i ssh -X talen (talen being a SuSE 9.2 box) it works as expected. -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikard.j@rikjoh.com Web : http://www.rikjoh.com Mob : +46 (0)763 19 76 25 PGP : 0x461CEE56 ---------------------------------------------------------------
On Thursday 15 September 2005 21.44, Rikard Johnels wrote:
Trying to start a remote shell from a system to another.
sparhawk = SuSE 9.2, sles = gentoo
rikjoh@sparhawk:~> ssh -X rikjoh@sles Password: Last login: Thu Sep 15 22:25:58 2005 rikjoh@sles ~ $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set rikjoh@sles ~ $ export DISPLAY=192.168.1.3:0 rikjoh@sles ~ $ xterm xterm Xt error: Can't open display: 192.168.1.3:0 rikjoh@sles ~ $
What am i doing wrong? If i ssh -X talen (talen being a SuSE 9.2 box) it works as expected.
--
Found it myself (after some googling with the RIGHT search string) Forgot to set "X11Forwarding yes" in /etc/ssh/sshd_config Now all's well! -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikard.j@rikjoh.com Web : http://www.rikjoh.com Mob : +46 (0)763 19 76 25 PGP : 0x461CEE56 ---------------------------------------------------------------
participants (1)
-
Rikard Johnels