FS#2009 - BlueZ's bluepin does not work
Attached to Project:
Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Wednesday, 12 January 2005, 16:24 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 12 January 2005, 18:54 GMT
Opened by Eugenia Loli-Queru (Eugenia) - Wednesday, 12 January 2005, 16:24 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 12 January 2005, 18:54 GMT
|
Details
The Bluez pygtk app named "bluepin" does not load. It gives
me this error, obviously an ArchLinux bug:
# bluepin Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Traceback (most recent call last): File "/usr/bin/bluepin", line 39, in ? import gtk File "/home/jan/abs/pygtk/pkg/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ? RuntimeError: could not open display Please fix this bug because it means that I can NOT use my laptop as a Bluetooth client. I am trying to network my PowerBook and my Linux laptop, and all things work, but of course, I need the Bluetooth PIN number to enter on my Powerbook before I can connect the two. Yes, this is a bit urgent. Thanks. |
This task depends upon
Closed by arjan timmerman (blaasvis)
Thursday, 10 February 2005, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in the latest release if not reopen !
Thursday, 10 February 2005, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in the latest release if not reopen !
Look at your error message. You get an error on "Could not open display", and an error on top of it that X refused your connection. Do you really think this is an archlinux bug instead of a stupid user bug?
I can agree, it is always a user error. More specifically, seems to be yours this time. :P
They redefine your $DISPLAY and $XAUTHORITY to values that are not right, the $XAUTHORITY gets lost in the initialization causing the error.
BTW: Bluepin is not system category and this bug is not critical.
In my point of view, it is. I would not even start thinking Apple start selling Mac OS X Tiger without having their Bluetooth Pairing code working. That would be a "hard stop" for their release, because without having the pin number, you can't pair two Bluetooth devices. Sure, after googling away for a while I found that I could change the pin number on /etc/bluetooth/pin with a text editor, but the user of a 2005's modern operating system should NOT have to do this. That's why the GUI app of Bluepin was created in the first place. And most people don't want to start editing weird files on /etc (or loading manually drivers, as I had to do earlier today because Hotplug only does half the job) just to be able to talk to their Phone to download some pictures or exchange some files with another computer. These are the places where Linux needs to better itself: in the convenience of the user for everyday uses. I use Bluetooth for several uses, and so it's pretty critical to me. Maybe not critical to the system itself, but definetely critical in the overall impression of the system.
I don't use bluez-utils, but here is a workaround for the DISPLAY bug.
# xhost +localhost
After that, running bluepin would only output "ERR". Apparently it wants two arguments passed along with it.
syntax: bluepin <out|in> <addr>
It's a simple script, by the looks of it. I'm not really sure it does anything useful actually. Care to enlighten me?