Bazzite - Windows VMs and Podman
I'm experiencing this issue:
https://universal-blue.discourse.group/t/podman-and-freerdp-problem/2000
Where I am unable to connect via RDP to a vm created inside of a Podman container.
The recommended solution of:
Gives me this bizarre report back:
Any idea what is going on here? why is a Podman unshare command erroring out because of Homebrew???
Can I fix this somehow?
Universal Blue
Podman and freerdp problem
I’m trying to connect to Windows11 in a container using freerdp. The container is running and noVNC can connect to it via http://127.0.0.1:8006 but freerdp shows error Connection reset by peer. This is related to winapps. As far as I understand a request should come up to accept some certificates but that never comes up. Perhaps because the er...
11 Replies
What do you get if you type
which podman
? I'm getting "/usr/bin/podman". Podman is available via brew, did you accidentally install podman in brew?
also, which brew gives:
I'm also unsure how it's dropping me into root@bazzite after running that unshare command. It did not prompt me to elevate to root or anything
and I was not not in another role/user when I ran the command either
This is what I get , also get an error but a different one 😅
It seems like it's real root too, not some chroot fake root inside of a podman container, because it does see dir's I'd expect to see in /
If this is some bizarre way to elevate to root without auth this seems like a huge bug
it says root but it doesn't have the same permissions as root (fortunately)
well that's good, and I'm glad (I guess) that you were also able to replicate the root thing, even if not the homebrew thing
since it's not just me then
I'm not sure who I should open this up as an issue though. Podman? Ostree? Bazzite?
Might be worth taking a step back. What exactly are you trying to achieve? There might be another way
I'm trying to rdp into a windows VM created in virtual machine manager
VMM is installed in a distrobox container so that I don't need to layer a ton of stuff
Distrobox is using the podman container engine to create its distro container
GitHub
distrobox/docs/posts/run_libvirt_in_distrobox.md at main · 89luca89...
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
the "dockur" project, which similarly creates a windows vm in an automated way (and it's fundimentally doing basically the same thing as I was doing via VMM here, just automatically instead of manually, since it needs to emulate a new kernel for windows, which podman doesn't do) also has people experiencing the same issue logging in via RDP
https://github.com/dockur/windows/issues/679
GitHub
Unable to connect through RDP: Connection reset by peer · Issue #67...
Operating system Fedora Linux 40 (Workstation Edition) Description When connecting to docker container (through localhost:3389, localhost:8006) with RDP protocol using Remmina, Gnome Connections, a...
they seem to be able to sucessfully run
podman unshare --rootless-netns
however judging from the comments