61
TCE Bugs / xwayland may have hidden runtime dependencies
« Last post by GNUser on February 28, 2026, 12:00:02 PM »Hi Juanito. I see you are the maintainer for xwayland.tcz. I did an experiment and would like to share the result.
The experiment was to check my ability to run X applications in TCL17 x86_64 using labwc compositor, with no X-related extensions in onboot.lst except for xwayland.tcz and the X applications themselves. My test application was xfe.tcz.
Since labwc is able to detect X applications and automatically launch them in xwayland, I expected the experiment to be a success. But the experiment failed:
Various other X-only applications that need xwayland to run in labwc failed with similar error messages:
After much trial and error, I discovered that if I add libxcvt.tcz and xkbcomp.tcz to onboot.lst, then labwc is able to launch X applications in xwayland without any problem. Loading these two extensions after the system is already running does not help--they seem to be present before labwc starts.
I'm not sure if the need for libxcvt.tcz and xkbcomp.tcz in order to use xwayland.tcz is specific to labwc. If it's not a labwc-specific need, maybe libxcvt.tcz and xkbcomp.tcz should be added to xwayland.tcz.dep.
At the very least, I'd like to suggest that xwayland.tcz.info be updated with a note saying that if X applications fail with "unable to open display :0", the solution may be to add libxcvt.tcz and xkbcomp.tcz to onboot.lst
The experiment was to check my ability to run X applications in TCL17 x86_64 using labwc compositor, with no X-related extensions in onboot.lst except for xwayland.tcz and the X applications themselves. My test application was xfe.tcz.
Since labwc is able to detect X applications and automatically launch them in xwayland, I expected the experiment to be a success. But the experiment failed:
Code: [Select]
$ xfe
FXApp::openDisplay: unable to open display :0Various other X-only applications that need xwayland to run in labwc failed with similar error messages:
Code: [Select]
$ /usr/local/share/wscreensaver/animations/xanalogtv
Error: Can't open display: :0After much trial and error, I discovered that if I add libxcvt.tcz and xkbcomp.tcz to onboot.lst, then labwc is able to launch X applications in xwayland without any problem. Loading these two extensions after the system is already running does not help--they seem to be present before labwc starts.
I'm not sure if the need for libxcvt.tcz and xkbcomp.tcz in order to use xwayland.tcz is specific to labwc. If it's not a labwc-specific need, maybe libxcvt.tcz and xkbcomp.tcz should be added to xwayland.tcz.dep.
At the very least, I'd like to suggest that xwayland.tcz.info be updated with a note saying that if X applications fail with "unable to open display :0", the solution may be to add libxcvt.tcz and xkbcomp.tcz to onboot.lst
Recent Posts