Comments (5)
Thanks for reporting this bug!
I see the same issue also for GNOME Builder. It is interesting that if I boot directly into an X session, it works. But if I logout from a Wayland session and login into a X session, I get the same bug.
I will bring the discussion to my colleagues working in Wayland to see what could have introduced this regression.
from org.gnome.boxes.
Apparently, it works if you remove the --socket=fallback-x11 in the permission. Could you verify whether that works for you?
Regardless, it is still a bug. I just want to confirm it is a Flatpak one. :)
Thanks!
from org.gnome.boxes.
@felipeborges, as far as I know GNOME apps work just fine with the sockets wayland
and x11-fallback
, while many Kde apps require wayland
and x11
in order to work on X. In this particular case the app is using both x11-fallback
and x11
and it should use only one, maybe it could be related to that.
from org.gnome.boxes.
Did this get fixed on GNOME 3.38 hosts?
The cannot open display
error makes me suspect that this is related to the way Mutter sets up Xwayland in the user's session. Especially since it manifests itself when switching from a Wayland session to an Xorg one.
X11 servers can listen on two local sockets -- one abstract, and the other a file system socket at `/tmp/.X11-unix. Flatpak applications (or X11 clients) only use the file system socket, because Flatpak containers have a separate network namespace that prevents them from connecting to the abstract socket.
Prior to GNOME 3.38, Mutter used to only listen for X11 clients connecting to the abstract socket. If the first X11 client inside a Wayland session was a Flatpaked one, then Mutter wouldn't launch Xwayland, and the application would fail to start. In GNOME 3.38, Mutter was changed to only listen for connections to the file system socket to address the issue.
I haven't fully thought this through, but it's worth checking if this issue is still relevant.
from org.gnome.boxes.
Did this get fixed on GNOME 3.38 hosts?
No, it doesn't seem so. I just tried to reproduce the steps pointed by OP above and I still get the "cannot open display" warning, and the app doesn't launch.
The cannot open display error makes me suspect that this is related to the way Mutter sets up Xwayland in the user's session. Especially since it manifests itself when switching from a Wayland session to an Xorg one.
Sounds like this could be the culprit. I recall @grulja was mentioning a similar issue with KDE applications. I'm not sure tho.
from org.gnome.boxes.
Related Issues (20)
- Work being done to rebase to 40? HOT 2
- Cannot add remote connection HOT 2
- [Silverblue 35] 3D Acceleration option suddenly gone. VM which had it set before crash on startup HOT 3
- Closing the GUI does not seem to terminate the flatpak process HOT 5
- 3D acceleration doesn't work on first boot of VM after the host rebooted. HOT 2
- Update to 42.0 loses access to existing virtual machines HOT 4
- Memory and disk size buttons don't work with version 42 HOT 2
- No 3D Acceleration Option HOT 1
- The "Edit Configuration" button doesn't open a VM's configuration to edit HOT 5
- unable to restart (Haiku) and then crash
- allowing boxes to be provisioned with system-wide visibility HOT 1
- Wayland icon displaying as generic HOT 2
- Can't launch VM because of "util-app.vala:442: Failed to execute: virsh capabilities" error HOT 9
- File picker causes xdg-desktop-portal-gtk to segfault HOT 2
- Windows 10 guest unable to connect to the Internet on Debian 12 host HOT 1
- Gnome Boxes can not be opened after reinstalled HOT 9
- virtlogd: Client hit max requests limit 1 HOT 1
- Include ovmf package HOT 1
- (Wayland) Desktop file name missmatch with app-id HOT 3
- Can't run a VM with 3D acceleration activated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.gnome.boxes.