Winapps doesnt work

Exiting with status '14'. Trying to configure Winapps for 2 days in a row without any success. I can connect by freerdp manually (like this xfreerdp /v:192.168.122.155 /u:RDPWindows /p:xxxxx) But when i try to do setup.sh im getting the things on screenshots (terminal and Log file) How can i fix it?
No description
No description
101 Replies
brauni
brauniβ€’6d ago
Can you provide more info? ill have a look tomorrow what repo are you using? there is https://github.com/Fmstrat/winapps and https://github.com/winapps-org/winapps what virtualization? podman, docker, libvirt?
GitHub
GitHub - Fmstrat/winapps: Run Windows apps such as Microsoft Office...
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. - Fmstrat/winapps
BazZzilio
BazZzilioOPβ€’5d ago
im using the one from official page. Guess it docker but where can i find additional info just tell me. The log files are there, seems that something wrong with open64 codec or whatever shit but it's installed in fact
brauni
brauniβ€’4d ago
Okay, so this is how it works for me with podman, which should be installed by default. See also this guide which is a little more verbose: https://universal-blue.discourse.group/t/winapps-in-bazzite-portal/2199/3 install dialog with "brew install dialog" install podman-compose with "brew install podman-compose" clone this repo: https://github.com/winapps-org/winapps create folder ~/.config/winapps edit file ~/.config/winapps/winapps.conf copy the default contents from here: https://github.com/winapps-org/winapps?tab=readme-ov-file#step-3-create-a-winapps-configuration-file change: WAFLAVOR="podman" [WINDOWS USERNAME] RDP_USER="YOURUSER" [WINDOWS PASSWORD] RDP_PASS="YOURPASSWORD" go back to the cloned repo edit the compose.yaml file change: IMAGE: image: docker.io/dockurr/windows # https://hub.docker.com/r/dockurr/windows VERSION: "10l" # or whatever image you want to use USERNAME: "YOURUSER" # Uncomment to set a custom Windows username. The default is 'Docker'. PASSWORD: "YOURPASSWORD" # Uncomment to set a password for the Windows user. There is no default password. run "podman-compose --file compose.yaml up -d" watch the installation in your browser: "http://127.0.0.1:8006/" when its finished logout in your Browser and go back to the cloned repo folder run "podman unshare --rootless-netns" run "./setup.sh"
Universal Blue
Winapps in Bazzite Portal
Guide to getting Winapps working on Bazzite I did this in Bazzite with KDE. I wouldn’t consider myself knowledgeable about WinApps and how it functions. So feel free to ask questions but don’t expect me to be able to answer confidently. I just wanted to catalogue how I went about installing it, to make it easier for others, and hopefully to loo...
BazZzilio
BazZzilioOPβ€’3d ago
Thx for the article! Ill follow ur guide and report later I followed the instruction for docker but in the end still got that
BazZzilio
BazZzilioOPβ€’3d ago
No description
No description
brauni
brauniβ€’3d ago
Can you get into the Windows install with the Url? http://127.0.0.1:8006/ And can you paste your: .config/winapps/winapps.conf and paste the compose.yaml Best to remove the Passwords before pasting it here
BazZzilio
BazZzilioOPβ€’3d ago
Yea it worked even before But okay i solved the issue somehow... Now everything works like a dream lol all of the sudden
brauni
brauniβ€’3d ago
Cool! πŸ™‚
BazZzilio
BazZzilioOPβ€’3d ago
But lemme try to reboot. I guess sometimes something occupies 3889 and 8006 ports and i had to kill these processes manually
brauni
brauniβ€’3d ago
You can run something like sudo netstat -tulpn | grep ':3389 to see whats running on those ports
BazZzilio
BazZzilioOPβ€’3d ago
yea i rebooted and now cant run office again, it says BOOTING WINDOWS but in fact i can already access it thru browser ahhh :dispair:
brauni
brauniβ€’3d ago
can you run "docker ps" also run "podman ps" to be safe πŸ˜„
BazZzilio
BazZzilioOPβ€’3d ago
bazzite@bazzite:~/winapps$ docker ps permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied podman ps empty list
brauni
brauniβ€’3d ago
run "sudo docker ps"
BazZzilio
BazZzilioOPβ€’3d ago
sudo docker ps [sudo] password for bazzite: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a8a00ca97129 dockurr/windows "/usr/bin/tini -s /r…" 3 days ago Up 6 minutes 0.0.0.0:3389->3389/tcp, :::3389->3389/tcp, 0.0.0.0:8006->8006/tcp, 0.0.0.0:3389->3389/udp, :::8006->8006/tcp, :::3389->3389/udp WinApps man im really confused :happy_green_trees: i always forget something what if ill change ports?
brauni
brauniβ€’3d ago
looks fine to me try "sudo docker logs WinApps" if there is anything noteworthy
BazZzilio
BazZzilioOPβ€’3d ago
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,85314E23-D040-4EED-A8B5-ED7717F1EBC6,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,85314E23-D040-4EED-A8B5-ED7717F1EBC6,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi ❯ Windows started succesfully, visit http://localhost:8006/ to view the screen..
brauni
brauniβ€’3d ago
thats fine as well. Did you get a log entry after Office Failed? should be in ~/.local/share/winapps/
BazZzilio
BazZzilioOPβ€’3d ago
No description
BazZzilio
BazZzilioOPβ€’3d ago
I get this always ok lemme check
BazZzilio
BazZzilioOPβ€’3d ago
BazZzilio
BazZzilioOPβ€’3d ago
this? maybe i got 2 containers for some reason thats why its confusing idk
brauni
brauniβ€’3d ago
can you paste "sudo docker ps -a" this would show if there is multiple ones
BazZzilio
BazZzilioOPβ€’3d ago
sudo docker ps -a [sudo] password for bazzite: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a8a00ca97129 dockurr/windows "/usr/bin/tini -s /r…" 3 days ago Up 14 minutes 0.0.0.0:3389->3389/tcp, :::3389->3389/tcp, 0.0.0.0:8006->8006/tcp, 0.0.0.0:3389->3389/udp, :::8006->8006/tcp, :::3389->3389/udp WinApps ceb5a7e09acd hello-world "/hello" 3 days ago Exited (0) 3 days ago
brauni
brauniβ€’3d ago
go to the folder where the compose.yaml lives
BazZzilio
BazZzilioOPβ€’3d ago
ok
brauni
brauniβ€’3d ago
and run "sudo docker compose --file compose.yaml down" this will shut down the container
BazZzilio
BazZzilioOPβ€’3d ago
sudo docker compose --file compose.yaml down [sudo] password for bazzite: [+] Running 2/2 βœ” Container WinApps Removed 6.8s βœ” Network winapps_default Removed its stopped
brauni
brauniβ€’3d ago
and then we start it again with "sudo docker compose --file compose.yaml up -d" and then try the office again
BazZzilio
BazZzilioOPβ€’3d ago
i ran the container but office still doesnt work
brauni
brauniβ€’3d ago
do you have a shortcut to "windows" ? Does that one work?
BazZzilio
BazZzilioOPβ€’3d ago
when i stop the container does it stop the VM?
brauni
brauniβ€’3d ago
wait wait wait. you have a vm as well?
BazZzilio
BazZzilioOPβ€’3d ago
virtual machine manager i tried with it before but i deleted the VM there
brauni
brauniβ€’3d ago
is that one running currently? okay, so we should be fine there
BazZzilio
BazZzilioOPβ€’3d ago
No description
BazZzilio
BazZzilioOPβ€’3d ago
Still got this tho Do i have to delete it? maybe it confuses everything) that QEMU/KVM stuff
brauni
brauniβ€’3d ago
no, should be fine, looks the same on my end and you have WAFLAVOR="docker" in ~/.config/winapps/winapps.conf
BazZzilio
BazZzilioOPβ€’3d ago
No description
brauni
brauniβ€’3d ago
change WAFLAVOR to "docker" and change RDP_IP to ""
BazZzilio
BazZzilioOPβ€’3d ago
aight then? run again?
brauni
brauniβ€’3d ago
ye
BazZzilio
BazZzilioOPβ€’3d ago
the container?
brauni
brauniβ€’3d ago
should still be up
brauni
brauniβ€’3d ago
you can try the Windows Shortcut instead of office
No description
BazZzilio
BazZzilioOPβ€’3d ago
hmm now it tries to run but just nothing happens in the end without that message like before
brauni
brauniβ€’3d ago
i think there is some mess with docker and podman
BazZzilio
BazZzilioOPβ€’3d ago
yea i messed it up
brauni
brauniβ€’3d ago
we'll figure it out πŸ˜„
BazZzilio
BazZzilioOPβ€’3d ago
lets try to rerun container maybe?
brauni
brauniβ€’3d ago
change the config back to WAFLAVOR="podman" dont change the RDP_IP
BazZzilio
BazZzilioOPβ€’3d ago
ok he chooses the ip automatically right?
brauni
brauniβ€’3d ago
run "sudo docker stop WinApps" yeah its just your local ip anyways then run "sudo docker ps" and make sure nothing is running
BazZzilio
BazZzilioOPβ€’3d ago
ok winapps is stopped i guess nothing is running rn
brauni
brauniβ€’3d ago
try and launch office should get the startup thing again? this one?
BazZzilio
BazZzilioOPβ€’3d ago
yes
brauni
brauniβ€’3d ago
but no success ?
BazZzilio
BazZzilioOPβ€’3d ago
no success cuz winapps is down i guess right
brauni
brauniβ€’3d ago
it should be able to start it for you, I think but not 100% on that go to where the compose.yaml is and run podman-compose --file compose.yaml up -d it might complain about a container existing or something
BazZzilio
BazZzilioOPβ€’3d ago
No description
BazZzilio
BazZzilioOPβ€’3d ago
yea
brauni
brauniβ€’3d ago
try "podman-compose --file compose.yaml start"
BazZzilio
BazZzilioOPβ€’3d ago
No description
brauni
brauniβ€’3d ago
thats fine podman ps should show it running now lets try office
BazZzilio
BazZzilioOPβ€’3d ago
wow now its working thx a lot but i want to make it work stable after reboot)))
brauni
brauniβ€’3d ago
okay, lets make sure it stays that way πŸ˜„ can you run sudo docker ps -a
BazZzilio
BazZzilioOPβ€’3d ago
No description
brauni
brauniβ€’3d ago
"sudo docker rm WinApps" (we delete the docker one, so it cant start again) then run sudo docker ps -a again and it should be gone you are running Bazzite, right?
BazZzilio
BazZzilioOPβ€’3d ago
No description
BazZzilio
BazZzilioOPβ€’3d ago
Right? Yep
brauni
brauniβ€’3d ago
yep, the "bad" container is gone
BazZzilio
BazZzilioOPβ€’3d ago
so if i reboot now it will be fine?
brauni
brauniβ€’3d ago
Give me a second, I need to look up how to make podman auto start
BazZzilio
BazZzilioOPβ€’3d ago
yea man that winapps thing has been my biggest linux challenge yet thx for helping!
brauni
brauniβ€’3d ago
I had A LOT of trouble with it in the past
BazZzilio
BazZzilioOPβ€’3d ago
winapps you mean? Btw is there an option how to add the apps without reinstalling the container?
brauni
brauniβ€’3d ago
yeah, needed it for lightroom and stuff
BazZzilio
BazZzilioOPβ€’3d ago
I use wine for CC2018 photoshop but havent tried something serious
brauni
brauniβ€’3d ago
you can run the setup.sh in the folder where compose.yaml is again it will ask you to uninstall you do that and run it again and then chose the programs you need
BazZzilio
BazZzilioOPβ€’3d ago
Im just wondering why linux can run games almost flawlessly but no programs
brauni
brauniβ€’3d ago
it will not remove the container just remove the shortcuts until you run setup.sh again I think we need this: systemctl --user enable podman-restart.service
BazZzilio
BazZzilioOPβ€’3d ago
of win apps>
brauni
brauniβ€’3d ago
yes
BazZzilio
BazZzilioOPβ€’3d ago
systemctl --user enable podman-restart.service Created symlink '/home/bazzite/.config/systemd/user/default.target.wants/podman-restart.service' β†’ '/usr/lib/systemd/user/podman-restart.service
brauni
brauniβ€’3d ago
you can not add a single app shortcut, you always have to remove all shortcuts and add the ones you like again (for some reason)
BazZzilio
BazZzilioOPβ€’3d ago
Ahh alright. But does lightroom and PS run okay thru winapps? Or wine is fine maybe idk...
brauni
brauniβ€’3d ago
Yeah it was okay, but I did most of it just using "Remmina" to RDP into the Container and running Lightroom there, instead of having the windows in linux directly because with the lightroom toolbars and stuff it was a mess but for word and office it worked great
BazZzilio
BazZzilioOPβ€’3d ago
yea word works OKAY if you are not resizing the windows too much so lemme try to reboot and check
brauni
brauniβ€’3d ago
I'll do the same πŸ˜› How did you install docker? Layering? Didn't start for me :/
BazZzilio
BazZzilioOPβ€’3d ago
It works after reboot too! hmm i used the instruction you shared in the first message But before that i tried something else Dont exactly remember
brauni
brauniβ€’3d ago
glad to hear can you run "rpm-ostree status" ? and then I'll leave you to it πŸ˜„
BazZzilio
BazZzilioOPβ€’3d ago
ok wait
BazZzilio
BazZzilioOPβ€’3d ago
No description
BazZzilio
BazZzilioOPβ€’3d ago
is it fine?
brauni
brauniβ€’3d ago
You should probably remove the layered docker packages, but I dont have much experience in that regard wont interefere with WinApps
BazZzilio
BazZzilioOPβ€’3d ago
yea that packaging in fedora is very confusing in general i usually try distrobox and debian innit πŸ™‚ Btw maybe it was possible to install it thru distrobox
brauni
brauniβ€’3d ago
I think you should be fine to run rpm-ostree remove docker-ce docker-ce-cli virt-manager (if you dont need VMs) and you could switch podman-compose to brew instead of layering it, but that might mess with WinApps for a bit
BazZzilio
BazZzilioOPβ€’3d ago
Maybe ill need VMs in the future let it be)
tulip
tulipβ€’3d ago
@BazZzilio you should've just made a vm in the gnome boxes flatpak 😭 this winapps thing is awfully complicated for no reason
BazZzilio
BazZzilioOPβ€’3d ago
Maybe but its done already πŸ™‚ took a while haha
brauni
brauniβ€’3d ago
Where would be the fun in that? πŸ˜„
Want results from more Discord servers?
Add your server