sloggoo Posted May 5, 2011 Share Posted May 5, 2011 I can run my AutoIt scripts from Cygwin running on the Windows platform, but when I sshed in from a Linux box, the script won't run. For example, when I ran that Hello World example script, no pop-up boxes on my Windows machine. The ssh server runs on Windows. It's openSSH in the cygwin package. The ssh server runs on Linux. I'd appreciate any tips, suggestions... Link to comment Share on other sites More sharing options...
sloggoo Posted May 5, 2011 Author Share Posted May 5, 2011 I have tried setting the DISPLAY variable: export DISPLAY=locahost:0.0 export DISPLAY=:0.0 export DISPLAY=127.0.01:0.0 I also tried changing the environment variable TERM from "xterm" to "cygwin", but none worked... When I tried "xhost +LinuxMachineIPAddress" on the Windows platform, it told me: unable to open display "" Haven't tried xforwarding yet... Link to comment Share on other sites More sharing options...
sloggoo Posted May 5, 2011 Author Share Posted May 5, 2011 I have seen people asking this very question before, but no answers were posted. If this is configuration doesn't work, would putty provide the answer? here's my setup: Linux ------ ssh ------- cygwin on Windows 7 box And am trying to run AutoIt scripts from that ssh session. The command below runs and is apparently waiting for something, but nothing comes up on the Windows screen. ./AutoIt3.exe hello.au3 Link to comment Share on other sites More sharing options...
sloggoo Posted May 6, 2011 Author Share Posted May 6, 2011 so no one has run AutoIt through this configuration? Link to comment Share on other sites More sharing options...
sloggoo Posted June 14, 2011 Author Share Posted June 14, 2011 Just want to let everyone know that I never got this working. Link to comment Share on other sites More sharing options...
duleorlovic Posted July 21, 2011 Share Posted July 21, 2011 It work with help of linux "screen" command. Just open one screen on windows and attach to it from ssh terminal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now