Next, you can remote into your server via ssh with -X or -Y option:
$ ssh username@server_ip -X
To verify that you have X11 forwarding, simply examine $DISPLAY variable while you are remotely logged in:
$ echo $DISPLAY
localhost:10.0
By the way, some Linux servers may not have X11 forwarding feature disabled by default. In this case, you must enable it by editing /etc/ssh/sshd_config file:
X11Forwarding yes
Enjoy Mac Life!
No comments:
Post a Comment