Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dbus]

The tag has no usage guidance.

1
vote
1answer
124 views

Why is dbus-org.freedesktop.timedate1 started so frequently?

I have some Ubuntu 18.04.1 servers. They all show this service being started rougly every 10 minutes. Jan 7 06:29:05 csrf-prod1-vm dbus-daemon[434]: [system] Activating via systemd: service name='...
1
vote
1answer
296 views

SELinux: pam_systemd(sudo:session): Failed to connect to system bus: Permission denied

On one of CentOS 7 servers I cannot perform sudo from nrpe user (Nagios daemon remote monitoring). Error message: Dec 31 08:28:10 ip-172-31-36-176 sudo: pam_unix(sudo:session): session opened for ...
1
vote
0answers
70 views

Centos 7.3x & 7.4x VM's fail to bringup login service and network manager after a yum update and restart

I'm running into an odd problem that I've never encountered before. On any of our Centos 7.3x or 7.4x after I do a yum update and restart the VM will eventually come back up, but hangs during the ...
1
vote
1answer
1k views

Cannot use `systemctl --user` due to “Failed to get D-bus connection: permission denied”

I'm trying to set up user-level services, using this answer to a similar question. I have create the required files and rebooted. I'm making progress because I now get "Failed to get D-bus connection:...
0
votes
0answers
116 views

dbus-daemon Necessary for Server?

I have a CentOS 7 server that I only ssh over (i.e. no GUI needed). I wonder in such case whether dbus-daemon should still be run as according to wiki, it seems like it is for desktop only. I am ...
1
vote
1answer
59 views

One Dbus message triggers multiple systemd services

How can I trigger multiple systemd services when a dbus signal is lauched. I'm trying to do so for org.freedesktop.hostname1 by creating a service like: [Unit] Description=Set host name [Service] ...
3
votes
1answer
1k views

Getting “Couldn't connect to realm service” error while joining rhel7 instance to a domain

I am trying to join a rhel7 node to a domain using a chef cookbook but getting error: realm: Couldn't connect to realm service: Error calling StartServiceByName for org.freedesktop.realmd: GDBus....
1
vote
0answers
520 views

Allow non root user to run certain systemd services (not *), without a password by using a polkit rule

I have a non root user that I need to have able to start/stop/restart a subset of services on my system without prompting for an authorization password. Ideally I would like this done via polkit but ...
0
votes
1answer
73 views

How to findout if haldaemon is being used or udev in RHEL server?

I am quite confused if hal is really in use or just udev. What I understood: In general, HAL is an abstraction layer that allows an operating system to interact with a hardware device. And daemon ...
2
votes
1answer
4k views

Starting systemd services sharing a session D-Bus on headless system

I need help starting services that communicate via a session (not system) D-Bus on a headless Linux system. The key is that no-one will be logged in on the headless system. So far I've been able to ...
0
votes
2answers
5k views

fprintd: ** Message: No devices in use, exit

I keep getting following messages inside of /var/log/messages: 4/7/2016, 11:03:49 AM fprintd[3277] Launching FprintObject 4/7/2016, 11:03:49 AM fprintd[3277] ** Message: D-Bus service ...
3
votes
1answer
701 views

How do I determine the Linux user/group which executes systemd manager jobs?

I am trying to determine which Linux user/group runs systemd jobs so that I can set D-Bus permissions accordingly. When I do this: sudo systemctl start myservice That ultimately calls an executable ...
3
votes
1answer
8k views

How do I properly launch a dbus-monitor --session as root?

I am working on a script that will detect if and when a Gnome session is "locked" by a user in order to kick that user and prevent people locking screens in a public use lab. However, it seems the ...
3
votes
0answers
3k views

Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error: stdin: is not a tty /etc/init/delayed_job.conf: line 7: description: command not found start: Unable to ...
5
votes
0answers
343 views

Slow authentication on Fedora VM due to /var/run/dbus/system_bus_socket connect timeout

I have this Fedora VM that for some reason after a while always starts having very slow "sudo" authentication (or an authentication in general, like GUI apps asking for credentials). It's will work ...
0
votes
1answer
54 views

Server shuts down during apt upgrades (specifically libdbus)

I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it ...
1
vote
0answers
733 views

Identify mystery output on ssh login

How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well ...
3
votes
2answers
2k views

system suspend - dbus upower signals are not seen

I want to get notifications via dbus when the system resumes from suspended state. Following these existing questions: What DBus signal is sent on system suspend? How do I detect when my system wakes ...
0
votes
1answer
139 views

After trying to remove SELinux, system doesn't start; shows error of “unable to connect to system bus”

I had SELinux installed on my system which actually was a bit annoying. I tried to remove it. After that my system is unable to start. The error that is showing up is: unable to connect to system ...
5
votes
2answers
4k views

Access D-Bus remotely using socat

Description: I'd like to access a D-Bus system service from another machine, knowing only machine's IP address and the service to connect to. What I have recently found is Gabriel (D-Bus over SSH). ...
17
votes
3answers
22k views

How to configure D-Bus and SSH X-Forwarding to prevent SSH from hanging on exit?

I am attempting to run various Gnome applications via X11 Forwarding and SSH. Some applications will cause the 'dbus-launch' application to be spawned first. The problem is that dbus-launch doesn't ...
1
vote
0answers
559 views

Fedora Failed to get D-Bus connection

I have a VPS with fedora 16 installed. I have setup mysql and it was working a couple of days ago. Now suddenly when I try to start mysql I get the error: Failed to get D-Bus connection: Failed to ...
0
votes
1answer
3k views

dbus dependency with yum

Whenever, I try and run yum update I get the following error: [root@server ~]# yum update Loaded plugins: dellsysid, fastestmirror Loading mirror speeds from cached hostfile * base: mirror01.idc....
0
votes
1answer
251 views

Remotely reinstall dbus and libdbus

OS: Ubuntu 11.04 amd64 After several updates, dbus didn't get to install correctly (carelessly used &&; long night), which I found out after server restart – no network services are ...
40
votes
6answers
57k views

How to find other end of unix socket connection?

I have a process (dbus-daemon) which has many open connection over UNIX sockets. One of these connections is fd #36: =$ ps uw -p 23284 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...