I write the command that start up weston and client sample simple-egl into a script like this:
export LD_LIBRARY_PATH="/usr/lib" export XDG_RUNTIME_DIR="/tmp" mkdir -p XDG_RUNTIME_DIR export GAL2D_DISPLAY=1 export XDG_CONFIG_HOME=/root/.config
weston&
export LD_LIBRARY_PATH="/usr/lib" export XDG_RUNTIME_DIR="/tmp"
simple-egl &
The weston server can start,but the simple-egl can not run.
What's the reason ?