casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.93k stars 76 forks source link

Windowsserver2022 apps not launching #101

Open r27153733 opened 2 years ago

r27153733 commented 2 years ago

Describe the bug Hi guys, I have recently installed Cassowary through aur on my Arch Linux with Windows server 2022, but I've noticed that whatever the program that I was trying to launch throught it, it never worked. So I decided to try to launch it within the terminal and here is the full output of what it gave me (here powerpoint): [ 2022-08-31 17:21:00,583 ] | [ DEBUG ] : [ helper -> vm_wake ] --> Attempting to resume VM [ 2022-08-31 17:21:00,592 ] | [ WARNING ] : [ helper -> vm_wake ] --> VM state is not set to suspended : State -> '1'
[ 2022-08-31 17:21:00,593 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> Opening & closing a test window to trigger login or try to fix black screen bug on first launch [ 2022-08-31 17:21:00,593 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> Trying to fix black window bug by opening a test window before requested application - 1661937660.5931861CMDLINE: xfreerdp /d:"" /u:"bxd" /p:"@#$&^%" /v:"192.168.122.84" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" [ 2022-08-31 17:21:01,149 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> Test window opened and closed ! [ 2022-08-31 17:21:01,150 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> An app was already opened, the black window should not appear now ! [ 2022-08-31 17:21:01,150 ] | [ DEBUG ] : [ init -> main ] --> guest-run with commandline: xfreerdp /d:"" /u:"bxd" /p:"#$%&" /v:192.168.122.84 +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span /wm-class:"cassowaryApp-POWERPNT.EXE" /app:"C:\Program Files\Microsoft Office\Root\Office16\POWERPNT.EXE" /app-icon:"/usr/lib/python3.10/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " [17:21:01:105] [29560:29561] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server [17:21:01:105] [29560:29561] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014] [17:21:01:105] [29560:29561] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail [17:21:01:105] [29560:29561] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

r27153733 commented 2 years ago

I use windows password instead of windows pin

casualsnek commented 2 years ago

I use windows password instead of windows pin

Are you able to launch full session through cassowary gui ?

r27153733 commented 2 years ago

我使用 windows 密码而不是 windows pin

您可以通过食火鸡 gui 启动完整会话吗?

I can open the cassowary gui, but there is no response when I open the added application.

casualsnek commented 2 years ago

This error indicates some error with RDP configration on windows system, can you verify if host can connect to the windows system with rdp set up ? By the way i meant can you try running full session by going to cassowary gui -> Misc -> Launch full RDP session

r27153733 commented 2 years ago

This error indicates some error with RDP configration on windows system, can you verify if host can connect to the windows system with rdp set up ? By the way i meant can you try running full session by going to cassowary gui -> Misc -> Launch full RDP session

Unable to run a full RDP session. here is the full output of what it gave me [ 2022-09-03 21:52:35,444 ] | [ DEBUG ] : [ init -> main ] --> Starting configuration GUI [ 2022-09-03 21:52:35,607 ] | [ DEBUG ] : [ helper -> vm_wake ] --> Attempting to resume VM [ 2022-09-03 21:52:35,615 ] | [ WARNING ] : [ helper -> vm_wake ] --> VM state is not set to suspended : State -> '1'
[ 2022-09-03 21:52:35,632 ] | [ 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-03 21:52:35,632 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> Trying to fix black window bug by opening a test window before requested application - 1662213155.6322105CMDLINE: xfreerdp /d:"A" /u:"bxd" /p:"****" /v:"192.168.122.84" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" [ 2022-09-03 21:52:36,198 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> Test window opened and closed ! [ 2022-09-03 21:52:36,198 ] | [ DEBUG ] : [ helper -> fix_black_window ] --> An app was already opened, the black window should not appear now ! [ 2022-09-03 21:52:36,199 ] | [ DEBUG ] : [ main_ui -> __reconnect ] --> Forced reconnection attempt, no active application or explicitly forced Trying to reconnect [ 2022-09-03 21:52:36,199 ] | [ INFO ] : [ client -> init_connection ] --> Attempting to connect to server [ 2022-09-03 21:52:36,199 ] | [ INFO ] : [ client -> init_connection ] --> Connected to server at 192.168.122.84:7220 [ 2022-09-03 21:52:36,199 ] | [ DEBUG ] : [ client -> init_connection ] --> Starting sender and receiver threads [ 2022-09-03 21:52:39,773 ] | [ DEBUG ] : [ helper -> full_rdp ] --> Creating a full RDP session with commandline : {rdc} /d:"{domain}" /u:"{user}" /p:"{passd}" /v:{ip} /a:drive,root,{share_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-09-03 21:52:39,776 ] | [ DEBUG ] : [ helper -> full_rdp ] --> Full RDP session ended !

DaKingofCheckerz commented 1 year ago

I think it's caused by the password having a special character (in my case it was a $). I was able to get it to launch by escaping the special character and running the command manually.

fluffy-git commented 3 months ago

I have the same problem, also installed through aur, and my password doesn't contain any special characters. i am using windows 11 though

fluffy-git commented 3 months ago

nvm, run yay -S freerdp2