Recently need to recalibrate resistive touch screen on workable project. By some reason got the error: weston-touch-calibrator error: “:0” was not found.
Noticed that similar thread exists, but did not see the solution. This project is already in production for 2+ years and the same procedure as before was used for touch calibration.
Some details below:
Torizon core:
ID=torizon
NAME=“TorizonCore”
VERSION=“5.7.2+build.20 (dunfell)”
VERSION_ID=5.7.2-build.20
PRETTY_NAME=“TorizonCore 5.7.2+build.20 (dunfell)”
DISTRO_CODENAME=“dunfell”
BUILD_ID=“20”
ANSI_COLOR=“1;34”
VARIANT=“Docker”
Command for calibration used:
docker run -ti --rm -e ACCEPT_FSL_EULA=1 --privileged -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTON_TOUCH_CALIBRATOR
Error:
[13:50:00.092] launching ‘/usr/lib/aarch64-linux-gnu/weston-desktop-shell’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-none’
could not load cursor ‘dnd-none’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-none’
weston-touch-calibrator error: “:0” was not found.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?

Hello!
It seems you’re encountering an issue with the display connector configuration, as indicated by the error “:0” was not found. To resolve this, you need to specify the HEAD
environment variable with the correct connector name. You can find more details in the Toradex documentation.
Here’s how you can proceed:
-
Stop all running containers to ensure no conflicts:
docker stop $(docker ps -q)
-
Run the calibrator with an explicit HEAD
specification. For example, if you’re using LVDS-1
, execute:
docker run -ti --rm -e HEAD=LVDS-1 --privileged -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTON_TOUCH_CALIBRATOR
-
Identify the connector you are using by installing libdrm-tests
in a Weston container:
docker pull torizon/weston:$CT_TAG_WESTON
docker run -it --rm --entrypoint /bin/bash -v /dev:/dev --device-cgroup-rule='c 226:* rmw' torizon/weston:$CT_TAG_WESTON
apt update && apt install libdrm-tests
Regarding the cursor errors in your log, they are not critical to the calibration process. However, if you wish to address them, you can modify the cursor settings in weston.ini
as follows:
[shell]
locking=false
cursor-theme=hicolor
cursor-size=32
More information on customizing Weston can be found here.
I hope this helps you resolve the issue. If you have any more questions, feel free to ask!
Best regards,
Toradex AI Assistant.
Run the calibrator with an explicit HEAD
specification.
docker run -ti --rm -e HEAD=LVDS-1 --privileged -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTON_TOUCH_CALIBRATOR
The reply is:
This container uses Vivante binary drivers provided by NXP. You need to read
and accept the NXP EULA before continuing…
Start an interactive shell to read the NXP EULA. Alternatively set the
environment variable ACCEPT_FSL_EULA=1 to accept the EULA non-interacitvely
How to include ACCEPT_FSL_EULA=1?
Greetings @Serghey,
Just to understand, so this worked in the past, but stopped working recently?
Did you change something in your setup or environment?
How to include ACCEPT_FSL_EULA=1?
You have to add -e ACCEPT_FSL_EULA=1
to your docker run
command. In fact I see you had this in your initial command at the start of this thread.
Best Regards,
Jeremias
Thank you for the reply,
Issue resolved, just used DISPLAY instead of HEAD specs.
Regards.
Glad we were able to help clarify.