[BRLTTY] Brltty install and Authentication error when calling brailapitest program
Dave Mielke
dave at mielke.cc
Sun Jun 23 21:31:36 EDT 2013
You don!t want to to have brltty running more than once without using different options for each one so that each one will control a different braille device. Having more than one brltty process try to control the same braille device can cause a lot of confusion, and usually means that the braille device will seem to not be working at all.
Sent from Nokia Mobile
-original message-
Subject: Re: [BRLTTY] Brltty install and Authentication error when calling brailapitest program
From: Siju Samuel <sijusamueltech at gmail.com>
Date: 2013-06-21 17:45
It Looks like I did not run the command "brltty -d /dev/pts/3 -bauto"
after "make install". Right now the authentication is going through.
But If I run '"brttly" again, it adds one more brttly job when checked
with ps -A | grep brttly'. From the documentation I understood, inorder
to invoke brtlyapi_methods there will be having server program running.
Can you please mention which Job it is ? And with multiple 'brttly'
command will it run that many server attached to many socket.?
On Fri, Jun 21, 2013 at 10:40 AM, Siju Samuel <sijusamueltech at gmail.com>wrote:
> Hi,
>
> I am getting "Authentication failed Message" when running BrailApi.
> Installed Brttly and ran apitest. Details are as below.
>
>
> *Details : *
> I have installed brttly freshly in a linux ubuntu box. Uninstalled the
> default brltty comes with this and installed from the downloaded
> brltty-4.5.tar.gz
> by doing the following from the extracted directory.
> sudo ./configure
> sudo make
> sudo make install
>
>
> Then when running the "apitest" from
>
> cd brltty-4.5/Programs
> sudo make apitest
> sudo ./apitest
> *Connecting to BrlAPI... failed to connect to :0 using auth
> /etc/brlapi.key: Authentication failed*
>
> Also I have changed the main in Apitest.c, still gives the same error.
> *change : settings.host = NULL; settings.auth ="/etc/brlapi.key";*
>
> I have also referred the sample program here, still gets the same error.
> http://mielke.cc/brltty/doc/Manual-BrlAPI/English/BrlAPI-5.html#sec-library
>
>
> So am I missing any steps required. Any help is highly appreciated. Please
> note that I am running all the program with root/sudo access.
>
> Thanks,
> Siju Samuel
>
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY at mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty
More information about the BRLTTY
mailing list