Coder Social home page Coder Social logo

Comments (11)

casualsnek avatar casualsnek commented on May 21, 2024 1

Can you please explain how to do that? I've seen nothing about it in the documentation.

In order to cassowary suspend the VM,it needs to have a watcher in the background,the watcher doesn't start automatically,you need to go to misc tab > Setup Background service autostart

Indeed there is no documentation about this, @casualsnek assumes everyone would install the background service but in my case I don't want it,so the command to run it manually is cassowary -bc

Thank you for bringing up this issue. I will add information about background service in README. I also plan to properly document the commandline options and how to interact with VM from command line using command strings to script stuffs !

from cassowary.

casualsnek avatar casualsnek commented on May 21, 2024

Have you enabled it ? By default it is disabled .

Open Cassowary GUI and goto advanced tab there should be checkbox to enable it and set time after which vm will be suspended !

If that does not work, share the logs located at "~/.config/casualrdh/"

Set the delay to little more than what it takes for vm to how login screen from cold boot

from cassowary.

vega-d avatar vega-d commented on May 21, 2024

I am experiencing the same problem. Here are my logs:
https://paste.centos.org/view/4e639355

from cassowary.

vega-d avatar vega-d commented on May 21, 2024

I just realized what logs I posted, this is hilarious.
here's a snipped from the actual log file.

