Questions tagged [dbus]
The dbus tag has no usage guidance.
55
questions
1
vote
1
answer
25
views
Use playerctl in systemd-nspawn container
When I launch a web browser in a systemd-nspawn container, playerctl commands don't work to play and pause multimedia, though they work for browsers outside of the container. Is there an environment ...
0
votes
0
answers
111
views
When moving from Debian 10 to 11, Dbus problems appeared
I installed Debian 11, but with the old iptables settings (ALL DROP, even lo), dbus issues a connection error (dbus-launch - no such file or directory). Why does this work on Debian 10 and it does not ...
1
vote
1
answer
49
views
Apache2 not responding to port 80 IPv4 requests
Have encountered a strange problem where my apache2 daemon although supposedly listening according to netstat and lsof is not responding to requests. Here is what I have found so far.
Ensure port 80 ...
0
votes
1
answer
96
views
Running awesome-client (which uses dbus) from acpid
I set up a acpid rule to execute the following command, whenever I receive a specific acpi message:
awesome-client "activate_tabletmode()"
Where activate_tabletmode() is just some function ...
14
votes
4
answers
24k
views
systemctl --use Failed to connect to bus: No such file or directory Debian 9
When I run this commande in my Debian 9 VPS : systemctl --user I have this following error : Failed to connect to bus: No such file or directory
This error appear on all users except the user root.
I ...
1
vote
1
answer
8k
views
Connection reset by peer on systemctl as root
I've setup WSL 2 (Ubuntu) and I installed systemd (and systemd-sysv) there. After that, I ran:
sudo mkdir -p /run/dbus
sudo dbus-daemon --system
sudo daemonize /usr/bin/unshare --fork --pid --mount-...
0
votes
1
answer
169
views
Fedora30 upgrade: Cannot run KDE as a specific user
I've upgraded from Fedora 29 to Fedora 30.
Alghough root can use KDE normally, I fail to use it as a specific user. An almost black fullscreen window appears with a responsive mouse arrow in the ...
2
votes
1
answer
1k
views
Talk to Host machine's Dbus through Docker
I have my application that performs certain task with the help of NFS-Ganesha.
During this it talks to NFS-Ganesha through DBus.
But now I am planning to run NFS-Ganesha on Docker Container.
(My ...
0
votes
1
answer
447
views
Failed to get D-Bus connection: Opération non permise
I'm using a centos 7 OS,
I have removed /var/run/dbus/system_bus_socket after i accidently removed the /var/run folder.
Now when i'm trying to use systemctl command i'm getting the error mentioned ...
1
vote
1
answer
264
views
How do I get .service files for gnome-keyring?
My ultimate goal is to get gnome-keyring functioning as a credential storage for use by shell and python scripts on an RHEL 6 server. The admins installed package gnome-keyring-2.28.2-8.el6_3.x86_64, ...
3
votes
0
answers
60
views
dbus-monitoring loop exits automatically
I'm trying to execute a bash command on screen lock/unlock.
Following tutorials & StackExchange questions, I came up with the following code:
#!/bin/bash
while true; then #added to try to solve ...
2
votes
1
answer
917
views
Unable to start dunst notification daemon for user
I did a clean arch install with only XDM and i3 to serve as login/window managers. I have also installed dunst package; and according to arch wiki nothing else is required for it to work.
However, ...
0
votes
1
answer
1k
views
xinit for correct start of awesome wm in Manjaro (xrdp)
Configuration:
Hyper-V virtual machine, Generation 1
Manjaro 18.00 with awesome WM
xrdp Server installed & running (https://wiki.archlinux.org/index.php/xrdp)
Connecting to this VM from a ...
0
votes
0
answers
152
views
systemd-stdio-bridge and D-Bus errors when trying to execute 'hostnamectl' remotely
Executing hostnamectl command to know host's chassis.
Want to write a proper script to run on a certain list of hosts, but having a problem when executing hostnamectl -H.
Note!
works as expected ...
5
votes
3
answers
3k
views
Use MPRIS/dbus media commands within Firefox on Linux
Back on Windows, I was able to play/pause youtube videos within firefox using the media buttons on my keyboard. On Linux I am really missing this ability.
Is there any way I can send MPRIS commands ...
1
vote
1
answer
437
views
map headset button in gnome3
How can I map in gnome3 the button from my bluetooth headset?
Gnome sees a AcceleratorActivated event when I press it:
$ dbus-monitor --monitor
signal time=1525078944.868498 sender=:1.17 -> ...
1
vote
0
answers
7k
views
Can't start services, probably policykit error
I can't restart services as root on CentOS.
Unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any ...
3
votes
0
answers
116
views
NFS /usr/share breaks Policykit beause of inotify support
I just tried moving some files including /usr/share to a NFS partition to save space when running many similar virtual machines. The configuration mostly works except when starting services
I think ...
4
votes
1
answer
3k
views
How to auto-rotate the screen using Yoga 900's accelerometer?
The Yoga 900 has an accelerometer which should allow auto-rotation behavior.
On installing
https://github.com/hadess/iio-sensor-proxy (Linux*, LightDM) it is possible to run monitor-sensor.
➜ ~ ...
1
vote
0
answers
293
views
lightdm set an wrong DBUS_SESSION_BUS_ADDRESS
I'm using archlinux and lightdm+lightdm-gtk-greeter+aweome as my work environment.
I found my DBUS_SESSION_BUS_SESSION is not properly setup, when I enabled lightdm as my login manager.This ...
1
vote
1
answer
967
views
I want to inhibit the autostart of kwalletd5
I'm not able to find a way to disable the automatic start of kwalletd5 on Fedora 24 with XFCE4.
pstree displays:
fetchmail
firefox─┬─{BgHangManager}
├─{Cache I/O}
├─{Cache2 I/O}
...
0
votes
1
answer
273
views
How to bind a key to cycle profiles in roxterm?
I'd like to be able to switch profiles in roxterm, without having to access the menu each time.
How could this be done?
6
votes
0
answers
3k
views
systemctl debian 8 jessie: Failed to get D-Bus connection: Unknown error -1 [duplicate]
Unfortunately, in my Debian 8 jessie systemctl does not work at all.
Every systemctl command results in:
Failed to get D-Bus connection: Unknown error -1
systecmtl status udev
Failed to ...
0
votes
1
answer
104
views
Centos: there is no ~/.cache/upstart
I'm new with linux.As I know ~/.cache/upstart is folder where system processes log their stuff. But I can't find this folder in Centos. What I'm most curious about is that on Ubuntu this folder ...
2
votes
1
answer
4k
views
Getting error: "Error constructing proxy for org.gnome... Could not connect: Connection refused" when running gnome-terminal
I am getting the error: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection refused" when I try to run gnome-terminal. I am running CentOS 7. I ...
1
vote
1
answer
3k
views
Dbus: How can I monitor process?
I'm new with Dbus and I'm curious if there is any way to monitor process and see if this process receives any Dbus messages. (I'm working on some project and want to know if Xserver receives any Dbus ...
2
votes
1
answer
2k
views
Unable to switch to greeter
I'm using LightDM 1.16.5 along with the Awesome window manager on NixOS.
After logging in, I am unable to switch users without first logging out of my current session. The command dm-tool switch-to-...
5
votes
1
answer
6k
views
How to reliably attach to session DBUS over ssh?
I hardly had any success using a dbus-dependent tool over ssh (for example pactl -- pulseaudio command line interface -- that selects audio output).
I know how to manually export the session's DBUS ...
3
votes
0
answers
6k
views
DBus over Network (TCP)
I'm trying to communicate with a remote DBus (i.e. IP 10.100.20.101) from a host (i.e. IP 10.100.20.102) - X86_64 platform to ARM development board.
I've tried the solutions from here but it caused ...
10
votes
1
answer
5k
views
Ubuntu 15.04: suspend from console without sudo
For years I have been able to suspend my Ubuntu-based machine from regular account using
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop....
2
votes
1
answer
1k
views
How to update DBUS_SESSION_BUS_ADDRESS in tmux when that address changes?
I have noticed, that I can’t run steam in a tmux pane: it gave me error
Error: Unable to open a connection to X. Check your DISPLAY environment
variable and make sure that you have enabled X. If ...
0
votes
4
answers
1k
views
Trying to run Konsole from XMing (Windows) fails
Connecting from XMing latest running on a Windows 7 laptop to an Ubuntu 14.04 server running KDE.
I get the following error:
cpatti@hab: ~
$ konsole ...
1
vote
0
answers
269
views
Error in D-BUS session in Ubuntu
Hi I get the following error upon starting the xfce4-panel
Failed to connect to the D-BUS session bus: Failed to connect to socket
However Dbus is running as i checked it in HTOP
I get the error in ...
1
vote
1
answer
265
views
Is there a DBus command for adding a program start button to a KDE plasma panel?
There was a nice command in KDE3 that allowed my to add a program start button to a kicker panel programmatically:
dcop kicker $PANEL addNonKDEAppButton "$PROGRAM_NAME" "$PROGRAM_DESCRIPTION" "$...
1
vote
0
answers
569
views
Notifications don't show up (notify-send notify-osd)
Notifications via notify-send and notify-osd stopped working for me for no apparent reason.
notify-send does not display anything.
notify-osd displays this error:
** (notify-osd:30409): WARNING **: ...
6
votes
2
answers
3k
views
Use dconf (or comparable) to set configs for another user
On Ubuntu Desktop 13.10, I have a setup script which runs as root. It essentially configures the computer as necessary, but I need to set some things with dconf. The script runs in a Terminal window ...
0
votes
1
answer
97
views
monit fails to support dbus session
I am trying to use monit to monitor and automatically issues like crashes, memory leaks and cpu hotspinning.
For one application - one that uses DBus (serving and calling funcs) just will not start.
...
2
votes
0
answers
4k
views
Connection to dbus session failed
I am running Debian 6 with Gnome 2.30.2 (old, but it's the workstation I have to use). When I want to run dbus-monitor or any other dbus application from within tmux, I get an error:
$ dbus-monitor
...
7
votes
1
answer
2k
views
Where can I find a full list of wpa-* options for the interfaces file?
I'm looking for an exhaustive list of wpa-* options that can be used in the /etc/network/interfaces file.
The Debian wiki has a how-to-use page here: https://wiki.debian.org/WiFi/HowToUse, which ...
1
vote
0
answers
388
views
is my dbus setup broken? (or: why aren't the envvars set?)
Lots of dbus-using applications respond to method calls and send signals just fine, so obviously not everything is broken for me. However:
In my terminals, $DBUS_SESSION_BUS_FOO environment variables ...
2
votes
1
answer
2k
views
What DBus signals do I send to players to imitate Gnome's multimedia shortcuts?
I have Xubuntu 11.10, XFCE. I want to send DBus signals to the players so that they worked like in Gnome: you press 'play' key, it plays, 'next' - it forwards, and so on.
For that, I need to bind to ...
1
vote
1
answer
1k
views
Useless nm_dbus_manager_init_bus error messages fill log
My system runs fine, but /var/log/messages repeats this message every
few seconds, filling up my log directory:
Oct 13 09:10:57 barry NetworkManager: <WARN>
nm_dbus_manager_init_bus(): Could ...
20
votes
1
answer
3k
views
How to use headless Skype over DBUS on Debian
I installed Skype on Debian and ran it headless, however, I cannot interact with it over dbus.
Some context of what I have so far:
Installed Debian 6 on VMware fusion box from netinst CD
Skype ...
2
votes
1
answer
2k
views
configure: error: cannot find D-Bus
When configuring a software (subversion) on Ubuntu Linux (10.04 lucid), I get an error:
configure: error: cannot find D-Bus
I restarted dbus service:
#service dbus restart
dbus start/running, ...
2
votes
2
answers
356
views
Something is blocking audio controls?
Lately I noticed that something seems to be blocking various audio controls - mixer mostly. I can't access mixer window from taskbar, my keyboard volume knob doesn't work, mute too.
But - all the ...
0
votes
1
answer
163
views
How to play Magnatune.com songs in Amarok via DBus
Amarok implements MPRIS DBus-based protocol for remote control. How can I use it to play http://magnatune.com songs? Basically, how does a Magnatune song URI look like from Amarok point of view?
8
votes
4
answers
3k
views
Is there a DBus command to toggle auto-hide on a KDE Plasma panel?
Is there a DBus command (or some other way from the command line) to toggle auto-hide on a panel in KDE Plasma? (I'm running KDE 4.6.)
I have a game I run in WINE that doesn't work right if it's ...
0
votes
2
answers
939
views
dbus signal for volume up & down
I recently upgrade to Ubuntu 10.10 Maverick Meerkat and to my dismay, the mediakeys "volume up" and "volume down" do not send Dbus signals anymore... how can I add these back?
Thanks!!
0
votes
1
answer
478
views
Gentoo startup error (D-BUS)
When I start my PC with Gentoo everything goes ok until it reaches
INIT: Entering runlevel: 3
...
Starting D-BUS system messagebus
It just stops booting here.
What might be wrong and ...
4
votes
1
answer
5k
views
Linking to a chat room via XMPP: URI
I found out how to link directly to a chat room on a Jabber conference server -- it took a bit of digging, and I wound up actually looking at the spec before I was sure I was doing it right. I ...