Обнаружил, что rdesktop в Ubuntu без поддержки smartcard, в Fedore c этим проблем нет. Может существует готовый пакет? Пытался сам сделать
./configure --exec-prefix=/usr/ --with-libpcsclite-dev --enable-smartcard
выскакивает ошибка
In file included from scard.c:42:0:
scard.h:53:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MYPCSC_SCARD_READERSTATE_A’
scard.h:54:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MYPCSC_LPSCARD_READERSTATE_A’
scard.c:974:61: error: expected ‘)’ before ‘src’
scard.c:993:66: error: expected declaration specifiers or ‘...’ before ‘MYPCSC_LPSCARD_READERSTATE_A’
scard.c: In function ‘copyReaderState_ServerToMyPCSC’:
scard.c:997:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:997:2: note: each undeclared identifier is reported only once for each function it appears in
scard.c:997:31: error: expected ‘;’ before ‘dstIter’
scard.c:1000:29: error: ‘dstIter’ undeclared (first use in this function)
scard.c:1000:39: error: ‘dst’ undeclared (first use in this function)
scard.c: In function ‘TS_SCardGetStatusChange’:
scard.c:1020:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1020:31: error: expected ‘;’ before ‘myRsArray’
scard.c:1077:2: error: ‘myRsArray’ undeclared (first use in this function)
scard.c:1077:53: error: ‘MYPCSC_SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1081:2: error: too many arguments to function ‘copyReaderState_ServerToMyPCSC’
scard.c:993:1: note: declared here
scard.c:1085:2: warning: implicit declaration of function ‘copyReaderState_MyPCSCToServer’
scard.c: In function ‘TS_SCardLocateCardsByATR’:
scard.c:1156:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1156:31: error: expected ‘;’ before ‘myRsArray’
scard.c:1168:55: error: ‘SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1223:2: error: ‘myRsArray’ undeclared (first use in this function)
scard.c:1223:57: error: ‘MYPCSC_SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1226:2: error: too many arguments to function ‘copyReaderState_ServerToMyPCSC’
scard.c:993:1: note: declared here
scard.c: In function ‘TS_SCardGetAttrib’:
scard.c:1881:3: warning: large integer implicitly truncated to unsigned type
make: *** [scard.o] Ошибка 1