Re: [Bluez-users] bluepin

Simon Huggins
2004-06-13T09:13:28Z

'ello list

On Sat, Jun 12, 2004 at 05:56:21PM -0500, Gene Imes wrote:
> Sorry about that. I inadvertantly tacked this to another thread. My
> apologies.

> Anyone know how to fix this:

> gene@tr1a:~> 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 "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line
> 43, in ? from _gtk import *
> RuntimeError: could not open display

You're trying to run the python-gtk bluez pin helper. Are you actually
in X?

You could change your pin helper to just be:
#!/bin/sh
echo "PIN:1234"

or whatever yours is and the corresponding pin_helper line in hcid.conf

I guess ultimately you might want the python-gtk helper to work though.

Simon.

--
Black Cat Networks -( "I'm gonna eat you, little fishy!" )-
UK domain, email and web hosting -( - The Cat )-
http://www.blackcatnetworks.co.uk -( )-