10.5: An alias to ease screen captures of remote Macs

Given what I do for Macworld, I take a lot of screenshots. Sometimes I need to take those shots remotely — for instance, to grab a screnshot of the login window, you must connect to a logged-out Mac via ssh, soon after use the screencapture command, as described in this older hint.

With 10.5, though, the rules have changed, as described in the man

pages for screencapture:

To capture screen substance while logged in via ssh, you must launch screencapture in the same mach bootstrap hierarchy as loginwindow:

      PID=pid of loginwindow
      sudo launchctl bsexec $PID screencapture [options]

So to take a screen capture, you need to first get the PID of the login…

Original post by Erica Sadun

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
Related Articles
  • Samsung’s SCH-U740 has an Alias
  • Samsung Alias Sneak Peek
  • Turn simple Screen Sharing in to Apple Remote Desktop (nearly)
  • Army Adds Macs To Improve Security
  • ZAP Alias three-wheeled electric car can travel faster than a Porsche!
  • 10.5: Fix a non-scaling screen sharing issue
  • Remote Disk
  • Universal Remote Concept
  • Alliance Aims To Welcome Macs into Enterprises
  • Hands-on: iTunes Remote App
  • No comments yet. Be the first.

    Leave a reply