no blueman-applet(bluetooth-applet) in desktop tray when slack-current boots
Since Consolekit&GConf were upgraded in slack-current in this development cycle blueman-applet fails to autostart and appear in desktop tray.
Happens with every install of pure slack-current from released dvd isos. dbus-launch blueman-applet loads the applet to appear on desktop tray.All components of applet function but only adds device but does not connect. Have tried on 2 laptops different brands and a desktop with same result.Most recent iso tested released on 29-3-16. When I downgrade to Consolekit-0.4.5 and GConf that goes with it,at boot b-applet auto-starts and appears on desktop tray.Seems to behave normally-can pair and connect easily.I have connections to b-mouse,b-keyboard,and b-speaker and it also picks up my smartv recently purchased-yet to work out what to do with smattv connection! What is different in Consolekit2-1.0.0and its GConf from Consolekit-0.05 and its GConf that prevents b-applet from auto-starting and appearing in desktop tray. Could recent problems with bluetooth discussed in forum be related to it If no one else has had this problem, I will quietly go to the corner and be depressed Hope this is not a duplicate post! Thanks for your help |
Which Desktop environment?
|
xfce4
|
What if you go to the Settings menu and double-click "Bluetooth Adapters"?
|
Thanks for your fast response Richard.when I double click on bluetooth adapters nothing happens.When I execute as user Blueman-adapters at the terminal I get this.
/usr/bin/blueman-adapters:10: PyGIWarning: Pango was imported without specifying a version first. Use gi.require_version('Pango', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Pango /usr/lib/python2.7/site-packages/blueman/Functions.py:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk blueman-adapters version 2.0.3 starting ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying Traceback (most recent call last): File "/usr/bin/blueman-adapters", line 241, in <module> BluemanAdapters(adapter_name) File "/usr/bin/blueman-adapters", line 49, in __init__ check_bluetooth_status(_("Bluetooth needs to be turned on for the adapter manager to work"), lambda: exit()) File "/usr/lib/python2.7/site-packages/blueman/Functions.py", line 89, in check_bluetooth_status if "PowerManager" in applet.QueryPlugins(): File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying |
Hmm. I just checked my laptop and bluetooth wasn't on despite the service being marked as executable.
Try running /etc/rc.d/rc.bluetooth restart as root and then do the settings menu thing. |
/etc/rc.d/rc.bluetooth restart as root----starting Bluetooth services:bluetoothhd,hciconfig,sdptool,hciattach,rfcomm
double clicked settings Bluetooth Adapters-nothing happens. |
I'll bet that your ~/.xsession-errors file contains the traceback that you posted earlier. Does your system have the polkitd user and group? Is bluetoothd still running when you look?
My laptop has an up-to-date installation of Slackware64 -current and bluetooth appears to be working.... Code:
me@hp635 ~$ ps -ef | grep blue |
my system has polkitd user and group
ps -ef | grep blue root 1287 1 0 13.49 ? 00:00:00 /usr/sbin/bluetoothd me 1686 1398 0 13.52 tty1 00:00:00 /usr/bin/python2.7 /usr/bin/blueman-applet me 1730 1722 0 13.55 pts/0 00:00:00 grep blue Thanks for your help Richard. Looks like I am the only one having this problem. |
Well, you can edit /etc/rc.d/rc.bluetoothd, add "-d" to the bluetoothd command line, and restart bluetoothd and check the logs. Maybe we'll see something there.
On the other hand, this seems like some type of dbus issue. I don't know how to troubleshoot that particular subsystem. |
I do not have /etc/rc.d/rc.bluetoothd.Also in a pure slack-current install,I am surprised other people are not seeing it, even a dbus issue.Thanks again.
|
Quote:
Then change: Code:
bluez_start() { Code:
bluez_start() { |
Quote:
EDIT: And there's no bluez_start() in current. The end result should look like Code:
start() { |
Quote:
With our knowledge combined... ;) |
the xsession.errors log file with bluetoothd -d as suggested
system-config-printer-applet: failed to start NewPrinterNotification service system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.16" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file /usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) /usr/bin/blueman-applet:20: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify ERROR:dbus.proxies:Introspect error on :1.5:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.48" (uid=1000 pid=1597 comm="/usr/bin/python2.7 /usr/bin/blueman-applet ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1304 comm="/usr/sbin/bluetoothd -d ") Traceback (most recent call last): File "/usr/bin/blueman-applet", line 120, in <module> BluemanApplet() File "/usr/bin/blueman-applet", line 62, in __init__ self.Plugins.Load() File "/usr/lib/python2.7/site-packages/blueman/main/PluginManager.py", line 90, in Load __import__(self.module_path.__name__ + ".%s" % plugin, None, None, []) File "/usr/lib/python2.7/site-packages/blueman/plugins/applet/AuthAgent.py", line 9, in <module> import blueman.main.applet.BluezAgent as BluezAgent File "/usr/lib/python2.7/site-packages/blueman/main/applet/BluezAgent.py", line 20, in <module> from blueman.bluez.Agent import Agent, AgentMethod File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 48, in <module> class Agent(dbus.service.Object): File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 56, in Agent @AgentMethod File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 38, in AgentMethod if BlueZInterface.get_interface_version()[0] < 5: File "/usr/lib/python2.7/site-packages/blueman/bluez/BlueZInterface.py", line 17, in get_interface_version introspection = dbus.Interface(obj, 'org.freedesktop.DBus.Introspectable').Introspect() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.48" (uid=1000 pid=1597 comm="/usr/bin/python2.7 /usr/bin/blueman-applet ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1304 comm="/usr/sbin/bluetoothd -d ") . hope it makes some sense to you.I have no clue.Thanks for your help |
All times are GMT -5. The time now is 04:09 AM. |