public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Simon Huggins <huggie@earth.li>
To: list bluez <bluez-users@lists.sf.net>
Subject: Re: [Bluez-users] bluepin
Date: Sun, 13 Jun 2004 10:13:28 +0100	[thread overview]
Message-ID: <20040613091328.GB27985@paranoidfreak.co.uk> (raw)
In-Reply-To: <1087080981.21738.3.camel@tr1a.ozob.net>

'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 -(                                     )-


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-06-13  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-12 22:56 [Bluez-users] bluepin Gene Imes
2004-06-13  9:13 ` Simon Huggins [this message]
2004-06-14  9:49 ` Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
2004-06-12 18:28 [Bluez-users] Broadcasting in Bluetooth Suresh Srinivasan
2004-06-12 22:09 ` [Bluez-users] bluepin Gene Imes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040613091328.GB27985@paranoidfreak.co.uk \
    --to=huggie@earth.li \
    --cc=bluez-users@lists.sf.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox