Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to connect to Windows 7 remotely from script (run from Linux) and be able to execute GUI commands (i.e. command that access the display device). What is the easiest way of achiving it (I tried cygwin+openssh but it is in session 0).

share|improve this question
What do you mean by 'GUI Commands'? Run a program which interacts with other GUI programs? Send keypresses to other GUI programs? Move the mouse? – Darth Android Jun 18 '12 at 17:47
@DarthAndroid: Program accessing display devices (for example - opens a window). – Maciej Piechotka Jun 18 '12 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.