LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2016, 05:07 PM   #1
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Rep: Reputation: 1
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
 
Old 04-01-2016, 05:08 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Which Desktop environment?
 
Old 04-01-2016, 05:11 PM   #3
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
xfce4
 
Old 04-01-2016, 05:15 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What if you go to the Settings menu and double-click "Bluetooth Adapters"?
 
Old 04-01-2016, 07:49 PM   #5
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
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
 
Old 04-01-2016, 09:10 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.
 
Old 04-01-2016, 10:46 PM   #7
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
/etc/rc.d/rc.bluetooth restart as root----starting Bluetooth services:bluetoothhd,hciconfig,sdptool,hciattach,rfcomm
double clicked settings Bluetooth Adapters-nothing happens.
 
Old 04-02-2016, 04:29 AM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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
me        1959  1793  0 04:20 pts/1    00:00:00 grep blue
root     28022     1  0 Apr01 pts/0    00:00:00 /usr/sbin/bluetoothd -E
me       28211     1  0 Apr01 ?        00:00:01 /usr/bin/python2.7 /usr/bin/blueman-applet
me       28221     1  0 Apr01 ?        00:00:00 /usr/libexec/bluetooth/obexd
 
Old 04-02-2016, 12:49 PM   #9
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
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.

Last edited by mainam; 04-02-2016 at 12:50 PM.
 
Old 04-02-2016, 02:06 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.
 
Old 04-02-2016, 03:44 PM   #11
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
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.
 
Old 04-02-2016, 05:35 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by mainam View Post
I do not have /etc/rc.d/rc.bluetoothd.
It should just be /etc/rc.d/rc.bluetooth

Then change:

Code:
bluez_start() {
  /usr/sbin/bluetoothd
}
to

Code:
bluez_start() {
  /usr/sbin/bluetoothd -d
}
 
Old 04-02-2016, 07:10 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by bassmadrigal View Post
It should just be /etc/rc.d/rc.bluetooth
That's what I get for typing from memory.

EDIT:

And there's no bluez_start() in current. The end result should look like

Code:
start() {
  if [ -d /sys/class/bluetooth ]; then
    # Start as background process and assume OK
    echo -n "Starting Bluetooth services:  bluetoothd "
    /usr/sbin/bluetoothd -d &
    echo -n "hciconfig "
    start_hci_dev
    echo -n "sdptool "
    run_sdptool
    echo -n "hciattach "
    start_uarts
    echo "rfcomm"
    start_rfcomm
  fi
}

Last edited by Richard Cranium; 04-02-2016 at 07:12 PM.
 
Old 04-02-2016, 10:57 PM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Richard Cranium View Post
And there's no bluez_start() in current.
I knew I should've checked my HTPC that's running -current rather than my 14.1 system...

With our knowledge combined...
 
Old 04-03-2016, 12:07 AM   #15
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
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

Last edited by mainam; 04-03-2016 at 12:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication failure with Blueman applet and cell phone. camorri Slackware 1 05-29-2015 06:36 PM
Blueman-applet defaults Woodsman Slackware 1 01-28-2013 08:11 AM
Blueman-applet top cpu user whenever heavy processing is happening gmartin Slackware 1 12-25-2011 02:55 AM
System tray applet disappeared - GNOME desktop panel on fedora12 fusionsun Linux - Desktop 2 04-12-2010 11:40 PM
network manager system tray applet heltgroen Linux - Newbie 5 06-29-2009 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration