Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdebluetooth4 can't be run as normal user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Yukimura
Apprentice
Apprentice


Joined: 25 Aug 2006
Posts: 163
Location: Slovenia

PostPosted: Sat Aug 01, 2009 2:33 pm    Post subject: kdebluetooth4 can't be run as normal user Reply with quote

Hello everyone!

I'm having difficulties with running kdebluetooth 4.0.3 as normal user.
I compiled kdebluetooth without any problems, and I can run it as root, but not as normal user. I know it's probably some minor trick, but I can't seem to fix it.

Can anyone please help me out here?

Kind regards! :-)
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Aug 01, 2009 2:44 pm    Post subject: Reply with quote

You probably need to add your username to the group that owns the bluetooth devices (like 'rfcomm0') - from looking at the udev-rules, i'd suspect it will be the 'uucp' group, but check the /dev directory to be sure... :?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
Yukimura
Apprentice
Apprentice


Joined: 25 Aug 2006
Posts: 163
Location: Slovenia

PostPosted: Sat Aug 01, 2009 2:54 pm    Post subject: Reply with quote

Well, I am in uucp group.

I just discovered a bit of a strange thing. I can run kbluetooth4 as normal user, but nothing happens (no icon in systray or anything).
But if I run it as root, everything seems to work, but when I want to, let's say send file to my phone, I get error like this one:

"Could not start process Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files."

Any new ides?
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Wed Dec 02, 2009 12:05 pm    Post subject: Reply with quote

Yukimura wrote:
"Could not start process Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files."


Same problem here, in another circumstance. What's the solution?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
Yukimura
Apprentice
Apprentice


Joined: 25 Aug 2006
Posts: 163
Location: Slovenia

PostPosted: Wed Dec 02, 2009 1:15 pm    Post subject: Reply with quote

Do you have kdebluetooth installed from portage or did you compile it manually?

My solution was, to not use kdebluetooth until recently, when it came in portage and it worked without any problem.
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Wed Dec 02, 2009 1:20 pm    Post subject: Reply with quote

No, I don't have kbluetooth (kdebluetooth on KDE4, I guess) installed.

I got this error when I do:
Code:
kdesu systemsettings

And I go to Appearance->Splash Screen->Install Theme File... and I try to browse for the new theme file.

But.....

I've just tried again, and 8O 8O 8O the message no longer appear!!! I don't know why.. Unbelievable!
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
drbergie
n00b
n00b


Joined: 22 Nov 2007
Posts: 34

PostPosted: Sun Dec 13, 2009 7:55 pm    Post subject: Reply with quote

After installing kbluetooth 0.4_rc2 there was a message about a bug https://bugs.gentoo.org/279616 that you need to add your self to the group bluetooth. (I had to also create this group).

After adding myself, I just had to log into KDE again, and all my bluetooth-ing was working again :)
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Dec 13, 2009 9:20 pm    Post subject: Reply with quote

drbergie wrote:
After installing kbluetooth 0.4_rc2 there was a message about a bug https://bugs.gentoo.org/279616 that you need to add your self to the group bluetooth. (I had to also create this group).

After adding myself, I just had to log into KDE again, and all my bluetooth-ing was working again :)


Yes, it's a bluez + dbus issue.

As in,

One of the bluez maintainers refuse to add support for plugdev (or bluetooth) group to bluez because he wants everyone to use policykit.

So your options are:

a) Use policykit
b) Hack the plugdev (or bluetooth) group support in yourself

Any discussion about that should take place in the bug you referenced. It's not really a kbluetooth issue if bluez is a mess, it's just using it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum