1

I have Windows server in virtual machine (Amazon EC2).

I have Java Script that run on Chrome extension.

When I disconnect my virtual machine, my JavaScript stop running.

Is there any way to keep the Windows alive while I disconnected to it?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Amir Brand
  • 313
  • 1
  • 3
  • 14
  • What do you mean by "disconnect"? How are you connecting to the EC2 instance and how are you "disconnecting"? Also, are you saying that you have logged into the EC2 instance, started a Chrome browser and started an extension, and you wish to keep the extension running? – John Rotenstein Nov 19 '19 at 21:50
  • I connect to my VM by Remote Desktop and by mRemote. "Disconnect" = Close Remote Desktop or click on "disconnect" on my machine in mRemote. I wish to keep my extention running as long as the machine alive. Do I wrong? – Amir Brand Nov 20 '19 at 20:56

2 Answers2

0

Not sure how come chrome knows that the user is disconnected, but if thats the cause.

You can rdp from the remote session to localhost (to another user of course), then open chrome in that inner session, keep the inner session connected when you disconnect from the external session.

Sam Washington
  • 626
  • 4
  • 12
0

Not sure if someone still wants to know but like RedSkull, here I am to guide the path to a roundabout solution. After spending the entire day on the problem, scraping through the different solutions and adding bit-by-bit. Here's the detailed explanation: https://stackoverflow.com/a/72798188/12743648


it's original problem : Can the GUI of an RDP session remain active after disconnect

oshin pojta
  • 89
  • 1
  • 6