趙健的技術筆記

Ente Auth 在 Wayland 下無法執行、提示 No GL implementation is available 的解決方法

技術 約 1169 字 · 3 分鐘 - 次閱讀

我在 Wayland 下的 CachyOS(Arch 系其他的發行版應該也一樣)下使用 Ente Auth 的 AppImage、AUR、flatpak 均出現了同樣的問題。真的是找遍全網沒有解決方案,最後自己探索出來一個完美的解決方案。

首先是 AppImage 格式的 Ente Auth 無法執行,有時即使可以執行,但頁面空白 只顯示:No GL implementation is available

切換到命令列執行報錯如下:

./ente-auth.AppImage
(io.ente.auth:61007): Gdk-CRITICAL **: 10:13:50.015: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT
(context)' failed
** (io.ente.auth:61007): WARNING **: 10:13:50.015: Failed to initialize GLArea: No GL implementation is availa
ble
** (io.ente.auth:61007): WARNING **: 10:13:50.015: gtk.dart: failed to call method: No engine to send to
** (io.ente.auth:61007): WARNING **: 10:13:50.019: gtk.dart: failed to call method: No engine to send to

解決方法:

1、解壓 AppImage 格式的檔案

./ente-auth.AppImage --appimage-extract

2、執行解壓後的 AppImage 格式檔案

./squashfs-root/enteauth

報錯如下:

./squashfs-root/enteauth: error while loading shared libraries: libayatana-appindicator3.so.1: cannot open shared object file: No such file or directory

這就有方向了

3、安裝缺失依賴:libayatana-appindicator3.so.1

sudo pacman -S libayatana-appindicator

4、再次執行:./squashfs-root/enteauth 執行成功!

分享:

評論