Rdesktop with scard support

Sven Kabelin <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Thank you for your response.

Sorry to write a new email, the conversation to the devel maillist I
see it yesterday in gmail its actual complete disappear Oo. I need to
resarch in SourceForge archive.

> Did you compile rdesktop from source? If so, you can add --enable-debug
> --enable-debug-smartcard to your ./configure command line to get (much)
> more verbosity from rdesktop regarding the smartcard.

Yes, i have compiled rdesktop from source. Here is the actual
configure settings.

./configure --enable-smartcard --enable-debug --enable-debug-smartcard

The version is rdesktop-1.6.0

libpcsclite1 1.3.2-5
libpcsclite-dev 1.3.2-5
pkg-config 0.21-1

>if the problem is not obvious, try running it under gdb: gdb --args
>rdesktop -r scard [...]; when it crashes type 'where' and send the
>output to this list.

Ok, here is the output from gdm

# gdm /usr/src/rdesktop-1.6.0/rdesktop
(gdb) run -r scard 192.168.10.3
Starting program: /usr/src/rdesktop-1.6.0/rdesktop -r scard 192.168.10.3
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1212172608 (LWP 1991)]
[New Thread -1213432912 (LWP 1995)]
ERROR: Failed to open keymap en-us
[New Thread -1222190160 (LWP 1996)]
[New Thread -1230578768 (LWP 1999)]
[New Thread -1238967376 (LWP 2000)]
NOT IMPLEMENTED: data PDU 41

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1238967376 (LWP 2000)]
0x080746c7 in TS_SCardTransmit (in=<value optimized out>, out=0x83fe07c)
at scard.c:1427
1427            memcpy(dstBytes, srcBytes, bytesToCopy);
(gdb)

The problem is, after the gdb prompt ist coming, no keybord stroke is
assumed and i cant write "where" in the terminal. Also in new Terminal
 sessions.
I hope this still useful for you.


Thanks
Sven


> -----Original Message-----
> From: Sven Kabelin [mailto:sven@ka...]
> Sent: Wednesday, November 18, 2009 8:07 AM
> To: rdesktop-devel@li...
> Subject: [rdesktop-devel] Rdesktop with scard support
>
> Hello,
>
> I have a problem with -scard support in rdesktop and I hope anyone has
> a idea what's the problem is.
>
> The followind steps are made:
>
> - install a debian system
> - apt-get install libpcsclitel
> - apt-get install libpcsclite-dev
> - apt-get install pkg-config
>
> I would like to use a Card Reader SCR 335 with Datev secure card.
>
> Reader is detected under Linux and the reader is hand over to the
> Terminal Server session, where's visible. So, my problem is, as soon
> as put the card into the reader I get an "segmentation fault" and
> rdesktop crashed. No error before give me a hint what can be wrong.
>
> Have anyone a idea?
>
>
> Thanks
> Sven

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
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.