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 07-09-2018, 07:25 PM   #1
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 281

Rep: Reputation: 33
[Current] Bluetooth controller not accessible by user (default groups)


Hello,

Fresh install of Slackware -Current.

root is able to open bluetoothctl and immediately gets an 'agent registered' notification and can use the bluetooth controller:

Code:
bash-4.4$ sudo bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# list
Controller B4:6B:FC:F5:6F:4E black [default]
[bluetooth]#
However, the behavior is very odd with regular user:

Code:
bash-4.4$ whoami
noir
bash-4.4$ groups
users lp wheel floppy audio video cdrom plugdev power netdev scanner
bash-4.4$ id
uid=1000(noir) gid=100(users) groups=100(users),7(lp),10(wheel),11(floppy),17(audio),18(video),19(cdrom),83(plugdev),84(power),86(netdev),93(scanner)
bash-4.4$ bluetoothctl
The bluetoothctl command just hangs here until I hit [Enter], then I get the bluetoothctl prompt:

Code:
[bluetooth]# 
[bluetooth]# agent on
Agent registration enabled
[bluetooth]# power on
No default controller available
[bluetooth]# list
[bluetooth]#
So as you can see, previous solution of simply adding user to groups does not resolve the issue. I even deleted the user and re-added via adduser, and asigning the full group suggestion (and adding wheel) again, just to be sure. Same issue.

Any ideas?

Last edited by Freaksta; 07-09-2018 at 07:27 PM.
 
Old 07-09-2018, 07:30 PM   #2
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 281

Original Poster
Rep: Reputation: 33
looks like dbus is rejecting me?

Code:
Jul  9 20:11:55 noir dbus-daemon[1129]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.68" (uid=1000 pid=2384 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1134 comm="/usr/sbin/bluetoothd ")
Jul  9 20:11:55 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gtk.vfs.Daemon' requested by ':1.1' (uid=1000 pid=2390 comm="gsettings-data-convert ")
Jul  9 20:11:55 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gtk.vfs.Daemon'
Jul  9 20:12:05 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.a11y.Bus' requested by ':1.7' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:05 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.a11y.Bus'
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.9' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gtk.vfs.GPhoto2VolumeMonitor' requested by ':1.9' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.9' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gtk.vfs.AfcVolumeMonitor' requested by ':1.9' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:08 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Jul  9 20:12:29 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='ca.desrt.dconf' requested by ':1.9' (uid=1000 pid=2433 comm="xfce4-terminal ")
Jul  9 20:12:29 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'ca.desrt.dconf'
Jul  9 20:13:01 noir dbus-daemon[1129]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.71" (uid=1000 pid=2569 comm="bluetoothctl ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1134 comm="/usr/sbin/bluetoothd ")
Jul  9 20:13:20 noir dbus-daemon[1129]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.72" (uid=1000 pid=2599 comm="bluetoothctl ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1134 comm="/usr/sbin/bluetoothd ")
Jul  9 20:13:39 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Activating service name='org.gnome.GConf' requested by ':1.28' (uid=1000 pid=2625 comm="firefox ")
Jul  9 20:13:39 noir dbus-daemon[2371]: [session uid=1000 pid=2369] Successfully activated service 'org.gnome.GConf'
Jul  9 20:19:34 noir bluetoothd[3442]: Bluetooth daemon 5.50
Jul  9 20:20:58 noir dbus-daemon[1129]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.76" (uid=1000 pid=3553 comm="bluetoothctl ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1134 comm="/usr/sbin/bluetoothd ")
Jul  9 20:28:17 noir dbus-daemon[1129]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=4108 comm="bluetoothctl ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1134 comm="/usr/sbin/bluetoothd ")
 
Old 07-09-2018, 07:49 PM   #3
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 281

Original Poster
Rep: Reputation: 33
Added a new user with a differnt name than my hostname and it works fine:

