

ssh -X X11 Forward to your remote host (See “man ssh” for the use of the -X or -Y flag X11 forward): ssh -X Start your remote X11 program and view the user display on your local machine: xeyes & See “man ssh”, “man ssh_config” and “man sshd_config” for the complete explanation.ģ Simple Steps to X11 Forward on Mac OS XĢ.

The SSH daemon should run on the remote machine as well! Start or restart the Remote Login (SSH) Service under System Preference / Sharing pane on Mac OS X. In Mac OS X on X11 Quartz check the authorization and client access options under Preferences in the Security pane.Įnable X11 Forwarding with the “X11Forwarding yes” option set in “/private/etc/sshd_config” for your SSH Daemon own local X11 host in order to recieve X11 client request back from the remote machine through ‘ ssh‘ with the -X option set.

X11 environments on both the local and remote machine (see man X). THIS ARTICLE HAS BEEN REWRITTEN (Manual set of the $DISPLAY variable is insecure!) This is possible on Mac OS X with X11 Forwarding. Apple Remote Desktop (ARD) or VNC is a wonderful invention if you want full control over a remote desktop, but what if you only want to access the user display of one single X11 program on a remote machine?
