In continuing to integrate CAC into Linux, I went to the RDesktop SourceForge CVS website, followed the cvs download directions (using “rdesktop” as the modulename), and downloaded the latest version of rdesktop, which is supposed to have smartcard reader support. This piggybacks off of the installation of the CAC reader software in the previous post.
Once downloaded, cd to the rdesktop directory and do the following:
- Run the command “declare -x PKG_CONFIG_PATH=/usr/cac/lib/pkgconfig”
- “./configure –prefix=/usr/cac –enable-smartcard” – look for the line, “checking for PCSCLITE:” – it should say “yes” (thanks to the previous “declare” command)
- make && make install
- Run with “rdesktop -r scard <remote IP>:<remote port>
I was able to RDP over a VPN tunnel I established to a Windows machine I could test with, and confirmed that ActiveCard Gold utilities on the remote computer read and accepted my card certs from my local computer. Next, I was able to pass the certs to my (remote computer’s) Outlook e-mail client in order to send signed and encrypted messages.