cassowary icon indicating copy to clipboard operation
cassowary copied to clipboard

Everything is ready, but no window is opened when I click on the application.

Open AAlieZZ opened this issue 2 years ago • 2 comments

> cat ~/.config/casualrdh/casualrdh.log

[ 2022-09-02 11:13:49,146 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 11:13:49,150 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 11:13:49,151 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-09-02 11:13:49,151 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1662088429.1514688CMDLINE: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:"192.168.122.201" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2022-09-02 11:13:56,384 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 11:13:56,384 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 11:13:56,385 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connected to server ! 
[ 2022-09-02 11:13:56,400 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 11:13:56,423 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Declared self as host system client to the server 
[ 2022-09-02 11:13:56,427 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connected to server

To be precise, the application icon appears on the desktop taskbar for a second or two and disappears.

System information:

> python3 -m cassowary -h
    #####################################################################################
    #  cassowary Client Application (Linux) - Integrate Windows VM with linux hosts     #
    # ---------------------------- Software info ---------------------------------------#
    #      Version     : 0.5A                                                           #
    #      GitHub      : https://github.com/casualsnek/cassowary                        # 
    #      License     : GPLv2                                                          #
    #      Maintainer  : @casualsnek (Github)                                           #
    #      Email       : [email protected]                                               #
    #####################################################################################
  • Linux Distribution: Arch Linux
  • Windows/Edition used Server2019

Previous logs (which include attempts at wlfreerdp):

[ 2022-09-01 23:49:00,219 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-09-01 23:49:00,328 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-01 23:49:00,328 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  VM name is blank, maybe not a vm skipping vm resume process ! 
[ 2022-09-01 23:49:00,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-09-01 23:49:00,343 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1662047340.3434296CMDLINE: xfreerdp /d:"" /u:"" /p:"Edit It Yourself" /v:"192.168.1.1" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2022-09-01 23:49:15,702 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  App window seems to be created or timeout. Creating marker & Waiting 2 seconds - 1662047355.7026083 
[ 2022-09-01 23:49:15,703 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-09-01 23:49:18,706 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Test window opened and closed ! 
[ 2022-09-01 23:49:18,706 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-01 23:49:18,707 ] | [  DEBUG ] :  [     main_ui ->          __reconnect  ] -->  Forced reconnection attempt, no active application or explicitly forced 
[ 2022-09-01 23:49:18,707 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-01 23:54:25,917 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-01 23:54:25,925 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-01 23:54:25,941 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-09-01 23:54:25,941 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1662047665.9412267CMDLINE: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:"192.168.122.201" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2022-09-01 23:55:43,559 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-09-01 23:55:43,657 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-01 23:55:43,666 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-01 23:55:43,681 ] | [  DEBUG ] :  [     main_ui ->          __reconnect  ] -->  An application is already running, not forcing login ! 
[ 2022-09-01 23:55:43,681 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-01 23:55:43,682 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-01 23:55:43,682 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-01 23:55:43,682 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-01 23:56:08,807 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-01 23:59:11,922 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-01 23:59:11,930 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-01 23:59:11,931 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Using soft launch as other RDP application is active 
[ 2022-09-01 23:59:11,931 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-01 23:59:11,932 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-01 23:59:11,932 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-01 23:59:11,948 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-01 23:59:12,136 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Got soft launch response: {'id': 'botx', 'type': 'response', 'command': ['run-app', 'cmd.exe /c start "" "C:\\Program Files (x86)\\Autodesk\\Autodesk Desktop App\\AutodeskDesktopApp.exe" '], 'status': 1, 'data': 'App with commandline executed: \'"cmd.exe /c start "" "C:\\Program Files (x86)\\Autodesk\\Autodesk Desktop App\\AutodeskDesktopApp.exe" " \' ', 'received_on': 1662047952} 
[ 2022-09-02 00:02:13,304 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:02:13,312 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:02:13,313 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:02:13,313 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:192.168.122.201 +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-AutodeskDesktopApp.exe" /app:"C:\Program Files (x86)\Autodesk\Autodesk Desktop App\AutodeskDesktopApp.exe" /app-icon:"/usr/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-09-02 00:02:27,241 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-09-02 00:02:27,353 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:02:27,361 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:02:27,377 ] | [  DEBUG ] :  [     main_ui ->          __reconnect  ] -->  An application is already running, not forcing login ! 
[ 2022-09-02 00:02:27,377 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:02:27,378 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:02:27,378 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:02:27,378 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:02:33,661 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:04:02,698 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:04:02,706 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:04:02,707 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Using soft launch as other RDP application is active 
[ 2022-09-02 00:04:02,707 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:04:02,708 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:04:02,708 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:04:02,724 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:04:02,987 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Got soft launch response: {'id': 'D0mE', 'type': 'response', 'command': ['run-app', 'cmd.exe /c start "" "C:\\Program Files (x86)\\Windows Media Player\\wmplayer.exe" '], 'status': 1, 'data': 'App with commandline executed: \'"cmd.exe /c start "" "C:\\Program Files (x86)\\Windows Media Player\\wmplayer.exe" " \' ', 'received_on': 1662048242} 
[ 2022-09-02 00:04:27,479 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-09-02 00:04:27,590 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:04:27,599 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:04:27,615 ] | [  DEBUG ] :  [     main_ui ->          __reconnect  ] -->  An application is already running, not forcing login ! 
[ 2022-09-02 00:04:27,615 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:04:27,615 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:04:27,616 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:04:27,616 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:04:32,860 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:05:11,615 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:05:11,623 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:05:11,624 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Using soft launch as other RDP application is active 
[ 2022-09-02 00:05:11,624 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:05:11,625 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:05:11,625 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:05:11,641 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:05:11,808 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Got soft launch response: {'id': 'JgSu', 'type': 'response', 'command': ['run-app', 'cmd.exe /c start "" "C:\\Program Files (x86)\\Autodesk\\Autodesk Desktop App\\AutodeskDesktopApp.exe" '], 'status': 1, 'data': 'App with commandline executed: \'"cmd.exe /c start "" "C:\\Program Files (x86)\\Autodesk\\Autodesk Desktop App\\AutodeskDesktopApp.exe" " \' ', 'received_on': 1662048311} 
[ 2022-09-02 00:07:02,730 ] | [  DEBUG ] :  [      helper -> vm_suspension_handler  ] -->  VM watcher active ! 
[ 2022-09-02 00:07:02,730 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connecting to server.... 
[ 2022-09-02 00:07:02,730 ] | [  DEBUG ] :  [      helper -> vm_suspension_handler  ] -->  disabled 
[ 2022-09-02 00:07:02,730 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:07:02,731 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/cassowary/__init__.py", line 31, in start_bg_client
    client_.init_connection()
  File "/usr/lib/python3.10/site-packages/cassowary/client.py", line 50, in init_connection
    self.server.connect((self.__host, self.__port))
OSError: [Errno 101] Network is unreachable
', reconnecting to server after 5 seconds 
[ 2022-09-02 00:07:12,737 ] | [  DEBUG ] :  [      helper -> vm_suspension_handler  ] -->  Refreshing config to update to probable config changes ! 
[ 2022-09-02 00:08:16,165 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:08:16,171 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:08:16,172 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-09-02 00:08:16,172 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1662048496.172509CMDLINE: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:"192.168.122.201" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2022-09-02 00:08:29,071 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:08:29,072 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:08:29,072 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connected to server ! 
[ 2022-09-02 00:08:29,087 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:08:29,100 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Declared self as host system client to the server 
[ 2022-09-02 00:08:29,108 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Connected to server 
[ 2022-09-02 00:08:39,600 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
[ 2022-09-02 00:08:39,716 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:08:39,724 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:08:39,740 ] | [  DEBUG ] :  [     main_ui ->          __reconnect  ] -->  An application is already running, not forcing login ! 
[ 2022-09-02 00:08:39,740 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2022-09-02 00:08:39,740 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1662048519.7405384CMDLINE: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:"192.168.122.201" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2022-09-02 00:08:42,863 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  App window seems to be created or timeout. Creating marker & Waiting 2 seconds - 1662048522.8638098 
[ 2022-09-02 00:08:42,864 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-09-02 00:08:45,867 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Test window opened and closed ! 
[ 2022-09-02 00:08:45,867 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:08:45,867 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: wlfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:192.168.122.201 +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-AutodeskDesktopApp.exe" /app:"C:\Program Files (x86)\Autodesk\Autodesk Desktop App\AutodeskDesktopApp.exe" /app-icon:"/usr/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-09-02 00:08:49,627 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  App window seems to be created or timeout. Creating marker & Waiting 2 seconds - 1662048529.6277652 
[ 2022-09-02 00:08:49,628 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Created a marker -> One session done 
[ 2022-09-02 00:08:52,631 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Test window opened and closed ! 
[ 2022-09-02 00:08:52,631 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:08:52,631 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:08:52,632 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Connected to server at 192.168.122.201:7220 
[ 2022-09-02 00:08:52,632 ] | [  DEBUG ] :  [      client ->      init_connection  ] -->  Starting sender and receiver threads 
[ 2022-09-02 00:09:09,034 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-09-02 00:10:52,552 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2022-09-02 00:10:52,559 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2022-09-02 00:10:52,560 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2022-09-02 00:10:52,560 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"RDPWindows" /u:"Administrator" /p:"Pp234692810" /v:192.168.122.201 +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-AutodeskDesktopApp.exe" /app:"C:\Program Files (x86)\Autodesk\Autodesk Desktop App\AutodeskDesktopApp.exe" /app-icon:"/usr/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png"  
[ 2022-09-02 00:17:36,709 ] | [  ERROR ] :  [      client ->            __receive  ] -->  Error receiving messages, Exception- [Errno 104] Connection reset by peer, Traceback : Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/cassowary/client.py", line 68, in __receive
    recent_msg = self.server.recv(16000)
ConnectionResetError: [Errno 104] Connection reset by peer
 
[ 2022-09-02 00:17:36,709 ] | [  DEBUG ] :  [      client ->            __receive  ] -->  Stopping receive sub-threadd... (True) 
[ 2022-09-02 00:17:36,718 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Stopping send sub-thread.d... (True) 
[ 2022-09-02 00:17:38,925 ] | [  DEBUG ] :  [    __init__ ->      start_bg_client  ] -->  Connection seems to be lost or vm info got changed in config or vm turned off 
[ 2022-09-02 00:17:38,925 ] | [   INFO ] :  [    __init__ ->      start_bg_client  ] -->  Server error: {'id': 'hh6V', 'type': 'response', 'command': ['declare-self-host'], 'status': 1, 'data': 'This client will now receive messages forwarded to host', 'received_on': 1662048509} 
[ 2022-09-02 00:17:38,925 ] | [   INFO ] :  [      client ->                  die  ] -->  Attempting to stop client activity 
[ 2022-09-02 00:17:43,930 ] | [   INFO ] :  [      client ->      init_connection  ] -->  Attempting to connect to server 
[ 2022-09-02 00:17:46,982 ] | [  ERROR ] :  [    __init__ ->      start_bg_client  ] -->  Ignored exception: 'Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/cassowary/__init__.py", line 31, in start_bg_client
    client_.init_connection()
  File "/usr/lib/python3.10/site-packages/cassowary/client.py", line 50, in init_connection
    self.server.connect((self.__host, self.__port))

AAlieZZ avatar Sep 02 '22 03:09 AAlieZZ

You seem to have set wlfreerdp as rdp client to launch application, can you try setting it to xfreerdp even if you are on wayland ? wlfreerdp does not support RAILS which is required to run and display a single application !

casualsnek avatar Sep 02 '22 09:09 casualsnek

You seem to have set wlfreerdp as rdp client to launch application, can you try setting it to xfreerdp even if you are on wayland ? wlfreerdp does not support RAILS which is required to run and display a single application !

I have tried both wlfreerdp and xfreerdp. wlfreerdp has a black screen after a flashing login screen; xfreerdp, as the main text says, "the application icon appears on the desktop taskbar for a second or two and disappears."

I think this might be a bug with xfreerdp. Here are the logs from running xfreerdp:

[23:50:10:581] [9897:9905] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[23:50:10:581] [9897:9905] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[23:50:10:586] [9897:9905] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[23:50:10:586] [9897:9974] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[23:50:10:586] [9897:9905] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[23:50:10:586] [9897:9905] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[23:50:10:707] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:707] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:10:723] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:723] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:10:770] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:781] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:781] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:10:789] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:789] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:10:858] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:858] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:10:921] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:10:922] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:983] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:983] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:154] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:154] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:172] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:172] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:188] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:188] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:245] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:245] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:283] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:283] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:332] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:333] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:392] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:392] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:422] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:422] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:447] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:447] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:488] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:488] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:490] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:490] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:533] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:533] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:624] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:624] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:671] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:671] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:718] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:718] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:771] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:771] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:934] [9897:9905] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [LOGON_MSG_SESSION_CONTINUE]
[23:50:11:938] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:939] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:11:951] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:11:951] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:12:997] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:12:997] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:12:117] [9897:9974] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[23:50:12:142] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:12:142] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:12:169] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:12:169] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[23:50:12:215] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[23:50:12:215] [9897:9905] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0

AAlieZZ avatar Sep 02 '22 09:09 AAlieZZ