Fmstrat / Fmstrat/winapps

Winapps Check and Installer Issues

Open
#143 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10.3k
Forks
452
PR merge metrics
No merged PRs in 30d

Description

I can login to my KVM VM with `xfreerdp ${RDP_FLAGS} /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP}`.
The VM has the registry edits applied correctly.

When I run the `winapps check`, I get a freerdp screen pop-up, mostly a black screen with the indication that my user is logging on. It eventually closes without opening any sort of windows explorer app, which I think the instructions indicated I might get. Then I get this output:

```
winapps-main $ bin/winapps check
[21:19:47:829] [10484:10485] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[21:19:47:829] [10484:10485] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[21:19:47:829] [10484:10485] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[21:19:47:829] [10484:10485] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[21:19:47:829] [10484:10485] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[21:19:47:280] [10484:10485] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32
[21:19:47:280] [10484:10485] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[21:19:47:283] [10484:10485] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[21:19:47:284] [10484:10494] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[21:19:47:284] [10484:10495] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd
[21:19:47:284] [10484:10485] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[21:19:48:334] [10484:10485] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [LOGON_MSG_SESSION_CONTINUE]
[21:19:48:504] [10484:10494] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[21:19:57:297] [10484:10498] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2

[21:19:57:297] [10484:10485] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[21:19:57:297] [10484:10485] [INFO][com.freerdp.client.common] - Network disconnect!
[21:19:57:297] [10484:10485] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)
[21:19:57:590] [10484:10510] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[21:19:57:590] [10484:10511] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd
[21:19:57:590] [10484:10485] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[21:19:57:708] [10484:10510] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[21:19:58:306] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:19:58:306] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:19:58:306] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:20:03:048] [10484:10513] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2

[21:20:03:048] [10484:10485] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[21:20:03:048] [10484:10485] [INFO][com.freerdp.client.common] - Network disconnect!
[21:20:03:048] [10484:10485] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)
[21:20:03:382] [10484:10526] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[21:20:03:382] [10484:10527] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd
[21:20:03:382] [10484:10485] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[21:20:03:512] [10484:10526] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[21:20:04:012] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:20:04:012] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:20:04:012] [10484:10485] [INFO][com.freerdp.client.x11] - Property 333 does not exist
[21:20:08:719] [10484:10529] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2

[21:20:08:719] [10484:10485] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[21:20:08:719] [10484:10485] [INFO][com.freerdp.client.common] - Network disconnect!
[21:20:08:719] [10484:10485] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)
[21:20:09:010] [10484:10540] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[21:20:09:010] [10484:10541] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd
[21:20:09:010] [10484:10485] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[21:20:09:137] [10484:10540] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[21:20:14:422] [10484:10544] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2

[21:20:14:423] [10484:10485] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[21:20:14:423] [10484:10485] [INFO][com.freerdp.client.common] - Network disconnect!
[21:20:14:423] [10484:10485] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)
[21:20:15:730] [10484:10555] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[21:20:15:730] [10484:10556] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd
[21:20:15:730] [10484:10485] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[21:20:15:841] [10484:10555] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[21:20:28:575] [10484:10485] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.
```
Not sure what all the network disconnects are about. There's no issue with connecting with the xfreerdp command. It responds really well. It stays logged in for as long as I like. The VM is on the same desktop I'm running freerdp and the winapps commands from.

I didn't originally know if this was still successful, so I ran the installer. Here's the output:
```
winapps-main $ ./installer.sh
? Would you like to install for the current user or the whole system? User
Removing any old configurations...
grep: /home/kevin/.local/bin/*: No such file or directory
Installing...
Checking for installed apps in RDP machine (this may take a while)... Finished.

The RDP connection failed to connect or run. Please confirm FreeRDP can connect with:
bin/winapps check

If it cannot connect, this is most likely due to:
- You need to accept the security cert the first time you connect (with 'check')
- Not enabling RDP in the Windows VM
- Not being able to connect to the IP of the VM
- Incorrect user credentials in winapps.conf
- Not merging install/RDPApps.reg into the VM
```

The security cert has been accepted. That happened when I originally connected manually with xfreerdp commands.
RDP is enabled. Verified by successfully connecting with xfreerdp manually.
Same goes for the IP and the user credentials.
And I verified the registry keys were added successfully.

I've restarted the VM several times. Same results. Any suggestions?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.