free hit counter

Monday, March 24, 2008

exported display over ssh

It took me a couple tries to get this right.
Make sure SSH to remote machine is working.

On remote machine:
make sure
cat /etc/ssh/sshd_config | grep X11Forwarding

X11Forwarding yes

On terminal computer start a cygwin shell:

export DISPLAY=localhost:0.0
startx &
ssh -Y hostname

From there xterm& should work like a charm


Post a Comment

<< Home