LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2009, 09:51 AM   #1
rahul_217
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
rdesktop with smartcard reader


hi,
I have installed rdesktop 1.6 with smart card support.I have a

usb smart card reader which will accept a smart card for login
the remote client.
Here is scenario,
I have plug in the usb smart card reader and invoke pcscd daemon which recognized the smart card.Now i invoke the rdesktop
with scard option it recognized the smart card.But when i unplug
the usb smart card reader and plug it again(while rdesktop is running) it(rdesktop) does not recognized the smart card.This process work perfectly in Windows but in Linux it does not works.
So can any body help me.
 
Old 01-04-2014, 09:02 PM   #2
vikrant.telkar
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
1. start pcscd daemon
/etc/init.d/pcscd restart

2. Get the smart card reader name and number, this command will also make sure that you computer is able to communicate with smart card reader and smart card too.
$ pcsctest

MUSCLE PC/SC Lite Test Program

Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: SCM SCR 331 00 00
Enter the reader number : 01
Waiting for card insertion
: Command successful.
Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : SCM SCR 331 00 00
Current Reader State : 0x34
Current Reader Protocol : 0x1
Current Reader ATR Size : 22 (0x16)
Current Reader ATR Value : 3B DB 96 00 80 B1 FE 45 1F 83 00 31 C0 64 B0 FC 10 00 0F 90 00 0D
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: SCM SCR 331 00 00
Enter the reader number : 01
Waiting for card insertion
: Command successful.
Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : SCM SCR 331 00 00
Current Reader State : 0x34
Current Reader Protocol : 0x1
Current Reader ATR Size : 22 (0x16)
Current Reader ATR Value : 3B DB 96 00 80 B1 FE 45 1F 83 00 31 C0 64 B0 FC 10 00 0F 90 00 0D
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.

PC/SC Test Completed Successfully !

3. install rdesktop1.6.0
4. use this command to connect to windows desktop using following command.
rdesktop -r scard:"SCM SCR 331 00 00"="01" servername

that's it boom,boom and boom.
 
Old 01-04-2014, 09:42 PM   #3
vikrant.telkar
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
compile rdesktop with following options

#cd Desktop/rdesktop-1.6.0
#./configure --enable-smartcard -x-includes=/usr/X11/include-x-libraries=/usr/X11/lib
#make
#make install
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with pc/sc smartcard reader. intz Linux - Hardware 5 05-10-2009 07:35 AM
Need Help for SmartCard with rdesktop tobiasw Linux - Software 1 10-18-2006 04:13 PM
RDesktop with SmartCard tobiasw Linux - General 2 10-18-2006 04:53 AM
Help Mounting Smartcard Reader dkaplowitz Linux - Hardware 2 09-18-2003 01:17 PM
Dazzle SmartCard Reader DoctorSteele Linux - Hardware 0 09-09-2003 02:18 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration