-
garrett
-
RE: ssh X11 forward problem after reinstall
-
Based on what you wrote, you're trying to start a program on your local machine and have a program window show up on a remote computer. In order to do that, you have to allow external X11 connections on your remote system, you can use
on remote shell:> xhost + (will allow all hosts to connect)
or remote shell:> xhost (name of local system, must resolve correctly)
then on your local system, run
local shell:> export DISPLAY=`who am i | sed 's/.*(\(.*\)).*/\1/'`
after this, you should be able to run
local shell:> xterm
and it should pop up on your remote system.
-
14 May 09
Based on what you wrote, you're trying to start a program on your local machine and have a program window show up on a remote computer. In order to do that, you have to allow external X11 connections on your remote system, you can use
on remote shell:> xhost + (will allow all hosts to connect)
or remote shell:> xhost (name of local system, must resolve correctly)
then on your local system, run
local shell:> export DISPLAY=`who am i | sed 's/.*(\(.*\)).*/\1/'`
after this, you should be able to run
local shell:> xterm
and it should pop up on your remote system.