익명 04:14

Freecad (stable) reports error in Ubuntu 26.04 "Failed to create wl_display (No ...

Freecad (stable) reports error in Ubuntu 26.04 "Failed to create wl_display (No such file or directory)"

I use Freecad since more than 5 years on Ubuntu.

Freecad, channel stable, doesn't start anymore on all my Ubuntu machines installed with Ubuntu 26.04 (kept up-to-date). Channel edge however, does start.

Summary of the error (when started "freecad" in the terminal):

"Failed to create wl_display (No such file or directory) (qt.qpa.plugin) From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin."

Full text of the error massage:

Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
FreeCAD 1.1.1, Libs: 1.1.1R44227 +647 (Git)
(C) 2001-2026 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

Adding snap-specific PYTHONPATH to sys.path: /home/harm/snap/freecad/common/.local/lib/python3.12/site-packages:/snap/freecad/2337/lib/python3.12/site-packages:/snap/freecad/2337/usr/lib/python3/dist-packages

Failed to create wl_display (No such file or directory)
(qt.qpa.plugin) From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


Top Answer/Comment:

Welcome to ASK

The error "Failed to create wl_display (No such file or directory)" in FreeCAD on Ubuntu 26.04 is likely due to a recent update of the kf6-core24 snap that broke compatibility. Reverting the kf6-core24 snap to a previous working version can resolve this issue.

I suspect this will get fixed in the fullness of time.

sudo snap refresh
Check that you start with full up-to-date snaps.

snap list
List all your snaps and check the version

sudo snap revert kf6-core24
Revert the problematic snap

snap list
Check the reversion has taken effect.

If it gets fixed, then...

sudo snap refresh
To bring all your snaps back up-to-date.

https://oneuptime.com/blog/post/2026-03-02-how-to-revert-a-snap-to-a-previous-revision-on-ubuntu/view

상단 광고의 [X] 버튼을 누르면 내용이 보입니다