Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland下无法启动 #52

Closed
shenmo7192 opened this issue May 27, 2023 · 3 comments
Closed

Wayland下无法启动 #52

shenmo7192 opened this issue May 27, 2023 · 3 comments

Comments

@shenmo7192
Copy link
Collaborator

shenmo23@shenmo23-PC:~/Downloads/a/opt/apps/autotrash/files/bin$ /opt/apps/cn.kingtous.fclash/files/fclash 

(fclash:54335): dbind-WARNING **: 22:24:30.716: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

** (fclash:54335): CRITICAL **: 22:24:30.841: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (fclash:54335): CRITICAL **: 22:24:30.844: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置
Gdk-Message: 22:24:30.872: Error reading events from display: 协议错误

听闻目前deepin 23 wayland还没有xdg-desktop-portal-dde,是否和这个有关呢?

             ............                 shenmo23@shenmo23-PC
         .';;;;;.       .,;,.             --------------------
      .,;;;;;;;.       ';;;;;;;.          OS: Deepin 23 x86_64
    .;::::::::'     .,::;;,''''',.        Host: ASUS TUF Gaming A15 FA506QM_FA506QM (1.0)
   ,'.::::::::    .;;'.          ';       Kernel: 5.15.45-amd64-desktop
  ;'  'cccccc,   ,' :: '..        .:      Uptime: 48 mins
 ,,    :ccccc.  ;: .c, '' :.       ,;     Packages: 1938 (dpkg)
.l.     cllll' ., .lc  :; .l'       l.    Shell: bash 5.1.8
.c       :lllc  ;cl:  .l' .ll.      :'    Resolution: 1920x1080
.l        'looc. .   ,o:  'oo'      c,    WM: Deepin (Wayland)
.o.         .:ool::coc'  .ooo'      o.    Icons: blossom-light [GTK2]
 ::            .....   .;dddo      ;c     Cursor: bloom
  l:...            .';lddddo.     ,o      Terminal: deepin-terminal
   lxxxxxdoolllodxxxxxxxxxc      :l       Terminal Font: Noto Sans Mono (11pt)
    ,dxxxxxxxxxxxxxxxxxxl.     'o,        CPU: AMD Ryzen 7 5800H (16) @ 3.2 GHz
      ,dkkkkkkkkkkkkko;.    .;o;          Memory: 5.80 GiB / 15.11 GiB (38%)
        .;okkkkkdl;.    .,cl:.            Disk (/): 35.05 GiB / 117 GiB (30%)
            .,:cccccccc:,.                Disk (/media/shenmo23/89b74656-e857-4311-927d-1af70ceaaaf0): 85.67 ]
                                          Disk (/media/shenmo23/OS): 236 GiB / 456 GiB (51%) [Removable]
                                          Disk (/media/shenmo23/RESTORE): 15.61 GiB / 19.50 GiB (80%) [Remova]
                                          Disk (/media/shenmo23/XDATA): 464 GiB / 784 GiB (59%) [Removable]
                                          Battery: 96%
                                          Locale: zh_CN.UTF-8
@shenmo7192
Copy link
Collaborator Author

暂时解决方案
export WAYLAND_DISPLAY=wayland-x11

Kingtous added a commit that referenced this issue May 30, 2023
@Kingtous
Copy link
Owner

感谢,已更新到Readme :)
Wayland搞了这么久还是没法取代x11

@shenmo7192
Copy link
Collaborator Author

感谢,已更新到Readme :) Wayland搞了这么久还是没法取代x11

我不太清楚这是Flutter对wayland的支持不对劲还是deepin对wayland支持有问题
总之,指定为xwayland启动解决了这个问题
除了export,也可以在desktop的exec前面加上 env WAYLAND_DISPLAY=wayland-x11 来解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants