Posted By

noah on 03/29/11


Tagged

remote cool Shell Bash mac osx gui howto x x11 sysadmin selenium xwindows


Versions (?)

Start an XWindows session on Mac OSX


 / Published in: Bash
 

URL: http://dyhr.com/2009/09/05/how-to-enable-x11-forwarding-with-ssh-on-mac-os-x-leopard/

The key is to give your SSH client the -Y option, which enables X11 forwarding. Without that, the magic won't work.

Run these commands on Mac, from the X11 Shell.

  1. ssh -Y me@example.com
  2.  
  3. # then, after connecting to the remote host:
  4.  
  5. xclock &
  6.  
  7. # or, to start Selenium RC on CentOS 3.5
  8.  
  9. selenium-rc -forcedBrowserModeRestOfLine *firefox /usr/lib64/firefox-3.6/firefox

Report this snippet  

You need to login to post a comment.