linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
2.5k stars 91 forks source link

Cannot launch timeshift on wayland #206

Open MrDisguised opened 1 year ago

MrDisguised commented 1 year ago

Describe the bug I am using arch linux (with hyprland window manager) and I cannot launch timeshift. It worked last week but now it is not working anymore.

To Reproduce Steps to reproduce the behavior:

  1. Try to launch timeshift from a menu launcher like rofi.
  2. GUI polkit authentication agent pops up.
  3. Enter the password for ur pc and click on next.
  4. Timeshift doesnt launch.

Expected behavior I expected timeshift to pop up.

Screenshots If applicable, add screenshots to help explain your problem.

System:

EDIT - When I try to launch timeshift I get these errors -

[rounak@archissexy 02:17 ~]$ cat /usr/share/applications/timeshift-gtk.desktop | grep "Exec"
Exec=timeshift-launcher
[rounak@archissexy 02:17 ~]$ timeshift-launcher
localuser:root being added to access control list

(timeshift-gtk:3151): Gtk-WARNING **: 02:17:30.529: cannot open display: 
localuser:root being removed from access control list
access control enabled, only authorized clients can connect
SI:localuser:rounak
[rounak@archissexy 02:17 ~]$ timeshift-launcher
localuser:root being added to access control list

(timeshift-gtk:3182): Gtk-WARNING **: 02:17:36.417: cannot open display: 
localuser:root being removed from access control list
access control enabled, only authorized clients can connect
SI:localuser:rounak
[rounak@archissexy 02:17 ~]$
colorsakura commented 1 year ago

maybe you can try this https://github.com/linuxmint/timeshift/issues/147#issuecomment-1603674722

meminens commented 9 months ago

Having the same issue with KDE/Wayland on Arch. Recommended workaround above fixed the issue for me.