-
Notifications
You must be signed in to change notification settings - Fork 208
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
No systray icon when running as root #408
Comments
BIT, in root mode, begins executing as root, and completes the backup process as root, then exits. I am not a *nix socket expert, especially when it comes to multiple processes that execute as different users (even with a parent / child process relationship), but I wonder if it would be technically possible (ignoring for the moment any code restructuring required) to, when in root mode: BIT begins executing as the user who scheduled the backup (not root), but then starts a child process as root which runs the actual snapshot logic and is able to communicate with the parent, which can manage the systray icon. |
I'd rather do it the other way around: Start BIT as root (from crontab) and fork a systray-process with I didn't try yet if this would work. Incorrect environ could still make troubles... |
I get an systray icon while the aktualy backup is running but not while the GUI is open. Im running Archlinux with:
|
The systray icon should only show up while creating a new snapshot (no matter if GUI is open). If you just open the GUI it is supposed to not show up. |
With backintime 1.2.1 on Kubuntu 22.04, this works for me: A backintime icon appears in the systray when a snapshot is being taken, both:
I'll try and test this on some other system, but this Issue cal probably be closed. |
Other systray problems exist (see #1306), but I'm closing this 10-year-old report that can no longer be reproduced. |
When run as root, it may not be possible to put the systray icon on the desktops of any user that is logged in, but what about sending a notification?
The objective is to let the user know that a shutdown/reboot would interrupt the backup. (backintime -b is run by anacron)
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: