winapps-org / winapps

The winapps main project, forked from https://github.com/Fmstrat/winapps/
Other
998 stars 45 forks source link

apps cannot launch, with error "execvp: permission denied" #74

Open shmu26 opened 8 months ago

shmu26 commented 8 months ago

installer.sh ran successfully. The problem is launching apps. For example, launching the Windows command prompt. When I search for "cmd" on my host machine, it is found by search, but when I click on the search result, I get execvp: permission denied

The host is MX Linux 23 KDE (based on Debian 12) The guest is Windows 10, running in qemu/KVM. The guest was created according to the winapp guide, and it runs just fine. BTW thanks for the great guide.

On my host system, the path of the winapps folder is ~/winapps However, the Desktop Entry file for "cmd" was telling the system to look for it in /home/shmuel/.local/bin/winapps And the system was not finding it, obviously. This is the same for all the automatically added apps. So I edited the path in the Desktop Entry file cmd.desktop as follows: Exec=/home/shmuel/winapps cmd %F Now the host system finds cmd, but I get the above-mentioned error: execvp: permission denied

shmu26 commented 8 months ago

In an attempt to solve the issue, I edited the permissions of ~/winapps as in screenshot, but it didn't help. Screenshot_20240123_112209

shmu26 commented 8 months ago

Maybe this helps. Explorer opens, but with errors:

shmuel@mx:~
$ cd winapps
shmuel@mx:~/winapps
$ bin/winapps check
[15:57:54:949] [25141:25142] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[15:57:54:949] [25141:25142] [WARN][com.freerdp.crypto] - CN = RDPWindows
[15:57:55:152] [25141:25142] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: Asia/Tel_Aviv
[15:57:55:452] [25141:25142] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[15:57:55:452] [25141:25142] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[15:57:55:458] [25141:25142] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[15:57:55:458] [25141:25160] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[15:57:55:458] [25141:25142] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[15:57:55:458] [25141:25142] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[15:57:56:145] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:149] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:149] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:150] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:150] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:154] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:154] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:264] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:264] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:379] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:379] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:723] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:723] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:780] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:780] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:56:798] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:56:798] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:57:250] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:57:872] [25141:25160] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[15:57:58:110] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:360] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:360] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:58:687] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:687] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:58:786] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:786] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:58:831] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:831] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:58:848] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:58:848] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:59:950] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:59:950] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:59:976] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:59:976] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:57:59:019] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:57:59:019] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
[15:58:02:103] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer: Invalid appWindow
[15:58:02:103] [25141:25142] [WARN][com.freerdp.client.x11] - xf_Pointer_Set: handle=0
StrausFuenf commented 7 months ago

I think you can ignore the error messages. I had the same problem its missing the winapps files ~/.local/bin/ it needs atleast a winapps file and for every application it also needs the file. Can you check if there is a winapps and explorer file under ~/.local/bin/

oskardotglobal commented 4 months ago

@shmu26 Did you install the RDPWindows.reg inside the VM? Also, in the desktop entry it should be /home/shmuel/winapps/bin/winapps, not /home/shmuel/winapps