Skip to contentSkip to conversation

bluepin

Bluez-users Gene Imes 3 participants 3 messages Jun 12, 2004 – Jun 14, 2004 Bluetooth drivers

lore
Share & tools
lore

Gene Imes

author
#0 lore raw

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

Thanks,

Gene

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

'ello list

Quoted 9 lines · Gene Imes

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

Quoted 6 lines

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.

Signature · 7 lines
        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.
Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
In reply to Gene Imes
Quoted 5 lines · Gene Imes

Anyone know how to fix this:

gene@tr1a:~> bluepin
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

It's probably some kind of authorization problem. Are you able to

xauth merge ~/.Xauthority

?

Signature · 21 lines
Peter Stephenson <[email protected]>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users