On Mon, Sep 29, 2025 at 08:14:01AM +0000, [email protected] wrote:
> Hello again,
>
> I was not able to reproduced the freeze on my system in a similar setup
> (Debian 13, via SSH, no DE/GE).
>
> In your debug output you should find a line like this:
>
> DEBUG: [plugins/systrayiconplugin.py:68 init] No system tray available
> to show the BiT system tray icon
>
> I am assuming the DISPLAY thing is misleading and there might be another
> problem. Let's find out.
>
> Regards,
> Christian
Hello Christian!
(Sorry, I only just spotted this - you forgot to copy me in to your
emails and I'm not subscribed to this bug report.)
Here's the result of running it with --debug:
erdos:~ # backintime backup --debug
DEBUG: [common/backintime.py:668 argParse] Argument(s) used: {'debug': True,
'quiet': False, 'command': 'backup', 'checksum': False, 'func': <function
backup at 0x7f48e0f58900>}
DEBUG: [common/backintime.py:565 startApp] backintime: {'name': 'Back In Time',
'version': '1.5.5', 'running-as-root': True}; host-setup: {'OS':
{'/etc/os-release': 'Debian GNU/Linux 13 (trixie)', '/etc/debian_version':
'13.1\n'}}
Back In Time
Version: 1.5.5
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
DEBUG: [common/configfile.py:585 Config.setCurrentProfile] Change current
profile: 1=Main profile
DEBUG: [common/tools.py:227 initiate_translation] No language code. Use systems
current locale.
DEBUG: [common/tools.py:242 initiate_translation] Language code used: "en"
DEBUG: [common/backintime.py:754 getConfig] config file:
"/root/.config/backintime/config"; share path: "/root/.local/share/backintime";
profiles: "1=Main profile"
DEBUG: [common/pluginmanager.py:233 PluginManager.load] Register plugin path
/usr/share/backintime/plugins
DEBUG: [common/pluginmanager.py:254 PluginManager.load] Add plugin
notifyplugin.py
DEBUG: [common/pluginmanager.py:254 PluginManager.load] Add plugin
usercallbackplugin.py
at which point it hangs. Hitting ctrl-C then shows:
^CERROR: [common/pluginmanager.py:263 PluginManager.load] Failed to load plugin
systrayiconplugin.py:
DEBUG: [common/applicationinstance.py:167 flockExclusiv] Trying to put an
advisory lock on the flock file /root/.local/share/backintime/worker.lock.flock
DEBUG: [common/applicationinstance.py:199 flockUnlock] Trying to remove the
advisory lock from the flock file
/root/.local/share/backintime/worker.lock.flock
INFO: [common/snapshots.py:794 Snapshots.backup] Lock
DEBUG: [common/tools.py:2023 inhibitSuspend] Inhibit Suspend failed because BIT
was started as root.
DEBUG: [common/tools.py:1512 keyringSupported] No keyring due to import error.
DEBUG: [common/mount.py:151 Mount.__init__] pw-cache is not running
DEBUG: [common/mount.py:162 Mount.__init__] Call command:
['/usr/bin/backintime', 'pw-cache', 'start']
and then it continues normally.
Further data:
I can run "backintime backup" in a terminal via ssh (with the -X
option) as a regular user; this environment contains the variable
DISPLAY=localhost:12.0. After su'ing to root, if I then export
DISPLAY=localhost:12.0 as root, "backintime backup" works fine. So it
does seem to be related to this DISPLAY setting. However, if I ssh to
the machine without using -X, so DISPLAY is unset, and try running
"backintime backup" as this regular user, it works fine too. So there
appears to be some subtle combination of DISPLAY and running as root
going on.
Best wishes,
Julian