无法从ssh启动weston on linux yocto

时间:2018-03-23 02:48:50

标签: linux yocto wayland

我有错误“没有找到drm设备”,如下所示。 我认为邮件错误是致命的:未能创建compoitor后端。 我的lib中有以下内容 desktop-shell.so drm-backend.so fbdev-backend.so fullscreen-shell.so gl-renderer.so hmi-controller.so ivi-shell.so wayland-backend.so x11-backend.so

root@salvator-x:/etc/systemd/system/multi-user.target.wants# /usr/bin/weston-launch \
  -u root --  --idle-time=0 --config=/etc/xdg/weston/weston-drm-hdmi.ini  $OPTARGS
Date: 2018-02-26 UTC
[21:29:08.949] weston 1.11.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.11.0
               Build: a9df8430-dirty v4l2-renderer: Fix calcluation of clip region (2017-04-13 18:25:00 +0900)
[21:29:08.949] OS: Linux, 4.9.0-yocto-standard, #1 SMP PREEMPT Mon Feb 26 17:46:03 EST 2018, aarch64
[21:29:08.949] Using config file '/etc/xdg/weston/weston-drm-hdmi.ini'
[21:29:08.950] Output repaint window is 34 ms maximum.
[21:29:08.950] Loading module '/usr/lib/weston/drm-backend.so'
[21:29:08.954] initializing drm backend
[21:29:08.954] logind: failed to get session seat
[21:29:08.954] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[21:29:08.955] no drm device found
[21:29:08.955] fatal: failed to create compositor backend
failed to restore keyboard mode: Bad file descriptor
failed to set KD_TEXT mode on tty: Bad file descriptor
could not reset vt handling

如何在Linux yocto上启动weston?

这是图片:

enter image description here

1 个答案:

答案 0 :(得分:1)

所以......我找到了问题的答案 它有三个错误logind(systemd)无法访问输入键盘类型 第二个是没有找到drm设备,这意味着您无法访问输出端口。尝试对端口进行故障排除,使其可以访问主板,然后尝试使用正确的配置启动weston。

注意:如果您没有连接键盘或鼠标,最好使用usb,Weston wayland将无法启动