You are not logged in.
Pages: 1
Hi,
I'd like to run duplicati and after the installation it says I have to run
systemctl --user start duplicati
When I do this as a normal user I get:
Failed to start duplicati.service: Unit duplicati.service not found.
When I run it as root I get:
Failed to get D-Bus connection: Operation not permitted
I went to the wiki and did this step: https://wiki.archlinux.org/index.php/Sy … ce_example but this didn't work
Running the service without the --user option works. Is it ok to run it that way? I don't understand the benefit of --user.
$ systemctl status --user dbus.service
● dbus.service - D-Bus User Message Bus
Loaded: loaded (/usr/lib/systemd/user/dbus.service; static; vendor preset: enabled)
Active: active (running) since Mon 2017-02-20 21:23:27 CET; 35min ago
Docs: man:dbus-daemon(1)
Main PID: 5476 (dbus-daemon)
CGroup: /user.slice/user-1000.slice/user@1000.service/dbus.service
├─5476 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
├─5524 /usr/bin/kglobalaccel5
├─5599 /usr/lib/kf5/kscreen_backend_launcher
├─5604 /usr/lib/dconf/dconf-service
├─5799 /usr/lib/GConf/gconfd-2
└─5812 /usr/bin/kuiserver5
Feb 20 21:23:29 molungus kscreen_backend_launcher[5599]: kscreen.xrandr: Connection: 0
Feb 20 21:23:29 molungus kscreen_backend_launcher[5599]: kscreen.xrandr: Primary: true
Feb 20 21:23:29 molungus kscreen_backend_launcher[5599]: kscreen.xrandr: Output 451 : connected = true , enabled
Feb 20 21:23:30 molungus kscreen_backend_launcher[5599]: kscreen.xrandr: Emitting configChanged()
Feb 20 21:23:32 molungus dbus-daemon[5476]: Activating service name='org.gnome.GConf'
Feb 20 21:23:32 molungus dbus-daemon[5476]: Successfully activated service 'org.gnome.GConf'
Feb 20 21:23:32 molungus dbus-daemon[5476]: Activating service name='org.kde.kuiserver'
Feb 20 21:23:32 molungus dbus-daemon[5476]: Successfully activated service 'org.kde.kuiserver'
Feb 20 21:39:17 molungus dbus-daemon[5476]: Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbu
Feb 20 21:39:17 molungus dbus-daemon[5476]: Successfully activated service 'org.a11y.Bus'
TIA
Last edited by thms (2017-02-21 20:59:29)
Offline
Pacman doesn't install anything to $HOME, so if you want to run any --user services, you have to create the directories and copy the service files there.
https://wiki.archlinux.org/index.php/Systemd/User
Offline
Hmm...thank you. I don't know why I skipped this part and just started with the "Service Example".
Why is it recommended to start duplicati with --user and not like other services?
Offline
I don't know what duplicati does, but I would assume that it makes permissions easier to deal with.
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Pages: 1