Hi again.

>I need to launch on a Win remote machine a .bat script (that run an .exe
file)
>from another linux machine.

I've not found any way to launch a .bat script using rdesktop, because it
open a graphical remote desktop session.
I don't need that and it does not work as i espected.

So, i'm considering cygwin.
I've installed cygwin on a test remote win machine, and install sshd.
Now, i can run a script  using ssh:

ssh user@<win_ip> "cmd /c <path_to_my_script>"

Because of it's a test machine, i'm temporary not able to check if the
correct script work.
Anyway, my test script do:
- create a file;
- launch calc.exe;

The result:
- file was created on win machine;
- on task bar i see the calc.exe process, but i'm not able to see anything
on win machine.

I suppose that it's working a kind of X redirection.... but it could be
possible to disable this kind of redirection? And open a graphical
application remotely?
Surely i will not need to launch a graphical application, but now i'd like
to understand better.
Any suggests?

Thanks!

Reply via email to