Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bLAZY

macrumors newbie
Original poster
Jul 19, 2012
2
0
Hi everybody,

Could you tell me how to capture screen via ssh from remote computer in local network? Then I'd like to not leave that file on destination Mac but send it to that remote computer ( with Linux OS).

Here is something like I'd like: https://forums.macrumors.com/threads/307792/
But I found some information that it has changed in newest MacOS and it seems like it should be something like this: http://my-domain.se/screencapture-in-mac-os-x-from-a-ssh-session-or-launchd-jobs/ or here: http://hints.macworld.com/article.php?story=20071220052216569

Could someone put it together? I'm not familiar with MacOS and not totally with bash scripts but hope we can deal with it together :)
And one more thing, what if I don't have root password, but I want capture screens of user which password I know and I log with it via ssh. Is it still possible?
 
Re permissions, you can only get access to the screen if you are either:

a) root (or have sudo privs)
b) the same user that is logged into the GUI.

No way around it.
 
Ok. I dealed with it. I have this situation: b) the same user that is logged into the GUI. So it was finally not a big problem. I needed additionally turn on public key beacause every loop it asked for password.
Thanks :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.