weston with wayland-backend.so is throwing error in arm-64
I am trying to run a qtwayland application via Wayland.
I've set the XDG_RUNTIME_DIR variable as shown below:
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
After setting the weston.ini file in **~/.config **folder
i tried to run the below command:
weston --tty=0 --backend=wayland-backend.so
the output I got is shown below:
Date: 2018-09-03 UTC
[19:56:59.419] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
Build: 1.99.94-2-g4c4f13d configure.ac: bump to version 2.0.0 for the official release (2017-02-24 16:19:03 -0800)
[19:56:59.419] Command line: weston --tty=0 --backend=wayland-backend.so
[19:56:59.420] OS: Linux, 4.14.40-yocto-standard, #1 SMP Fri Aug 31 19:35:42 UTC 2018, aarch64
[19:56:59.420] Using config file '/home/root/.config/weston.ini'
[19:56:59.420] Output repaint window is 7 ms maximum.
[19:56:59.420] Loading module '/usr/lib/libweston-2/wayland-backend.so'
[19:56:59.440] failed to create display: No such file or directory
[19:56:59.440] fatal: failed to create compositor backend
the content of weston.ini is shown below:
[core]
#modules=desktop-shell.so,xwayland.so
[shell]
background-image=/usr/share/backgrounds/passion_flower_by_Irene_Gr.jpg
background-color=0xff002244
panel-color=0x90ff0000
locking=true
animation=zoom
#binding-modifier=ctrl
#num-workspaces=6
#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
#animation=fade
[launcher]
#icon=/usr/share/icons/hicolor/24x24/apps/gtk3-widget-factory.png
#path=/usr/bin/gnome-terminal
[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
#path=/usr/bin/weston-terminal
[launcher]
#icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
#path=/usr/bin/google-chrome
[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/arts.png
#path=./clients/flower
[screensaver]
# Uncomment path to disable screensaver
path=/usr/libexec/weston-screenshooter
duration=600
[input-method]
path=/usr/libexec/weston-keyboard
#[output]
#name=LVDS1
#mode=1680x1050
#transform=90
#[output]
#name=VGA1
#modeline=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
#transform=flipped
#[output]
#name=X1
#mode=1024x768
#transform=flipped-270
Also when I run ls $XDG_RUNTIME_DIR
I don't find any socket (due to the failure of compositor I guess)
what should I do? Any help will be appreciated.