Open kxxt opened 3 years ago
Hmm.. Can you edit ~/.local/bin/winapps
and add set -x
near the top? That will print out a lot of information when you run manually to help debug.
After modification, the command msedge.exe
outputs the following:
➜ ~ msedge.exe
+ '[' '!' -f /home/kxxt/.config/winapps/winapps.conf ']'
+++ readlink -f /home/kxxt/.local/bin/winapps
++ dirname /home/kxxt/.local/bin/winapps
+ DIR=/home/kxxt/.local/bin
++ date
+ RUN='Thu Dec 24 09:29:24 PM CST 2020-32240'
+ '[' '!' -d /home/kxxt/.local/share/winapps ']'
+ RDP_SCALE=100
+ '[' -f /home/kxxt/.config/winapps/winapps.conf ']'
+ . /home/kxxt/.config/winapps/winapps.conf
++ RDP_USER=kxxt
++ RDP_PASS=<HIDDEN_FOR_PRIVACY>
++ RDP_IP=192.168.122.146
++ RDP_SCALE=200
+ dprint START
+ '[' '' = true ']'
+ '[' -f /home/kxxt/.local/share/winapps/run ']'
++ stat -t -c %Y /home/kxxt/.local/share/winapps/run
+ LAST_RAN=1608816545
+ dprint LAST_RAN:1608816545
+ '[' '' = true ']'
+ touch /home/kxxt/.local/share/winapps/run
++ stat -t -c %Y /home/kxxt/.local/share/winapps/run
+ THIS_RUN=1608816564
+ dprint THIS_RUN:1608816564
+ '[' '' = true ']'
+ (( 1608816564 - 1608816545 < 2 ))
++ which xfreerdp
+ '[' -z /usr/bin/xfreerdp ']'
+ '[' -z 192.168.122.146 ']'
+ dprint 1:msedge.exe
+ '[' '' = true ']'
+ dprint 2:msedge.exe
+ '[' '' = true ']'
+ dprint @:msedge.exe msedge.exe ico
+ '[' '' = true ']'
+ MULTI_FLAG=span
+ '[' '' = true ']'
+ '[' msedge.exe = windows ']'
+ '[' msedge.exe = check ']'
+ '[' msedge.exe = manual ']'
+ '[' msedge.exe '!=' install ']'
+ dprint DIR:/home/kxxt/.local/bin
+ '[' '' = true ']'
+ '[' -e /home/kxxt/.local/bin/../apps/msedge.exe/info ']'
+ '[' -e /home/kxxt/.local/share/winapps/apps/msedge.exe/info ']'
+ . /home/kxxt/.local/share/winapps/apps/msedge.exe/info
++ NAME='Microsoft Edge'
++ FULL_NAME='Microsoft Edge'
++ WIN_EXECUTABLE='C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
++ CATEGORIES=WinApps
++ MIME_TYPES=
+ ICON=/home/kxxt/.local/share/winapps/apps/msedge.exe/icon.svg
+ '[' -n msedge.exe ']'
+ dprint HOME:/home/kxxt
+ '[' '' = true ']'
++ echo msedge.exe
++ sed 's|/home/kxxt|\\\\tsclient\\home|;s|/|\\|g;s|\\|\\\\|g'
+ FILE=msedge.exe
+ dprint FILE:msedge.exe
+ '[' '' = true ']'
+ dprint END
+ '[' '' = true ']'
+ xfreerdp /d: /u:kxxt /p:<HIDDEN_FOR_PRIVACY> /v:192.168.122.146 +auto-reconnect +clipboard +home-drive -wallpaper /scale:200 /dynamic-resolution /span '/wm-class:Microsoft Edge' '/app:C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe' /app-icon:/home/kxxt/.local/share/winapps/apps/msedge.exe/icon.svg '/app-cmd:"msedge.exe"'
Still, nothing shows up and I can't figure out why. Sorry for the late response.
.\tasklist.exe | FindStr msedge
outputs nothing.
So I think the app is not started by winapps.
Hi:smile:, winapps is very awesome! While using , I encountered a few problems. When I click on the app icons or manually start them , for example ,
winapps manual cmd
,Nothing happens. even the cpu usage of the virtual machine didn't change.My setup process of winapps: Before running
installer.sh
.winapps check
runs smoothly and the explorer did show up. When using--system
installation , I encountered some permission denied errors,so I switched to--user
installation. The--user
installation finished without errors.The cmd window did popup during
./installer.sh
, so i think it's not xfreerdp's issue.Maybe video better describe my problem.
https://drive.google.com/file/d/1jIj6ZC6344c6Lfr1WpcWD-3whvilPlz8/view?usp=sharing
This is my config file(username and password has been hidden)
My system environment:
My Virtual Machine xml: