Git相关
error: RPC failed; curl 56 GnuTLS recv error (-24): Decryption has failed.
https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls
git config --global http.postBuffer 1048576000
git config --global https.postBuffer 1048576000
桌面和GUI相关
查看桌面是x11还是wayland
env | grep -E -i 'x11|xorg|wayland'
wsl2 GUI问题
按官方步骤(安装GPU驱动,wsl --update)之后,启动gui程序gnome-text-editor
能弹出UI但控制台有报错:
Gsk-Message: 10:42:37.026: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': libEGL not available
安装:
sudo apt install libegl1
再启动报新的错
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
解决方式:
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri
标签:lib,--,error,dri,failed,usr,Ubuntu,Tips
From: https://blog.51cto.com/waynecui/11883259