页次: 1
系统:arch(
桌面环境:hyprland
显示环境:wayland
问题描述:使用sudo pacman -S timeshift下载之后,使用sudo运行 /usr/bin/timeshift-launcher 和 /usr/bin/timeshift-gtk都有下面的错误:
Authorization required, but no authorization protocol specified
(timeshift-gtk:31092): Gtk-WARNING **: 10:09:21.830: cannot open display: :1
之前看到有一个类似的帖子说需要安装polkit,但是后续内容比较少,我也不敢乱动,有没有大佬说说解决办法?
最近编辑记录 Royi (2024-04-18 11:22:45)
离线
sudo WAYLAND_DISPLAY=$WAYLAND_DISPLAY XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR timeshift-gtk 试试。
不过为什么 GUI 要 root 权限啊?
离线
解决了,谢谢云云姐!
离线
页次: 1