mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Running in Fedora 39 with podman #564
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @petasis on GitHub (Dec 28, 2023).
OS related issued, please help us identify the issue by posting the output of this
Linux fedser-aero 6.6.8-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC
In order to get it run under fedora 39, I had to add this additional option:
--security-opt label=type:container_runtime_t.@alexjfinch commented on GitHub (Jan 4, 2024):
I couldn't quite get your code to work above however, the following managed to work for me in Fedora 39 Gnome Wayland and Nobara 39 KDE Wayland.
The following command is necessary after every reboot;
sudo chmod 777 $XDG_RUNTIME_DIR/wayland-*Then the following working for me
This worked for me after multiple attempts at trying to solve this.
@alexjfinch commented on GitHub (Jan 4, 2024):
Further more the QEMU instance stops grabbing inputs after the instance starts running, usually after a couple of apps have opened. The machine hasn't crashed and continues to run as I can see the cursor blinking and iMessage updates, but for some reason the container no longer receives an input
I think its a ram related issue but yet to figure it out
UPDATE
Managed to keep the machine running for 15 minutes now by only opening 1 app and assigning 5G of RAM - baremetal has 16GB RAM and I've closed as much as possible to free up RAM for allocation. I've also purged cache using the following shortly after the container span up;
sudo tee /proc/sys/vm/drop_caches <<< 3@Crilum commented on GitHub (Feb 3, 2024):
@alexjfinch
Thanks for this!! It works for me too.
Solved some frustration 😂
@alexjfinch commented on GitHub (Feb 3, 2024):
Further update, managed to get Ventura working with the following;
@Crilum commented on GitHub (Feb 3, 2024):
Yeah, I tried that too, and it does work!
@jelabarre59 commented on GitHub (Mar 11, 2024):
Your suggested command above didn't work for me. Now I don't know if it's because my user has to be a mamber of some particular group for guestfish, or because I'm nit running Wayland (no support for Wayland in Cinnamon currently).
This is with Fedora 39, podman version 4.9.3, guestfish 1.52, and the wayland libraries
libwayland-client-1.22.0-2.fc39.x86_64
libwayland-server-1.22.0-2.fc39.x86_64
libwayland-egl-1.22.0-2.fc39.x86_64
libwayland-cursor-1.22.0-2.fc39.x86_64
xisxwayland-2-3.fc39.x86_64
libwayland-client-1.22.0-2.fc39.i686
libwayland-cursor-1.22.0-2.fc39.i686
libwayland-server-1.22.0-2.fc39.i686
libwayland-egl-1.22.0-2.fc39.i686
qt6-qtwayland-6.6.0-1.fc39.x86_64
wayland-devel-1.22.0-2.fc39.x86_64
qt5-qtwayland-5.15.12-2.fc39.x86_64
xorg-x11-server-Xwayland-23.2.4-1.fc39.x86_64
kf5-kwayland-5.113.0-2.fc39.x86_64
qt5-qtwayland-5.15.12-2.fc39.i686
@Crilum commented on GitHub (Mar 12, 2024):
@jelabarre59 it looks like maybe your
/tmp/permissions are messed up?? Guestfish can't access its tmp file/directory@sickcodes commented on GitHub (Apr 8, 2024):
This is great for potential wayland/X issues, do you to add a note to the README?
@alexjfinch commented on GitHub (Apr 8, 2024):
Apologies I've never used github to contribute other than comments! I wouldn't have a clue on how to contribute to the README.
@jelabarre59 commented on GitHub (Apr 9, 2024):
It's the same as any of my other Fedora systems:
@alexjfinch commented on GitHub (Apr 9, 2024):
What spin of Fedora are you using? I'll spin up a VM and see if I can replicate your issue.
@jelabarre59 commented on GitHub (Apr 9, 2024):
Fedora 39 Cinnamon
@alexjfinch commented on GitHub (Apr 10, 2024):
Ok, I think I've managed to get something working for you. You don't need the wayland libraries and, as you state, the Cinnamon spin is still on X11.
You'll need to install a couple of packages;
sudo dnf install xev xprop -yOnce they're installed run, this has be done every time - it doesn't appear to be persistent
xhost +I've had varying success, but you shouldn't need to disable SELinux, however if you do;
sudo setenforce 0make sure libvirt and qemu-kvm are installed;
sudo dnf install libvirt qemu-kvm -yand that you're added to those user groups;
sudo usermod -aG libvirt "${USER}"sudo usermod -aG kvm "${USER}"That's pretty much all I had to do from a completely fresh install of Fedora cinnamon with the following container;
podman run -it --device /dev/kvm --device /dev/snd -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' --security-opt label=type:container_runtime_t sickcodes/docker-osx:sonoma