'systemctl --user status' returns 'Failed to get D-Bus connection'

Basically I am trying to run a user session of systemd. Up to now, this worked without doing the additional parts from the systemd/User wiki-page. Now it returns 'Failed to get D-Bus connection: No such file or directory' or 'Failed to read server status: Input/output error' (the first one when I try it from the TTY, the second one from within xfce / urxvtc). Even after doing the wiki-page, it still returns the two error messages.
My current 'systemctl status':
● SHODAN
State: running
Jobs: 0 queued
Failed: 0 units
Since: Fr 2014-04-25 18:33:55 CEST; 6min ago
CGroup: /
├─1 /sbin/init
├─system.slice
│ ├─rtkit-daemon.service
│ │ └─466 /usr/lib/rtkit/rtkit-daemon
│ ├─polkit.service
│ │ └─376 /usr/lib/polkit-1/polkitd --no-debug
│ ├─lightdm.service
│ │ ├─279 /usr/bin/lightdm
│ │ └─283 /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
│ ├─systemd-logind.service
│ │ └─276 /usr/lib/systemd/systemd-logind
│ ├─dbus.service
│ │ └─274 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
│ ├─wicd.service
│ │ ├─273 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
│ │ ├─289 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
│ │ └─365 wpa_supplicant -B -i wlp4s0 -c /var/lib/wicd/configurations/00184db47218 -Dwext
│ ├─systemd-udevd.service
│ │ └─143 /usr/lib/systemd/systemd-udevd
│ └─systemd-journald.service
│ └─119 /usr/lib/systemd/systemd-journald
└─user.slice
└─user-1000.slice
└─session-c2.scope
├─ 314 lightdm --session-child 13 20
├─ 352 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
├─ 359 dbus-launch --sh-syntax --exit-with-session
├─ 362 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
├─ 374 xfce4-session
├─ 384 /usr/lib/xfce4/xfconf/xfconfd
├─ 395 /usr/bin/gpg-agent --sh --daemon --enable-ssh-support --write-env-file /home/dustball/.cache/gpg-agent-info
├─ 411 xfwm4
├─ 419 xfce4-panel
├─ 421 Thunar --daemon
├─ 423 xfdesktop
├─ 425 urxvtd
├─ 448 python2 /usr/bin/quicktile -d
├─ 465 /usr/bin/pulseaudio --start --log-target=syslog
├─ 480 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py --tray
├─ 481 grep -v Unhandled action type _OB_WM
├─ 482 xfsettingsd
├─ 483 xfce4-volumed
├─ 488 mpd
├─ 504 /usr/lib/pulse/gconf-helper
├─ 506 /usr/lib/GConf/gconfd-2
├─ 525 /usr/lib/xfce4/notifyd/xfce4-notifyd
├─ 529 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 6 12583017 systray Benachrichtigungsfl che Fl che, in der Symbole f r Benachrichtigungen erscheinen
├─ 531 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libactions.so 2 12583018 actions Aktionskn pfe Abmelden, sperren oder andere Systemaktionen
├─ 532 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libmixer.so 16 12583019 mixer Lautst rkeregler Lautst rke einstellen
├─ 548 xfce4-appfinder --collapsed
├─ 555 /usr/bin/python2 /usr/bin/sonata
├─1131 /usr/lib/chromium/chromium --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-print-preview
├─1132 liferea
├─1133 claws-mail
├─1134 kvirc -m
├─1135 /usr/lib32/skype/skype
├─1176 /usr/lib/chromium/chromium --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-print-preview
├─1177 /usr/lib/chromium/chrome-sandbox /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
├─1178 /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
├─1181 tmux new-session
├─1184 tmux new-session
├─1185 -zsh
├─1268 /usr/lib/at-spi2-core/at-spi-bus-launcher
├─1567 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
├─1588 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
├─1600 /usr/lib/chromium/nacl_helper
├─1755 /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
├─1824 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.1.59959206
├─1847 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.2.164356213
├─1857 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.3.96609819
├─1871 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.4.134029888
├─1880 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.6.5115895
├─1886 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.7.176936345
├─1891 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.8.160718626
├─1896 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.9.165553601
├─1940 /usr/lib/dconf/dconf-service
├─2013 /usr/lib/chromium/chromium --type=gpu-process --channel=1131.12.1289180957 --supports-dual-gpus=false --gpu-driver-bug-workarounds=0,1,17,28,34 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x0425 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.1
├─2025 /usr/lib/chromium/chromium --type=gpu-process --channel=1131.12.1289180957 --supports-dual-gpus=false --gpu-driver-bug-workarounds=0,1,17,28,34 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x0425 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.1
├─2105 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.16.111786888
├─2121 bash /usr/bin/steam
├─2131 bash /home/dustball/.local/share/Steam/steam.sh
├─2132 tee /tmp/dumps/dustball_stdout.txt
├─2226 /home/dustball/.local/share/Steam/ubuntu12_32/steam
├─2415 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.18.32337900
├─2423 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.19.132593708
├─2432 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.20.6353944
├─2452 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.22.126548679
├─2465 /usr/lib/chromium/chromium --type=ppapi --channel=1131.23.955061051 --ppapi-flash-args --lang=de
└─2685 systemctl status

