Fmstrat / winapps

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.
8.6k stars 404 forks source link

Cannot install - 2nd issue - The disconnection was initiated by an administrative tool on the server running in the user's session #219

Open them1ghtydill opened 3 years ago

them1ghtydill commented 3 years ago

bin/winapps check didn't work. Here's the output (the output that looks like it matters):

[15:01:44:987] [23203:23204] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [UNKNOWN]
[15:02:20:348] [23203:23204] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state
[15:02:27:082] [23203:23214] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[15:02:30:729] [23203:23204] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:02:40:566] [23203:23204] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER [0x0001000B]
[15:02:40:756] [23203:23204] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
goddard-guryon commented 3 years ago

Not sure that I understand this, can you post the full log? The "LOGON_FAILED" line makes it look like you provided incorrect credentials for login, but the title of the issue makes it look like your windows VM is probably running some app that prevents remote access.

them1ghtydill commented 3 years ago
[15:23:44:041] [13213:13214] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[15:23:44:041] [13213:13214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[15:23:44:041] [13213:13214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[15:23:44:041] [13213:13214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[15:23:44:041] [13213:13214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[15:23:44:041] [13213:13214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[15:23:44:369] [13213:13214] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[15:23:44:371] [13213:13214] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[15:23:44:371] [13213:13214] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[15:23:44:384] [13213:13214] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[15:23:44:384] [13213:13214] [WARN][com.freerdp.crypto] - CN = RDPWindows
[15:23:46:987] [13213:13214] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[15:23:46:987] [13213:13214] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[15:23:46:991] [13213:13214] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[15:23:46:994] [13213:13214] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[15:23:46:994] [13213:13231] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[15:23:46:994] [13213:13214] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[15:23:46:652] [13213:13214] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:23:46:673] [13213:13214] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:23:46:782] [13213:13214] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:23:46:858] [13213:13214] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:23:47:787] [13213:13214] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state
[15:23:47:877] [13213:13214] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:23:48:728] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:053] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:118] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:169] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:188] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:189] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:190] [13213:13214] [WARN][com.freerdp.client.x11] - xf_lock_x11_: [1] recursive lock from xf_UpdateWindowArea
[15:23:49:308] [13213:13231] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[15:23:52:695] [13213:13214] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER (0x0000000B):The disconnection was initiated by an administrative tool on the server running in the user's session.
[15:23:52:695] [13213:13214] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER [0x0001000B]
[dill@archbtw winapps]$ 

@goddard-guryon Edited: Forgot to mention. I successfully installed WinApps BUT when running it, it tells me "you need to run install.sh first." which is very weird. I tried again and it just... failed again. I saw your README in the pull request a few hours ago and updated my system accordingly, but kept the old Windows VM.

goddard-guryon commented 3 years ago

This is quite weird actually, I've not seen this error before (and, honestly, don't have a clue about this). Have you tried reinstalling both freerdp and winapps? (coz this looks more of a freerdp issue than a winapps one). I'd also recommend that you check the freerdp github, there might be a mention of this error there.

Edit: ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER (0x0000000B):The disconnection was initiated by an administrative tool on the server running in the user's session. Is there some app/service running in your windows VM that could cause this? Perhaps you didn't enable remote desktop or didn't modify the registry entry in windows?

them1ghtydill commented 3 years ago

Is there some app/service running in your windows VM that could cause this? Perhaps you didn't enable remote desktop or didn't modify the registry entry in windows?

I did both. Will reinstall WinApps with your README.

goddard-guryon commented 3 years ago

@them1ghtydill does it work after reinstall?

them1ghtydill commented 3 years ago

@goddard-guryon I apologize. There hasn't been enough time to do it (life is being chaotic, I broke Linux From Scratch...) but I will try to get the results this week.

goddard-guryon commented 3 years ago

@them1ghtydill no worries mate, take your time :)

gqwang03 commented 5 days ago

The same problem, is it fixed?

gqwang03 commented 5 days ago

xfreerdp /d: /u:Docker /p: /v:192.168.1.9 +auto-reconnect +clipboard +home-drive -wallpaper /scale:100 /dynamic-resolution /span '/wm-class:Internet Explorer' '/app:C:\Program Files\Internet Explorer\iexplore.exe' /app-icon:/usr/local/share/winapps/apps/iexplorer/icon.svg

[13:46:29:310] [13800:13801] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0 [13:46:29:311] [13800:13801] [WARN][com.freerdp.crypto] - CN = DOCKERW-EQM3CTE [13:46:31:095] [13800:13801] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32 [13:46:31:095] [13800:13801] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32 [13:46:31:155] [13800:13801] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd [13:46:31:157] [13800:13811] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static) [13:46:31:158] [13800:13801] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx [13:46:31:159] [13800:13801] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp [13:46:31:424] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:430] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:431] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:31:433] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:437] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:437] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:31:437] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:437] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:31:449] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:31:449] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:32:805] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:32:985] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:32:992] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:32:993] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:32:030] [13800:13811] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1) [13:46:32:070] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow [13:46:32:070] [13800:13801] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0 [13:46:52:703] [13800:13801] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER (0x0000000B):The disconnection was initiated by an administrative tool on the server running in the user's session. [13:46:52:704] [13800:13801] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER [0x0001000B]