WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xwayland may have hidden runtime dependencies  (Read 111 times)

Online GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1804
xwayland may have hidden runtime dependencies
« 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:

Code: [Select]
$ xfe
FXApp::openDisplay: unable to open display :0

Various 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: :0

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




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15508
Re: xwayland may have hidden runtime dependencies
« Reply #1 on: March 01, 2026, 06:36:57 AM »
dep file adjusted - I don't use xwayland very often so I missed this  :)

Online GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1804
Re: xwayland may have hidden runtime dependencies
« Reply #2 on: March 01, 2026, 07:07:32 AM »
Thank you! Works like a charm now.