Python Forum
VMware View - Session opened/closed?
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VMware View - Session opened/closed?
#1
Hello,

is there a possibility to let my Python program know whether a session with the virtual machine is opened or closed?

Situation:

VMWare View is installed on a Raspberry PI.
The goal is to shutdown the Raspberry PI when the user kills the virtual machine.

My idea is to write a small python script which asks whether the session is still opened oder not every few seconds.
If it realizes that the session has been closed, it uses something like "os.system("shutdown now -h")" and that´s it.

I was very grateful if anyone has any idea how i can work on my problem or where i might want to have a look at.

hhh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  .xlsm file can't be opened after writing data to one worksheet mhyatt 4 885 Oct-11-2025, 11:25 PM
Last Post: Pedroski55
  Python automation: Sending clicks/keys to VMware virtual machine from host olips784 0 1,327 May-18-2025, 06:28 PM
Last Post: olips784
  asyncio: WebSocketClient:connection closed (ERR): sent 1011 Michel777 0 1,235 Feb-04-2025, 09:22 PM
Last Post: Michel777
  How to umount on a closed distro ebolisa 5 2,126 Jan-03-2025, 03:50 AM
Last Post: DeaD_EyE
  A question about 'Event loop is closed' fc5igm 3 9,335 Oct-01-2024, 09:12 AM
Last Post: skdaro
  [closed] check whether an integer is 32 or 64 bits paul18fr 4 8,908 May-27-2024, 04:55 PM
Last Post: deanhystad
  does not save in other path than opened files before icode 3 5,416 Jun-23-2023, 07:25 PM
Last Post: snippsat
Question How to get html information from a tab of my default browser opened with webbrowser? noahverner1995 2 8,502 Jan-14-2022, 10:02 AM
Last Post: noahverner1995
  Rmarkdown opened by python code - errors Rav013 0 3,122 Apr-27-2021, 03:13 PM
Last Post: Rav013
  ValueError: I/O operation on closed file problem aliwien 0 3,235 Apr-23-2021, 05:50 PM
Last Post: aliwien

Forum Jump:

User Panel Messages

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