Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch apps, only full RDP. Logon Error Info SESSION_ID [UNKNOWN] #150

Open
Magicrafter13 opened this issue Oct 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Magicrafter13
Copy link

Describe the bug
Trying to launch an app (Outlook, Notepad, etc) fails, even though full remote desktop session works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Generate a shortcut for an application (i.e. Outlook).
  2. Copy the exec part of the .desktop file generated.
  3. Run the command copied above in a terminal, and observe the following output:
[ 2024-10-12 18:35:29,758 ] | [  DEBUG ] :  [      helper ->              vm_wake  ] -->  Attempting to resume VM 
[ 2024-10-12 18:35:29,759 ] | [ WARNING ] :  [      helper ->              vm_wake  ] -->  VM state is not set to suspended : State -> '1'  
[ 2024-10-12 18:35:29,760 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Opening & closing a test window to trigger login or try to fix black screen bug on first launch 
[ 2024-10-12 18:35:29,760 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Trying to fix black window bug by opening a test window before requested application - 1728783329.760259CMDLINE: xfreerdp /d:"hostname" /u:"username" /p:"password" /v:"qemuIP" +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-echo" /app:"ipconfig.exe" 
[ 2024-10-12 18:35:31,386 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  Test window opened and closed ! 
[ 2024-10-12 18:35:31,386 ] | [  DEBUG ] :  [      helper ->     fix_black_window  ] -->  An app was already opened, the black window should not appear now ! 
[ 2024-10-12 18:35:31,386 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  guest-run with commandline: xfreerdp /d:"hostname" /u:"username" /p:"password" /v:qemuIP +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span  /wm-class:"cassowaryApp-OUTLOOK.EXE" /app:"C:\\Program Files\\Microsoft Office 15\\Root\\Office15\\OUTLOOK.EXE" /app-icon:"/home/user/.local/lib/python3.12/site-packages/cassowary/base/../gui/extrares/cassowary_app.png" /app-cmd:"%u " 
[18:35:33:982] [8049:8050] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[18:35:33:982] [8049:8050] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[18:35:33:982] [8049:8050] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[18:35:33:982] [8049:8050] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
  1. Copy the second xfreerdp command from the above output and run by itself. Observe the output is the same.
[18:37:58:804] [8229:8230] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[18:37:58:804] [8229:8230] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]
[18:37:58:804] [8229:8230] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[18:37:58:804] [8229:8230] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
  1. Run the command again but remove the /app and /app-cmd arguments (i.e. xfreerdp /d:"hostname" /u:"username" /p:"password" /v:qemuIP +clipboard /a:drive,root,/ +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span /wm-class:"cassowaryApp-OUTLOOK.EXE" /app-icon:"/home/user/.local/lib/python3.12/site-packages/cassowary/base/../gui/extrares/cassowary_app.png").
  2. Observe that a full desktop session loaded successfully, logout and view terminal output:
[18:39:35:400] [8293:8294] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[18:39:35:400] [8293:8294] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[18:39:35:417] [8293:8328] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [root] (static)
[18:39:35:418] [8293:8294] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded pulse backend for rdpsnd
[18:39:35:418] [8293:8294] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpsnd
[18:39:35:418] [8293:8294] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[18:39:35:418] [8293:8294] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[18:39:35:468] [8293:8333] [INFO][com.freerdp.channels.rdpsnd.client] - [dynamic] Loaded pulse backend for rdpsnd
[18:39:35:656] [8293:8294] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [LOGON_MSG_SESSION_CONTINUE]
[18:39:35:670] [8293:8328] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: root (type=8 id=1)
[18:39:35:905] [8293:8294] [WARN][com.freerdp.core.rdp] - pduType PDU_TYPE_DATA not properly parsed, 562 bytes remaining unhandled. Skipping.
[18:39:47:748] [8293:8294] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.
[18:39:47:748] [8293:8294] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C]

Expected behavior
Obviously, that the application would launch (more specifically, that xfreerdp would not exit with an error).

System information:

  • Cassowary Linux client version: 0.6A
  • Cassowary windows component version: 0.6A
  • Linux Distribution: Linux Mint 22
  • Windows/Edition used: Windows 11 Home with RDPWrap v1.6.2
@Magicrafter13 Magicrafter13 added the bug Something isn't working label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants