It's a lot easier then I thought:
On the ssh server(which runs X-Client):
edit /etc/ssh/sshd_config
uncomment "#X11Forwarding no"
and modify it as "X11Forwarding yes"
On the ssh client(which has X-Server running)
edit /etc/ssh/ssh_config
uncomment "#ForwardX11 no"
and modify it as "ForwardX11 yes"
Or simply add "-X" argument when connecting to server.
If it success, after login to server, type
$ export | grep DISPLAY
you should see something like
declare -x DISPLAY="localhost:10.0"
Subscribe to:
Post Comments (Atom)
1 comment:
這個網誌的帳號取的超讚!
Post a Comment