Code:
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.xfce.Xfconf' requested by ':1.0' (uid=1001 pid=2092 comm="xfce4-session ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.xfce.Xfconf'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.freedesktop.Notifications' requested by ':1.11' (uid=1001 pid=2117 comm="xfce4-power-manager ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.a11y.Bus' requested by ':1.14' (uid=1001 pid=2115 comm="/usr/libexec/polkit-gnome-authentication-agent-1 ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.Daemon' requested by ':1.17' (uid=1001 pid=2144 comm="/usr/libexec/at-spi-bus-launcher ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.Daemon'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.a11y.Bus'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.13' (uid=1001 pid=2109 comm="xfdesktop ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.freedesktop.Notifications'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gnome.GConf' requested by ':1.28' (uid=1001 pid=2112 comm="/usr/bin/python3 /usr/bin/hp-systray -x ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gnome.GConf'
Jul  9 20:45:39 noir bluetoothd[1151]: Endpoint registered: sender=:1.56 path=/MediaEndpoint/A2DPSource
Jul  9 20:45:39 noir bluetoothd[1151]: Endpoint registered: sender=:1.56 path=/MediaEndpoint/A2DPSink
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='ca.desrt.dconf' requested by ':1.26' (uid=1001 pid=2124 comm="/usr/bin/python3.6 /usr/bin/blueman-applet ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.bluez.obex' requested by ':1.32' (uid=1001 pid=2124 comm="/usr/bin/python3.6 /usr/bin/blueman-applet ")
Jul  9 20:45:39 noir obexd[2233]: OBEX daemon 5.50
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'ca.desrt.dconf'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.bluez.obex'
Jul  9 20:45:39 noir dbus-daemon[1146]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.57' (uid=1001 pid=2124 comm="/usr/bin/python3.6 /usr/bin/blueman-applet ") (using servicehelper)
Jul  9 20:45:39 noir blueman-mechanism: Starting blueman-mechanism  
Jul  9 20:45:39 noir dbus-daemon[1146]: [system] Successfully activated service 'org.blueman.Mechanism'
Jul  9 20:45:39 noir blueman-mechanism: loading Ppp  
Jul  9 20:45:39 noir blueman-mechanism: loading Network  
Jul  9 20:45:39 noir blueman-mechanism: loading Rfcomm  
Jul  9 20:45:39 noir blueman-mechanism: loading RfKill  
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.22' (uid=1001 pid=2168 comm="/usr/lib64/tumbler-1/tumblerd ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.GPhoto2VolumeMonitor' requested by ':1.22' (uid=1001 pid=2168 comm="/usr/lib64/tumbler-1/tumblerd ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.22' (uid=1001 pid=2168 comm="/usr/lib64/tumbler-1/tumblerd ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.AfcVolumeMonitor' requested by ':1.22' (uid=1001 pid=2168 comm="/usr/lib64/tumbler-1/tumblerd ")
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Jul  9 20:45:39 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Jul  9 20:45:40 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Activating service name='org.gtk.vfs.Metadata' requested by ':1.7' (uid=1001 pid=2109 comm="xfdesktop ")
Jul  9 20:45:40 noir dbus-daemon[2084]: [session uid=1001 pid=2082] Successfully activated service 'org.gtk.vfs.Metadata'
Jul  9 20:45:50 noir bluetoothd[1151]: /org/bluez/hci0/dev_04_52_C7_7B_C4_70/fd1: fd(37) ready
Jul  9 20:45:50 noir kernel: [  259.298018] input: 04:52:C7:7B:C4:70 as /devices/virtual/input/input22
Jul  9 20:46:09 noir blueman-mechanism: Exiting
 
Old 07-09-2018, 07:59 PM   #4
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 281

Original Poster
Rep: Reputation: 33
Fixed itself.

So weird.

Moving on...
 
Old 07-09-2018, 10:05 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,017

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
Quote:
Originally Posted by Freaksta View Post
Any ideas?
https://www.linuxquestions.org/quest...ml#post5867761

Or...

Quote:
OK, after you add a user to the lp group, you must
  1. As root, run /etc/rc.d/rc.messagebus reload (or reboot)
  2. Logout that user (unless you rebooted, of course)
  3. Log in with that user
 
  


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
How to set default user groups for new users socialdefect Linux - General 4 12-07-2010 02:53 PM
Changing user groups makes data no longer accessible Unforgiven79 Linux - Newbie 5 04-02-2008 06:02 PM
New user not assigned to any groups by default? jlinkels Debian 2 11-21-2007 07:29 AM
Default groups for first ubuntu user magnum81 Ubuntu 1 05-06-2006 10:27 PM
Default user groups Markup Linux - General 4 08-15-2005 04:08 AM

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

All times are GMT -5. The time now is 08:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration