xieyunsky 发表于 2023-5-15 16:31:14

官方提供的debian11固件如何启用wayland显示

我想更换系统debian11自带的xfce4桌面换成gnome桌面然后使用wayland来进行显示,但是安装完gnome桌面后,进入系统显示协议还是X11的,我应该怎么操作,才可以将系统的显示协议更换为wayland呢。这个更改主要是为了安装waydroid,waydroid需要wayland桌面环境。


我在登录界面点击齿轮图标,选择了非gnome的桌面环境,进去桌面后,还是X11的桌面环境,求助大佬们,这个需要怎么修改,才能使用wayland桌面环境。

xieyunsky 发表于 2023-5-23 13:27:29

目前的进展是Weston桌面已经是wayland环境,也可以正常使用waydroid,只是无法开启硬件加速。但是在gnome桌面下,选择wayland显示无法登录到桌面,会闪退,gnome桌面下登录X11显示环境没有问题,/var/log/messages显示错误信息如下:
May 23 13:26:01 firefly gnome-session: Unable to init server: Could not connect: Connection refused
May 23 13:26:01 firefly gnome-session-c: cannot open display: :0
May 23 13:26:01 firefly gnome-session: gnome-session-binary: WARNING: software acceleration check failed: Child process exited with code 1
May 23 13:26:01 firefly gnome-session: Unable to init server: Could not connect: Connection refused
May 23 13:26:01 firefly gnome-session-f: Cannot open display:
May 23 13:26:02 firefly gdm3: Gdm: GdmDisplay: Session never registered, failing
May 23 13:26:02 firefly gsd-rfkill: Could not disable kernel handling of RFKILL related keys: Inappropriate ioctl for device
May 23 13:26:02 firefly gnome-shell: Failed to set hardware cursor (drmModeSetCursor failed: No such device or address), using OpenGL from now on
May 23 13:26:02 firefly goa-daemon: goa-daemon version 3.38.0 starting
May 23 13:26:02 firefly kernel: [ 9362.338798] dwhdmi-rockchip fde80000.hdmi: use tmds mode
May 23 13:26:02 firefly kernel: [ 9362.392779] dwhdmi-rockchip fde80000.hdmi: use tmds mode
May 23 13:26:02 firefly org.gnome.Shell.desktop: The XKEYBOARD keymap compiler (xkbcomp) reports:
May 23 13:26:02 firefly org.gnome.Shell.desktop: > Warning:          Unsupported maximum keycode 569, clipping.
May 23 13:26:02 firefly org.gnome.Shell.desktop: >                   X11 cannot support keycodes above 255.
May 23 13:26:02 firefly org.gnome.Shell.desktop: Errors from xkbcomp are not fatal to the X server有没有人清楚这个问题呢


页: [1]
查看完整版本: 官方提供的debian11固件如何启用wayland显示