News for hackers. Stuff that matters.
Re:Google Hangouts adds remote desktop support by zanny on Wednesday June 26, 2013 @02:13PM (#5947834)
Not X11, any app can see or manipulate any other apps screen buffer. It is one reason Wayland is nice.

If your system has MAC you can restrict its file access, but in general you have library support for this stuff built in.

It is also why in most cases it is a PITA to stream 3d rendered screens. Opengl / directX don't provide easy ways like X11 to look at a completed framebuffer and store / broadcast it.

Re:Google Hangouts adds remote desktop support by dman on Wednesday June 26, 2013 @02:36PM (#5948046)
In OpenGL this is fairly easy using FBO's - http://www.songho.ca/opengl/gl_fbo.html . I have never used DirectX but I would be surprised if it did not allow you to read the framebuffer.
Re:Google Hangouts adds remote desktop support by Zergy on Wednesday June 26, 2013 @04:32PM (#5948811)
It does. That is how a lot of bots and other cheats are made.
Re:Google Hangouts adds remote desktop support by ajross on Wednesday June 26, 2013 @03:01PM (#5948211)
Wayland doesn't provide meaningful security for that case. It's true that there's no protocol support for arbitrary buffer access, but if you're running as the same user (as is the case here) it's comparatively trivial to dup the drm file descriptor and remap the buffers. You may need to be able to guess (or just probe for) the handles though, I'm not sure.
Re:Google Hangouts adds remote desktop support by 15charusername on Wednesday June 26, 2013 @07:40PM (#5949833)
Wayland alone might not, but MAC can limit access to file descriptors