Connect to the target through SSH and run target commands from the root shell. For instructions, see Sign in using SSH.
1. Stop Weston
Stop Weston and its socket before starting the XWayland session:
2. Set the runtime directory
In the same target SSH session, set the runtime directory for the current user:
Create the directory if it does not exist:
3. Start Weston with XWayland
Start Weston with XWayland support:
The command runs in the foreground. Keep the SSH session open while using Weston. If startup fails, review the error in the terminal before retrying.
4. Verify the display
Confirm that the Weston flower pattern appears on the connected display, as shown below.
Figure: Weston flower pattern

