I have not used bareos-traymonitor in a long time. As I remember, it was because traymonitor stopped working and as I used the webui, it was not an issue for me. I decided recently to figure out why it was not displaying.
if I started in a terminal as follows I get: ~$ bareos-tray-monitor -d 100 tray-monitor (10): lib/parse_conf.h:460-0 ConfigResourcesContainer: new configuration_resources_ 0x575de3851680 tray-monitor (100): lib/parse_conf.cc:181-0 config file = /etc/bareos/tray-monitor.conf tray-monitor (100): lib/lex.cc:295-0 glob /etc/bareos/tray-monitor.conf: 1 files tray-monitor (100): lib/lex.cc:194-0 open config file: /etc/bareos/tray-monitor.conf tray-monitor (100): lib/lex.cc:295-0 glob /etc/bareos/tray-monitor.conf: 1 files tray-monitor (100): lib/lex.cc:194-0 open config file: /etc/bareos/tray-monitor.conf tray-monitor (100): <unknown>:0-0 Qt-Warning: QSocketNotifier: Can only be used with threads started with QThread QSocketNotifier: Can only be used with threads started with QThread tray-monitor (100): <unknown>:0-0 Qt-Warning: QDBusMarshaller::appendVariantInternal: Found unknown D-BUS type '' If I did ~$ ps ax |grep bareos 47789 ? Ssl 1:09 /usr/sbin/bareos-fd -f 58034 pts/1 Sl+ 0:00 bareos-tray-monitor 58113 pts/2 S+ 0:00 grep --color=auto bareos which seems to show that its up but it is not displaying in the tray After a fair amount of failed changes, I tried ~$ sudo -u beckstein bareos-tray-monitor -d 100 tray-monitor (10): lib/parse_conf.h:460-0 ConfigResourcesContainer: new configuration_resources_ 0x63d3b8ca2680 tray-monitor (100): lib/parse_conf.cc:181-0 config file = /etc/bareos/tray-monitor.conf tray-monitor (100): lib/lex.cc:295-0 glob /etc/bareos/tray-monitor.conf: 1 files tray-monitor (100): lib/lex.cc:194-0 open config file: /etc/bareos/tray-monitor.conf tray-monitor (100): lib/lex.cc:295-0 glob /etc/bareos/tray-monitor.conf: 1 files tray-monitor (100): lib/lex.cc:194-0 open config file: /etc/bareos/tray-monitor.conf tray-monitor (100): <unknown>:0-0 Qt-Warning: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-beckstein' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-beckstein' and ~$ ps ax|grep bareos 47789 ? Ssl 1:09 /usr/sbin/bareos-fd -f 58583 pts/1 S+ 0:00 sudo -u beckstein bareos-tray-monitor 58584 pts/2 Ss 0:00 sudo -u beckstein bareos-tray-monitor 58585 pts/2 Sl+ 0:00 bareos-tray-monitor 58600 pts/3 S+ 0:00 grep --color=auto bareos Bareos now shows up in the tray and worked correctly. I am currently on Ubuntu 24.04.3 LTS (Wayland) and kept up to date. I am also using Nemo and not Nautilus on my system. I am using the community Version: 25.0.2~pre67.c4bf7e33b of Bareos. I have tried the above on 2 different ubuntu laptops and get the same result. I do not understand why I need to sudo into the same username to get it to work but seems must be something on my system implementation. Any suggestions on why need to sudo to my username when I am logged into as that username? -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/a55c8fb9-3e47-41fc-b61d-221945a1f611n%40googlegroups.com.
