Re: Wayland on FreeBSD

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
April 29, 2020 1:24 AM, "Grzegorz Junka" <[email protected]> wrote:

> Many thanks for help and the pointers.
> 
> On 28/04/2020 01:33, Jan Beich wrote:
> 
> % kwrite
> qt.qpa.xcb: could not connect to display
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
> though it was found.
> This application failed to start because no Qt platform plugin could be
> initialized. Reinstalling the application may fix this problem.
> 
> Available platform plugins are: bsdfb, minimal, offscreen, vnc, xcb.

You need to install the qt5-wayland package for the wayland backend to work.
(Also, I don't think Qt prefers it out of the box if the X display works.
You can set QT_QPA_PLATFORM=wayland or run each app with -platform wayland.)

Anyway, "could not connect to display" sounds like Xwayland is not available at all.

Is the $DISPLAY even set automatically?
What's further down in the sway log?
Packaged sway should use Xwayland out of the box, this is odd..
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.