Re: Piepen

Martin Preuss <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
On Thursday 28 September 2006 15:30, Marcel Naziri wrote:
[...]
> 5:2006/09/28 15-27-21:chipcardd(21028):devicemanager.c: 2059:
> Driver "451bcdb3" (cyberjack_ctapi) is up (Library loaded)
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Warum will der CTAPI-Treiber eine Verbindung zum X-Server? Hat das etwas
> mit dem Piepcode zu tun?
[...]
Ja, wenn der Treiber auf der Konsole gestartet wird (also von einem 
nicht-grafischen Programm gelkaden wird) wird einfach ein BEL-Zeichen 
ausgegeben (->piept). Wenn X laeuft, wird stattdessen die Funktion XBell() 
aufgerufen, und das scheitert meistens daran, dass root nicht einfach so mit 
der X-Session eines Benuters verbinden darf.

Man kann das beheben mit "xset +local:" in einer KDE-Konsole, aber das Piepen 
geht dann leider immer noch nicht so, wie es soll.


Gruss
Martin

-- 
"Things are only impossible until they're not"

AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.