I did the dbus-setup according to the systemd/User part in the wiki.
$ cd $XDG_RUNTIME_DIR/systemd/ && ls -lah |grep private && pwd
srwxr-xr-x 1 dustball dustball 0 25. Apr 22:13 private
/run/user/1000/systemd
Do I need to enable the dbus somehow else than via
sudo systemctl --global enable dbus.socket

Similar Messages

  • Systemctl error: Failed to get D-Bus connection

    Problem migrating server to pure systemd. Unable to start stop or restart any of my enabled services.  Every command to systemctl except enable/disable results in:
    "Failed to get D-Bus connection: No connection to service manager."
    I dunno why enable/disable would work but not status, etc...
    Quick note on my environment:
    Arch installed on my remote server hosted by linode.com
    So, my only access is remote ssh.  This is purely a webserver/mailserver type box.
    Here's what I did so far:
    1) installed systemd and depys according to this guide https://wiki.archlinux.org/index.php/Systemd
    2) enabled all services from my rc.conf DAEMONS according to this guide: https://wiki.archlinux.org/index.php/Daemons_List
    systemctl enable {foo}.service
    3) removed initscripts with
    pacman -R initscripts
    and installed systemd-sysvcompat w/
    pacman -S systemd-sysvcompat
    4) rebooted
    5) I can confirm that "cat /proc/1/comm" does in fact output "systemd"
    Command " sudo ps aux | grep dbus " gives me:
    dbus 1781 0.0 0.2 3076 1352 ? Ss 12:33 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    Command "netstat antp |grep dbus" give me:
    unix 3 [ ] STREAM CONNECTED 4414 /run/dbus/system_bus_socket
    unix 3 [ ] STREAM CONNECTED 4403 /run/dbus/system_bus_socket
    unix 3 [ ] STREAM CONNECTED 4401 /run/dbus/system_bus_socket
    unix 3 [ ] STREAM CONNECTED 4370 /run/dbus/system_bus_socket
    unix 3 [ ] STREAM CONNECTED 4369 /run/dbus/system_bus_socket
    I feel I'm almost there and must be missing something stupid...
    Please help
    Here's a list of services from /etc/systemd/system/multi-user.target.wants
    NetworkManager.service
    clamd.service
    dcron.service
    dovecot.service
    fail2ban.service
    freshclamd.service
    iptables.service
    nginx.service
    ntpd.service
    postfix.service
    postgrey.service
    remote-fs.target
    spamassassin.service
    spawn-fcgi-php.service
    sshd.service
    syslog-ng.service
    DAEMONS is the only variable in my rc.conf.  Here it is:
    DAEMONS=(syslog-ng iptables network netfs crond sshd ntpd fail2ban mysqld spamd postgrey dovecot postfix nginx spawn-fcgi-php clamav)
    systemd man page that: "systemd uses control groups to effectively keep track of processes. Control group information is maintained in the kernel, and is accessible via the file system hierarchy (beneath /sys/fs/cgroup/systemd/)"  I ran the command "findmnt | grep /sys/fs/cgroup" but it returns an empty result...
    Last edited by bx (2012-11-29 22:58:06)

    Solved! Had to update kernel. Solution was in /var/log/kernel.log all along:
    Nov 27 14:43:56 xxxx kernel: systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. Consult http://0pointer.de/blog/projects/cgroups-vs-cgroups.html for more information.
    systemd man page that: "systemd uses control groups to effectively keep track of processes. Control group information is maintained in the kernel, and is accessible via the file system hierarchy (beneath /sys/fs/cgroup/systemd/)"  I ran the command
    findmnt | grep /sys/fs/cgroup
    but it returns an empty result...
    I did not see kernel version as a requirement anywhere in docs...
    To check your kernal version use command:
    uname -r
    From the main page https://wiki.archlinux.org/index.php/Systemd
    systemd is a system and service manager for Linux that ... uses socket and D-Bus activation for starting services ... keeps track of processes using Linux control groups ...
    From wikipedia http://en.wikipedia.org/wiki/Cgroups
    cgroups (control groups) is a Linux kernel feature to that was started in 2007 ... and merged to kernel version 2.6.24 ...
    I had problems w/ kernel 2.6.39 which turned out to be a deprecated kernal on my linode. My box had like 300+ days of uptime and never had a need to reboot before the change to systemd. Lucky for me, linode made it stupid easy to update the kernel and i was back on track. systemd is cool. worth the journey. thanks!
    Last edited by bx (2012-11-29 23:14:02)

  • Failed to get d-bus connection

    i just did a fresh install, following the installation guide. after reboot, i get to the grub menu, then start linux.
    after that i get the error message
    systemd-cgroups-agent(154): failed to get d-bus connection: faile (sic!)
    this message appears several times, then
    welcome to emergency mode (...)
    after login nothing works, i cannot even reboot, only get d-bus errors. have to hard reset the computer. fallback is the same. anyone know whats wrong?

    @ubunchu, if the system is unusable after login, how is the OP supposed to issue your suggested command?
    The part of ubunchu's response that makes the most sense to me is the chroot part, as it involves booting from live media to inspect.  I don't think you actually have to chroot to do this, but see about inspecting the journal from the live media.  Mount the rootfs (and var if applicable), then use journalctl's --directory= argument to point it to your mounted system's journal.  Otherwise, you could chroot into the system and use journalctl there.  But I am not sure if journalctl requires a running dbus.  If it does, you don't be able to see the journal.  (Okay, I just tested this, and it seems you can run journalctl from a chroot)

  • Systemd-cgroups-agent[625]: Failed to get D-Bus connection

    On shutdown, or reboot this error appears:
    systemd-cgroups-agent[625]: Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
    system is:
    Linux desktop 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 21:11:14 CEST 2013 i686 GNU/Linux
    XFCE4 with SLIM

    https://bbs.archlinux.org/viewtopic.php?pid=1273875

  • [SOLVED] systemd --user: "Failed to open private bus connection:"

    EDIT: The solution was to set DBUS_SESSION_BUS_ADDRESS, as suggested by gtmanfred in irc.  By putting the following before executing systemd --user, the error vanished:
    export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/dbus/user_bus_socket
    ===================
    Original problem:
    Everything on my box appears to be working ok, but I'm getting this error consistently in tty1 and at the top of journalctl (as user) whenever I start systemd --user:
    systemd[3975]: Failed to open private bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    I roughly have my system setup per this wiki section https://wiki.archlinux.org/index.php/Sy … ur_Session.  I start systemd --user via a small script in my .bash_profile. Here are my relevant dbus{.service,socket} files, from the package user-session-units mentioned in the wiki:  (Edit: xorg is started through xorg-launch-helper, also from that wiki page)  Edit2: I'm not using autologin.  I noticed that under the autologin section of that page, DBUS_SESSION_BUS_ADDRESS is set to some path.  In my setup that isn't set anywhere, so I may try to copy that later but I don't have time to play with it right now.  Will post back later.
    =====/usr/lib/systemd/user/dbus.service=====
    [Unit]
    Description=D-Bus System Message Bus
    Requires=dbus.socket
    [Service]
    ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation
    ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
    =====/usr/lib/systemd/user/dbus.socket=====
    [Unit]
    Description=D-Bus System Message Bus Socket
    [Socket]
    ListenStream=%t/dbus/user_bus_socket
    And the output of sudo systemctl status dbus:
    dbus.service - D-Bus System Message Bus
    Loaded: loaded (/usr/lib/systemd/system/dbus.service; static)
    Active: active (running) since Tue 2013-02-05 14:50:30 EST; 22min ago
    Main PID: 369 (dbus-daemon)
    CGroup: name=systemd:/system/dbus.service
    └─369 /usr/bin/dbus-daemon --system --address=systemd: --no...
    Feb 05 14:50:30 sellers-laptop systemd[1]: Starting D-Bus System Message Bus...
    Feb 05 14:50:30 sellers-laptop systemd[1]: Started D-Bus System Message Bus.
    Feb 05 14:51:18 sellers-laptop dbus-daemon[369]: dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Feb 05 14:51:18 sellers-laptop dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Feb 05 14:51:18 sellers-laptop dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
    Feb 05 14:51:18 sellers-laptop dbus-daemon[369]: dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
    I'm not sure what the error even means or how to go about debugging it.  Any suggestions would be appreciated.
    Last edited by Feynman (2013-02-05 22:07:23)

    NVM...didn't notice it was already solved.
    Last edited by the sad clown (2013-02-05 22:33:10)

  • Add-on Status is Failed, but Add-on is connected

    Good Day!
    Hi Experts,
    I had created an installer for my Add-on for the client. This is a project from SAP B1 Studio.
    SAP B1 version is 9.0 PL11.
    1. The add-on is running ok in Debug Mode.
    2. I've successfully created an ARD File.
    3. Successfully installed ARD File.
    4. On Add-on Manager, when I tried to click Start, the add-on says Incorrect Connection String for Add-on. Even if the Status is Failed, the Add-on still executes. It still displays the custom form, the events, CFL etc.
    I've used the SAPBouicom.Dll in my debug folder, and I ensured the latest SAP B1 Studio and DI API is installed (PL11). I even removed the old files and reinstalled but the same result appears.
    Your help is greatly appreciated in this matter.

    i had already a Debug Code in my Environment.
    Dim sConnectionString As String
    SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Environment.GetCommandLineArgs.GetValue(1).ToString
                    Try
                        SboGuiApi.Connect(sConnectionString)
                        ' Causes an Error Here but if I don't terminate the Add-on here, the Add-on will still run
                    Catch ex As Exception
                             'System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
                             'End  
                        Try
    SBO_Application = SboGuiApi.GetApplication()

  • TCS 3 FrameMaker DItamap import returns "Failed to get any FrameMaker document from"

    Hi,
    I recently aquired the TCS 3 and I am trying to build a help project using a ditamap.  I was able to do this once, but I ended up scrapping the project fbacause FrameMaker ran out of memory when I tried to update the project.
    Now, I see this error when I try to import or link my ditamap to a new project.
    I followed the steps as shown in the Robohelp docs.
    Any thoughts on things I need to do to fix this.
    RH 9 did crash once, could there be some garbage cleanup I need to do?
    Is there other info I can pass on that may help?
    Lauren

    OK.  Is there a Best Practices approach to the procedure?  And yes, I am assuming that it will be more complicated than just using the Windows uninstall function. 

  • Why does Firefox 32.0 keep prompting me to update, then failing to get past the "connecting to update server" when I click the "update now" button?

    Happens with annoying frequency. The fresh install of 32.0 is barely a month old but this has been happening since a few days afterwards. I have let the update window run for up to 20 minutes. Nothing happened, ever. Apparently it never actually connects. Nor will it update automagically when I click on the "About" line on the Firefox menu bar dropdown.

    If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox application and save the disk image file to the desktop
    *Firefox 32.0.3: https://www.mozilla.org/en-US/firefox/all.html
    *Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re)install
    *Install the new version that you have downloaded
    *https://support.mozilla.org/kb/Installing+Firefox+on+Mac
    Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • [SOLVED]dbus and systemd: "systemctl --user" gets "Connection refused"

    Hi,
    I want to enable some systemd user service. Here is what I get
    $ LANG=C systemctl --user
    Failed to get D-Bus connection: Connection refused
    $ echo $DBUS_SESSION_BUS_ADDRESS
    unix:abstract=/tmp/dbus-RboLZS2wF3,guid=feb8bd85248906d12a826acd54e3c4ad
    I don't believe I've ever touched dbus, so I'm a bit lost. There's the following line in my ~/.xinitrc:
    exec dbus-launch xmonad
    Seems like I'm not the only one with trouble on that topic, but I could not solve my problem.
    Additional resources:
    1. relevant pstree information
    systemd-+-acpid
    |-at-spi-bus-laun-+-dbus-daemon
    | |-{dconf worker}
    | |-{gdbus}
    | `-{gmain}
    |-3*[dbus-daemon]
    |-dbus-launch
    |-login---startx---xinit-+-Xorg
    | `-xmonad-x86_64-l-+-tons
    | |-of
    | |-stuff
    |-polkitd-+-{JS GC Helper}
    | |-{JS Sour~ Thread}
    | |-{gdbus}
    | |-{gmain}
    | `-{runaway-killer-}
    |-systemd---(sd-pam)
    |-systemd-journal
    |-systemd-logind
    |-systemd-udevd
    2.
    $ pgrep -af systemd
    1 /usr/lib/systemd/systemd --system --deserialize 16
    149 /usr/lib/systemd/systemd-journald
    171 /usr/lib/systemd/systemd-udevd
    257 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    263 /usr/lib/systemd/systemd-logind
    316 /usr/lib/systemd/systemd --user
    3.
    $ pgrep -af dbus
    257 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    385 dbus-launch --sh-syntax --exit-with-session
    386 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    459 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    470 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
    4. Playing with processus #1
    - Killing it doesn't change anything
    $ /usr/lib/systemd/systemd --user
    Failed to create root cgroup hierarchy: Permission denied
    Failed to allocate manager object: Permission denied
    $ sudo /usr/lib/systemd/systemd --user
    Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
    $ echo $XDG_RUNTIME_DIR
    /run/user/1000
    $ sudo -i
    # XDG_RUNTIME_DIR=/run/user/1000 /usr/lib/systemd/systemd
    Startup finished in 41ms. // keeps running
    But I still cannot do "systemctl --user"....
    Last edited by Laugarhraun (2015-02-18 17:03:57)

    Heyyy I'm dumb!
    $ alias systemctl
    alias systemctl='sudo systemctl'
    $ LANG=C /usr/bin/systemctl --user
    Failed to list units: Process org.freedesktop.systemd1 exited with status 1
    New error = progress! yay!

  • Xbmc user from XBMC package unable to run systemctl --user

    I'm posting this in multimedia rathar than another section as this appears to be an issue with the 'xbmc' user installed as part of the Arch xbmc package from pacman. 
    When logged in at the xbmc user (either via sudo su - xbmc, or direct login after setting a pssword for the user), when I attempt to run any systemctl --user <command> I get the following error:
    ~]$ whoami && systemctl --user status dbus
    xbmc
    Failed to get D-Bus connection: Connection refused
    But I can run non --user commands with no problem:
    ~]$ whoami && systemctl status dbus
    xbmc
    ● dbus.service - D-Bus System Message Bus
    Loaded: loaded (/usr/lib/systemd/system/dbus.service; static)
    Active: active (running) since Wed 2014-08-13 16:50:15 CDT; 2 days ago
    Docs: man:dbus-daemon(1)
    Main PID: 265 (dbus-daemon)
    CGroup: /system.slice/dbus.service
    └─265 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    Also, other "normal" users (ones not created by a package, such as my own user) do not have this problem:
    ~]$ whoami && systemctl --user status dbus
    sylverpyro
    ● dbus.service
    Loaded: not-found (Reason: No such file or directory)
    Active: inactive (dead)
    the reason this is an issue is until very recently the btsync package from AUR used btsync@<username> unit files to run the service for the specified user.  With those unit files now depricated in systemd, I need to be able to run systemctl --user commands to enable the service correctly, but I just end up with a the ablove D-Bus error:
    ~]$ whoami && systemctl --user start btsync
    xbmc
    Failed to get D-Bus connection: Connection refused
    Originally I thought it may be because the D-Bus session wasn't getting passed to the user properly, however even setting up the D-Bus session manually doesn't get me very far:
    ~]$ whoami && dbus-launch
    xbmc
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-A4VaDZXDOu,guid=9c85fdad1bcc90f8e1d5f52753eea211
    DBUS_SESSION_BUS_PID=18081
    ~]$ export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-A4VaDZXDOu,guid=9c85fdad1bcc90f8e1d5f52753eea211
    ~]$ whoami && systemctl --user start btsync
    xbmc
    Failed to start btsync.service: Process org.freedesktop.systemd1 exited with status 1
    Is there a permission, group, or UID restriction somewhere that I am missing or unaware of that prevents certain users from running systemctl --user commands?

    Used the following commands, it deleted the user and allowed me import user from LDAP
    run sql select userid, pkid from enduser where userid = 'pjon'
    run sql delete FROM enduserappservermap WHERE fkenduser='745c067f-767c-459d-b2f1-6e88bbad915e'

  • Failed to Get User Preferences

    I have 3 scripts online right now for ongoing projects that I'm trying to work on only Adobe Story just updated and now won't log me in. I keep getting the "Failed to get user preferences" error. I need to update a script tonight for a client, then prep one for a recording session tomorrow. Can I get this resolved a.s.a.p. please! My ID is [email protected]
    Thanks,
    John

    Hi, the problem still exists: last two works don't compare anywhere:(
    thanks
    Date: Fri, 10 May 2013 05:15:03 -0700
    From: [email protected]
    To: [email protected]
    Subject: Failed to get user preferences
        Re: Failed to get user preferences
        created by Sandeep (Story team) in Adobe Story - View the full discussion
    Hi,
    Can you please check the 'deleted' and 'sync issues' folder that shows up in the bottom left of the Story screen. Just click on these folders to see the list of documents. If your file is present in any of them, you can directly recover.
    From deleted folder you can just click on the document's options (a triangle shows up when you hover on the document) and click on the triangle and then restore to a project.
    If its in sync issues folder, you can delete the document (deletion will just move the document to the deleted folder mentioned above) and then go to deleted folder to restore the document.
    If you still face any issue please let us know.
    thanks
    Sandeep
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5308591#5308591
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5308591#5308591
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5308591#5308591. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Story by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to restrict manual setting of User Status?

    Hi,
    I have created an User Profile where a particular User Status is "set" based on the Business Transaction "Release".
    However, we are also allowed to set this User Status manually without carrying out the Business Transaction "Release".
    How do I restrict manual setting of those User Statuses that are "set" based on a Business Transaction?
    Raj

    Pete,
    I did read that post. But it is about providing authorisation to set a Status for an User.
    The case I am referring is, an User Status is auto set by a Bus. Trans Release. But I am also permitted to set the status transition manually. This way, Users tend to skip Releasing the Service Order. This is affecting upstream processes.
    Is there a way where we can restrict manual setting of User Statuses that have to be normally auto set by Bus. Transactions?
    Raj

  • Getting this erro "*** Developer Tools: Reading sites for user: fwadmin returned status: Forbidden"

    hi,
    After intrgrating with Webcenter site with EClipse using CSDT plugin. When i tries to create a template using eclipse IDE. And when i click on 'Create New Template'  icon on eclipse , I am getting error "*** Developer Tools: Reading sites for user: fwadmin returned status: Forbidden"
    Thanks,
    Kumar

    Hello,
    Check if your user has correct permission or not.
    User must of part of RestAdmin group. Read here-  http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/dt_quickstart.htm#WBCSD942
    Regards,
    Guddu

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • How to fix Workflow failed to get user profile for user:

    hi All,
    How to fix Workflow failed to get user profile for user when using Lookup function in sharepoint designer?

    Try to use “As string” instead of “Login Name” for the “Return field as”.
    Regards,
    Jayant
    jayant prabhakar

Maybe you are looking for

  • Oracle Client Upgrade From 9.2.0.6 to 9.2.0.8

    Hi All, I was upgradin the oracle client From 9.2.0.6 to 9.2.0.8 as this is a prerequiste for upgrading to ECC 6.0. I have upgraded by going through SAP Note 964783. But when i am checking that it still showing the same client verison. And also i am

  • Adobe flash player and windows 7 IE 10

    Why can't I download Adobe flash player with windows 7 64 bit IE 10 64 bit ??????

  • Jolt STRING local character set

    Our application sends data containing non-latin characters in FML32 STRING fields. What I found in documentation is: For localization, the Jolt Class Library package relies on the conventions of the Java language and the Oracle Tuxedo system. Jolt tr

  • Adapter Queries?

    All, Bpel - 10.1.3.4 I configured a DBAdapter which connects to Oracle apps 11.5.10.2. In the last screen(after the polling frequency is set) during configuration of the adapter we can see the actual query. But it doesn't show the complete query, mea

  • BBP_NONR3_ADDRESS_UPLOAD

    Hi, has anyone used report BBP_NONR3_ADDRESS_UPLOAD to upload delivery addresses to SRM? Do you need to implement BADI BBP_NONR3_ADDRESS_UPLOAD to use this report or will it work without the BADI? Cheers Chris