Linux version of screen sharing code