Python Forum
Possible to RDP onto a remote machine?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible to RDP onto a remote machine?
#1
Hi,

Struggling to find any help with this online.

For a bit of background, I'm deploying server instances on AWS via a Python script.  Thing is, when the machine first gets built, it needs a user to manually log in so that it 'warms up'.  The application won't work until the user has logged in.

Ideally, it would be great if I could do this using Python.  Is that possible?

Cheers,
J
Reply
#2
The server needs you to login, or the app does?  AWS is designed to be automated, so I'd be surprised if this isn't already a solved issue.
Reply
#3
The application needs it.  The services don't start until the first time you physically log into the box.  AWS unfortunately only offers an RDP client and not an API.
Reply
#4
Have you taken a look at Python RDP modules?
https://pypi.python.org/pypi/rdp
https://pypi.python.org/pypi/rdpy
Reply
#5
Hi mate,

Sorry for late reply.  Fell ill with the flu for an entire week and have been awk.

Many thanks for those!  I'll be having a look at those tomorrow and update you as to how I get on.  Really appreciate that.

Cheers,
J
Reply
#6
I've had a look and not quite sure I understand the first link.

However, the second looks promising but I forgot to mention, my project is in v 3.6.3 and that was for v2.7.

Do you know if I can just install it under the 3.6.3 directory and it should work?  I'm new to Python so still getting my head around things.

Cheers,
J
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote control a machine via OS module dindibo4 3 4,095 Dec-15-2018, 06:10 PM
Last Post: Gribouillis
  help need with running python script on remote windows machine onenessboy 2 11,102 Dec-14-2018, 03:02 PM
Last Post: onenessboy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020