How to open X server on imx8m mini Xwayland system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to open X server on imx8m mini Xwayland system

365 Views
Tracy
Contributor II

Hi

        I am using i.MX Linux Yocto Project BSP 5.10.52_2.1.0 Release to build the imx8m mini system environment,My Settings are as follows:
MACHINE ??= 'imx8mmevkdesktop'
DISTRO ?= 'imx-desktop-xwayland'

       I have added chromium-x11_91.0.4472.114.bb into my system,I turned on the "proprietary-codecs" and the "use-vaapi" option, then added "libva-initial" to the "DEPENDS +=" of the chromium-gn.inc file.

       At present, chromium has been successfully compiled, and after entering the system, but I get an error when I try to open chromium:"ERROR:browser_main_loop.cc(1402)] Unable to open X display."

      Obviously, this is caused by the lack of Xorg in the system, but I have looked up a lot of materials and learned that the Xwayland architecture can run programs compiled by X11 protocol, so I am not clear why there is such an error.

     I would like to ask how to open Xorg and Xserver under Xwayland to support chromium-x11 operation.

 

 

 

Thanks in advance,

Tracy

0 Kudos
0 Replies