I have Windows XP with browsershots installed on it, which is used to generate automatic screenshots from different webpages. Additionally I've installed there cygwin with sshd and enabled option "Allow service to interact with desktop" for remote access.
From time, to time I change some portion of code, then I want to remotely update and restart factory. While I restart factory directly from Windows XP, it works without problems. When I connect via ssh, and restart factory
cygstart script.bat, it works until it receive request for screenshots. Then, I've got:
win32api.ClipCursor((x-1,y-1,x+1,y+1)) error: (5, 'ClipCursor', 'Access is denied.')
I think, that problem exists in my permissions, but I cannot find solution. Folder with script have privileges:
Administrator - allow all Administrators -- allow all Everyone -- allow all None -- allow all SYSTEM -- allow all Users -- allow all
Folder with Python2.7
Folder with cygwin
I don't know how to configure permissions to allow remote user to run this script without "Access is denied".