[ 2022-02-20 06:39:43,855 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:39:48,860 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:39:48,861 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:39:53,866 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:39:58,871 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:39:58,871 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:40:03,876 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:40:08,881 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:40:08,881 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:40:13,886 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:40:18,891 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:40:18,892 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:40:23,896 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:40:28,901 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:40:28,901 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:40:33,906 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:40:38,911 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-02-20 06:40:38,912 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-20 06:40:43,917 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'timed out', reconnecting to server after 5 seconds 
[ 2022-02-20 06:40:48,922 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 

from cassowary.

casualsnek avatar casualsnek commented on May 21, 2024

] --> Connecting

Can you share the full log ? This logs shows connection to VM is broken ( which normally happens when VM is suspended or turned off )

from cassowary.

XRaTiX avatar XRaTiX commented on May 21, 2024

Have the same problem,in my logs it doesn't say anything about suspend,but it attempts to resume it when I start an application (but then says it was not suspended in the first place)

I can manually pause (suspend) the VM and cassowary can resume it properly,but it cannot suspended it back,the log says

[ 2022-04-10 20:17:53,788 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:17:53,795 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM was suspended.. Resuming it 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM resumed.. 

Full log

[ 2022-02-04 19:46:37,838 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 19:46:38,966 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:46:38,967 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:46:38,967 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:46:39,779 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:46:39,779 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:47:23,384 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:47:23,384 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:47:50,560 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:47:50,562 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:47:50,562 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:47:51,147 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:19,192 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:49:19,194 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:49:19,194 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:49:20,296 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:45,081 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 19:49:46,244 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:49:46,244 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:49:46,245 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:49:46,677 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:46,677 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:49:53,741 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:49:53,742 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:50:27,806 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:52:58,154 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:52:58,159 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:52:58,161 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:52:59,023 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:53:29,879 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:53:29,880 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:54:24,234 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:54:24,235 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:54:24,236 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:54:24,926 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:21,072 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:55:21,074 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:55:21,074 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:55:21,586 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:32,257 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:55:32,309 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:55:32,310 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:55:32,744 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:32,746 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 19:55:32,746 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 19:55:53,615 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 19:57:30,754 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:57:30,781 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:57:30,782 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:57:31,615 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:57:31,616 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\Windows\System32\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 19:57:50,335 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:57:50,343 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:57:50,343 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:57:50,711 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:57:50,711 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\Windows\System32\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 19:58:30,063 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:58:30,112 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:58:30,113 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:58:30,987 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:58:30,988 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:58:31,006 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 19:58:31,006 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 19:58:33,653 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 19:59:44,228 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:59:44,238 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:59:44,238 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:59:44,620 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:59:44,620 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 19:59:54,580 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:59:54,598 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:59:54,601 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:59:54,975 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:59:54,976 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:00:06,904 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:00:07,212 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:00:07,220 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:00:07,220 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:00:07,589 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:00:07,589 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:00:07,589 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:00:07,590 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:00:12,989 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:00:33,183 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:00:33,191 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:00:33,192 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:00:33,975 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:00:33,976 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\Program Files\Internet Explorer\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:01:21,656 ] | [  DEBUG ] :  [      helper ->             full_rdp  ] -->  Creating a full RDP session with commandline  : {rdc} /d:"{domain}" /u:"{user}" /p:"{passd}" /v:{ip} /a:drive,root,/ +auto-reconnect +clipboard /cert-ignore /audio-mode:1 /scale:{scale} /wm-class:"cassowaryApp-FULLSESSION" /dynamic-resolution /{mflag} {rdflag} 1> /dev/null 2>&1 & 
[ 2022-02-04 20:01:21,670 ] | [  DEBUG ] :  [      helper ->             full_rdp  ] -->  Full RDP session ended ! 
[ 2022-02-04 20:02:06,376 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:02:06,384 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:02:06,385 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:02:45,456 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:02:49,462 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:02:49,462 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:04:21,678 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:04:22,122 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:04:22,169 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:04:22,170 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:04:35,391 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:04:39,395 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:04:39,395 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:04:39,396 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:04:39,396 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:04:42,462 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:04:42,471 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:04:42,471 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:04:46,234 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:04:50,238 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:04:50,238 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:04:50,239 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:04:50,239 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:04:52,342 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:05:04,927 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:04,935 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:04,935 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:05:04,935 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:05:28,642 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:28,649 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:28,649 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:05:28,650 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:05:58,038 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:05:58,353 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:58,359 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:58,360 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:06:01,466 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:06:05,470 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:06:05,470 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:06:05,471 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:06:05,471 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:06:06,833 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:06:19,629 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:06:19,636 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:06:19,636 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:06:19,636 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-PowerShell.exe" /app:"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:10:22,805 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:10:22,843 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:10:22,843 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:10:22,844 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-PowerShell.exe" /app:"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:11:50,563 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:11:50,629 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:11:50,629 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:11:50,630 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:10,315 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:10,324 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:10,324 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:10,324 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:19,355 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:19,363 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:19,364 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:19,364 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:39,983 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:12:40,842 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:40,849 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:40,850 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:12:47,406 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:47,406 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:13:52,949 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:13:53,039 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:13:53,039 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:13:53,039 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:14:03,386 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:14:03,394 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:14:03,395 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:14:03,395 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:15:01,962 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:15:02,004 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:15:02,005 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:15:02,006 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:20:21,354 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:20:21,823 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:20:21,870 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:20:21,871 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:20:32,051 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:20:36,057 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:20:36,057 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:20:36,058 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:20:36,058 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 19:56:54,077 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-04-10 19:56:54,319 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:56:54,328 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '5'  
[ 2022-04-10 19:56:54,328 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:57:01,003 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:57:01,003 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 19:57:28,488 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:57:28,498 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '5'  
[ 2022-04-10 19:57:28,498 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:57:35,014 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:58:33,070 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:58:33,080 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 19:58:33,080 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:58:44,031 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-04-10 19:58:48,041 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:58:48,042 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 19:58:48,042 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 19:59:24,561 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-04-10 19:59:53,728 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:59:53,734 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 19:59:53,734 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:59:53,735 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:02:35,786 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:02:35,793 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:02:35,793 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:02:35,793 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: wlfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:02:47,752 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:02:47,760 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:02:47,761 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:02:47,761 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:14:01,742 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-04-10 20:14:01,968 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:01,989 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:01,989 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:14:11,128 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:11,128 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 20:14:11,129 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 20:14:11,129 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 20:14:13,250 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:13,256 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:13,256 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:14:17,125 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:17,126 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 20:14:17,126 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 20:14:17,127 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 20:14:42,548 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:42,554 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:42,554 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:42,554 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:14:56,112 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:56,119 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:56,119 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:56,119 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:17:53,788 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:17:53,795 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM was suspended.. Resuming it 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM resumed.. 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Added 2 sec delay for VM networking to be active ! 
[ 2022-04-10 20:17:55,805 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:18:00,389 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-04-10 20:18:04,394 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:18:04,395 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 

from cassowary.

casualsnek avatar casualsnek commented on May 21, 2024

Have the same problem,in my logs it doesn't say anything about suspend,but it attempts to resume it when I start an application (but then says it was not suspended in the first place)

I can manually pause (suspend) the VM and cassowary can resume it properly,but it cannot suspended it back,the log says

[ 2022-04-10 20:17:53,788 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:17:53,795 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM was suspended.. Resuming it 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM resumed.. 

Full log

[ 2022-02-04 19:46:37,838 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 19:46:38,966 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:46:38,967 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:46:38,967 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:46:39,779 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:46:39,779 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:47:23,384 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:47:23,384 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:47:50,560 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:47:50,562 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:47:50,562 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:47:51,147 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:19,192 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:49:19,194 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:49:19,194 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:49:20,296 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:45,081 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 19:49:46,244 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:49:46,244 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:49:46,245 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:49:46,677 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:49:46,677 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:49:53,741 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:49:53,742 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:50:27,365 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:50:27,806 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:52:58,154 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:52:58,159 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:52:58,161 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:52:59,023 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:53:29,879 ] | [  ERROR ] :  [      helper ->        ip_by_vm_name  ] -->  Cannot get ip for '' -> Traceback (most recent call last):
  File "/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/helper.py", line 31, in ip_by_vm_name
    dom = conn.lookupByName(name)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name ''
 
[ 2022-02-04 19:53:29,880 ] | [ WARNING ] :  [      helper ->        ip_by_vm_name  ] -->  Could not get proper ip address for domain ''  
[ 2022-02-04 19:54:24,234 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:54:24,235 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:54:24,236 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:54:24,926 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:21,072 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:55:21,074 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-02-04 19:55:21,074 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:55:21,586 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:32,257 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:55:32,309 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:55:32,310 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:55:32,744 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:55:32,746 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 19:55:32,746 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 19:55:53,615 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 19:57:30,754 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:57:30,781 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:57:30,782 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:57:31,615 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:57:31,616 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\Windows\System32\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 19:57:50,335 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:57:50,343 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:57:50,343 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:57:50,711 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:57:50,711 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\Windows\System32\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 19:58:30,063 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:58:30,112 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:58:30,113 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:58:30,987 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:58:30,988 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 19:58:31,006 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 19:58:31,006 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 19:58:33,653 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 19:59:44,228 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:59:44,238 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:59:44,238 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:59:44,620 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:59:44,620 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 19:59:54,580 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 19:59:54,598 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 19:59:54,601 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 19:59:54,975 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 19:59:54,976 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:00:06,904 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:00:07,212 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:00:07,220 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:00:07,220 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:00:07,589 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:00:07,589 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:00:07,589 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:00:07,590 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:00:12,989 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:00:33,183 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:00:33,191 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:00:33,192 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:00:33,975 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:00:33,976 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\Program Files\Internet Explorer\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:01:21,656 ] | [  DEBUG ] :  [      helper ->             full_rdp  ] -->  Creating a full RDP session with commandline  : {rdc} /d:"{domain}" /u:"{user}" /p:"{passd}" /v:{ip} /a:drive,root,/ +auto-reconnect +clipboard /cert-ignore /audio-mode:1 /scale:{scale} /wm-class:"cassowaryApp-FULLSESSION" /dynamic-resolution /{mflag} {rdflag} 1> /dev/null 2>&1 & 
[ 2022-02-04 20:01:21,670 ] | [  DEBUG ] :  [      helper ->             full_rdp  ] -->  Full RDP session ended ! 
[ 2022-02-04 20:02:06,376 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:02:06,384 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:02:06,385 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:02:45,456 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:02:49,462 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:02:49,462 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:04:21,678 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:04:22,122 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:04:22,169 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:04:22,170 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:04:35,391 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:04:39,395 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:04:39,395 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:04:39,396 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:04:39,396 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:04:42,462 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:04:42,471 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:04:42,471 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:04:46,234 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:04:50,238 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:04:50,238 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:04:50,239 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:04:50,239 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:04:52,342 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:05:04,927 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:04,935 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:04,935 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:05:04,935 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:05:28,642 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:28,649 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:28,649 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:05:28,650 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-02-04 20:05:58,038 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:05:58,353 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:05:58,359 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:05:58,360 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:06:01,466 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:06:05,470 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:06:05,470 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:06:05,471 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:06:05,471 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-02-04 20:06:06,833 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-02-04 20:06:19,629 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:06:19,636 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:06:19,636 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:06:19,636 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-PowerShell.exe" /app:"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:10:22,805 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:10:22,843 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:10:22,843 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:10:22,844 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-PowerShell.exe" /app:"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:11:50,563 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:11:50,629 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:11:50,629 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:11:50,630 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:10,315 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:10,324 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:10,324 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:10,324 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:19,355 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:19,363 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:19,364 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:19,364 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:12:39,983 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:12:40,842 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:12:40,849 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:12:40,850 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:12:47,406 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:12:47,406 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:13:52,949 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:13:53,039 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:13:53,039 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:13:53,039 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:14:03,386 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:14:03,394 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:14:03,395 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:14:03,395 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:15:01,962 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:15:02,004 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:15:02,005 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:15:02,006 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.58 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-mspaint.exe" /app:"C:\\Windows\\System32\\mspaint.exe" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-02-04 20:20:21,354 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-02-04 20:20:21,823 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-02-04 20:20:21,870 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-02-04 20:20:21,871 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-02-04 20:20:32,051 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-02-04 20:20:36,057 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-02-04 20:20:36,057 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-02-04 20:20:36,058 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.58:7220 
[ 2022-02-04 20:20:36,058 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 19:56:54,077 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-04-10 19:56:54,319 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:56:54,328 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '5'  
[ 2022-04-10 19:56:54,328 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:57:01,003 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:57:01,003 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 19:57:28,488 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:57:28,498 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '5'  
[ 2022-04-10 19:57:28,498 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:57:35,014 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:58:33,070 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:58:33,080 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 19:58:33,080 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 19:58:44,031 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-04-10 19:58:48,041 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:58:48,042 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 19:58:48,042 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 19:59:24,561 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-04-10 19:59:53,728 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 19:59:53,734 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 19:59:53,734 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 19:59:53,735 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:02:35,786 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:02:35,793 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:02:35,793 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:02:35,793 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: wlfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:02:47,752 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:02:47,760 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:02:47,761 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:02:47,761 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:14:01,742 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-04-10 20:14:01,968 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:01,989 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:01,989 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:14:11,128 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:11,128 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 20:14:11,129 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 20:14:11,129 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 20:14:13,250 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:13,256 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:13,256 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:14:17,125 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:17,126 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-04-10 20:14:17,126 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.138:7220 
[ 2022-04-10 20:14:17,127 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-04-10 20:14:42,548 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:42,554 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:42,554 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:42,554 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:14:56,112 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:14:56,119 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-04-10 20:14:56,119 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:14:56,119 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[ 2022-04-10 20:17:53,788 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-04-10 20:17:53,795 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM was suspended.. Resuming it 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM resumed.. 
[ 2022-04-10 20:17:53,802 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Added 2 sec delay for VM networking to be active ! 
[ 2022-04-10 20:17:55,805 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-04-10 20:18:00,389 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-04-10 20:18:04,394 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-04-10 20:18:04,395 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"DESKTOP-TL5VFAF" /u:"rangel" /p:"1234" /v:192.168.122.138 +clipboard /a:drive,root,/ +decorations /cert-ignore /audio-mode:1 /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-IEXPLORE.EXE" /app:"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" /app-icon:"/home/rangel/.local/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 

Can you share the contents of configuration file ? Looking at the log it looks like the name of vm is left empty !

from cassowary.

XRaTiX avatar XRaTiX commented on May 21, 2024

Can you share the contents of configuration file ? Looking at the log it looks like the name of vm is left empty !

I actually found the problem,I never installed the background service (cassowary -bc),so the VM watcher that suspend the VM was never running

If don't want the background service I need to launch manually cassowary -bc to have the VM watcher.

from cassowary.

dakush avatar dakush commented on May 21, 2024

I actually found the problem,I never installed the background service (cassowary -bc),so the VM watcher that suspend the VM was never running

Can you please explain how to do that? I've seen nothing about it in the documentation.

from cassowary.

XRaTiX avatar XRaTiX commented on May 21, 2024

Can you please explain how to do that? I've seen nothing about it in the documentation.

In order to cassowary suspend the VM,it needs to have a watcher in the background,the watcher doesn't start automatically,you need to go to misc tab > Setup Background service autostart

Indeed there is no documentation about this, @casualsnek assumes everyone would install the background service but in my case I don't want it,so the command to run it manually is cassowary -bc

from cassowary.

dakush avatar dakush commented on May 21, 2024

In order to cassowary suspend the VM,it needs to have a watcher in the background,the watcher doesn't start automatically,you need to go to misc tab > Setup Background service autostart

Thanks a lot for your help!

Indeed there is no documentation about this

Sorry for asking something obvious then, I'll try to be smarter next time.

from cassowary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.