Re: Card attributes gets lost through RDP session with rdesktop
Robin Jonsson <[email protected]> Fri, 27 Mar 2015 08:18:02 +0000
| Newsgroups | gmane.network.rdesktop.user |
|---|---|
| Message-ID | <D13ACB6B.2271%[email protected]> |
--===============4219937826230178726== Content-Language: sv-SE Content-Type: multipart/alternative; boundary="_000_D13ACB6B2271robinjonssonenfose_" --_000_D13ACB6B2271robinjonssonenfose_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello Henry, I had somewhat of the same issue. I had a setup of an IGEL Thin Client with an OmniKey 3121 reader from which= I connected via rDesktop to a Windows 7 x64 Client. The card and the reade= r showed up in Windows and seemed fine until I actually tried to read somet= hing. I just got a single flash on the LED and then the software reading hu= ng (certificate export in certmgr.msc or whatever) until the card was remov= ed. Connecting the reader directly to the Windows 7 x64 worked perfectly. S= o did Windows 7 x64 -> Windows 7 x64 SC RDP redirect. So the issue was Linu= x + PC/SC + rdesktop + M$ compatibility related. Installing Cryptovison sc/interface 6.1.6 on Windows solved my issue. I had some help from Ludovico Rousseau, the main developer of the PC/SC dae= mon, troubleshooting the rDesktop -> PC/SC hook chain, which turned out to = be fine. Cryptovision was very accommodating regarding Trial licenses. Cheers, Robin Fr=E5n: Mican Jindrich <[email protected]<mailto:Jindrich.Mican@lg= nexera.at>> Datum: 2015March27Friday 08:42 Till: "[email protected]<mailto:[email protected]= rceforge.net>" <[email protected]<mailto:rdesktop-users@= lists.sourceforge.net>> =C4mne: [rdesktop-users] Card attributes gets lost through RDP session with= rdesktop Hello, I know that this is just slightly related topic to rdesktop =96 it might be= problem with it or even pcsc, still due to having no idea what to do next,= I am writing even here to ask if they do not know solution or did not have= similar experience: I am using openthinclient to get mini-image on thinclients which then conne= ct through RDP to Windows platform. Connector is rdesktop, provider of smar= tcard drivers =96 REINER driver + PCSC-Lite. I have moved onward with everything=85 made rdesktop 1.8.3 and pscs-lite 1.= 8.13 for my dev-site but it seems that it did not work as I have expected. = (packages for TCO are remade DEB packages =96 just for info) But I have problems with Smartcard reader from REINER SCT =96 Cyberjack e-c= om plus which does not simply work even with its own drivers, that are prov= ided on web-site. I was trying older rdesktop aswell as the new one I have = made, same for pcsc-lite including latest drivers from Reiner=85 RDP destination is Windows 2008 R2 SP1 with Reiner SCT SW installed. On mini client everything works as expected, remote desktop works, USB supp= ort works, but when I do test of card reader then everything is fine, but I= do not see attributes of card in card reader. On thin-client pcscd does se= e the card and reader.. pcsc_scan confirms that everything works as expecte= d, but on server side =85 attributes of card gets lost (reader itself shows= just fine, SW reacts on card being in reader or not). So, it looks like smartcard redirection gets somewhere wrong, I can send sc= reenshots with one of testing applications being not able to receive card a= ttributes, meaning =96 smartcard redirection goes wrong. I noticed the diff= erence with WTS (Windows RDP system) that share there still refers to smart= card as USB device, while with rdesktop (or even FreeRDP) smartcard is bein= g refered as PC/SC device only (or at least mostly). Anyone has such an experience? It looks like compatibility issue or so. Thi= s is really point where cannot do anything else than check source codes for= anything (which I am already doing=85 but I am getting nowhere) Thank you very much in advance for any help. Jindrich Mican alias =93Henry=94 PS: I have tried this even with laptop with Broadcom cardreader and it was = the same, I tried Ubuntu 14.04 (64bit)/Debian 7.8 (32bit).. I tried old rde= sktop, new, old drivers and new etc. Well, most of things that you could th= ink of, even 3 different applications on host side to check smartcard reade= r=85 --_000_D13ACB6B2271robinjonssonenfose_ Content-Type: text/html; charset="Windows-1252" Content-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami= ly: Calibri, sans-serif;"> <div>Hello Henry, </div> <div><br> </div> <div>I had somewhat of the same issue.</div> <div><br> </div> <div>I had a setup of an IGEL Thin Client with an OmniKey 3121 reader from = which I connected via rDesktop to a Windows 7 x64 Client. The card and the = reader showed up in Windows and seemed fine until I actually tried to read = something. I just got a single flash on the LED and then the software reading hung (certificate export in certm= gr.msc or whatever) until the card was removed. Connecting the reader direc= tly to the Windows 7 x64 worked perfectly. So did Windows 7 x64 -> Windo= ws 7 x64 SC RDP redirect. So the issue was Linux + PC/SC + rdesktop + M$ compatibility related.</div> <div><br> </div> <div>Installing Cryptovison sc/interface 6.1.6 on Windows solved my issue.<= /div> <div><br> </div> <div>I had some help from Ludovico Rousseau, the main developer of the PC/S= C daemon, troubleshooting the rDesktop -> PC/SC hook chain, which turned= out to be fine. Cryptovision was very accommodating regarding Trial licens= es.</div> <div><br> </div> <div>Cheers,</div> <div>Robin</div> <div><br> </div> <span id=3D"OLK_SRC_BODY_SECTION"> <div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b= lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:= 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;= BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <span style=3D"font-weight:bold">Fr=E5n: </span>Mican Jindrich <<a href= =3D"mailto:[email protected]">[email protected]</a>><b= r> <span style=3D"font-weight:bold">Datum: </span>2015March27Friday 08:42 <br> <span style=3D"font-weight:bold">Till: </span>"<a href=3D"mailto:rdesk= [email protected]">[email protected]</a>&q= uot; <<a href=3D"mailto:[email protected]">rdesktop-u= [email protected]</a>><br> <span style=3D"font-weight:bold">=C4mne: </span>[rdesktop-users] Card attri= butes gets lost through RDP session with rdesktop<br> </div> <div><br> </div> <div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro= soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x= mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/= /www.w3.org/TR/REC-html40"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.E-MailFormatvorlage18 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.E-MailFormatvorlage19 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> <div lang=3D"DE-AT" link=3D"#0563C1" vlink=3D"#954F72"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span lang=3D"EN-US">Hello,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">I know that this is just slight= ly related topic to rdesktop =96 it might be problem with it or even pcsc, = still due to having no idea what to do next, I am writing even here to ask = if they do not know solution or did not have similar experience:<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">I am using openthinclient to ge= t mini-image on thinclients which then connect through RDP to Windows platf= orm. Connector is rdesktop, provider of smartcard drivers =96 REINER driver= + PCSC-Lite.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">I have moved onward with everyt= hing=85 made rdesktop 1.8.3 and pscs-lite 1.8.13 for my dev-site but it see= ms that it did not work as I have expected. (packages for TCO are remade DE= B packages =96 just for info)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">But I have problems with Smartc= ard reader from REINER SCT =96 Cyberjack e-com plus which does not simply w= ork even with its own drivers, that are provided on web-site. I was trying = older rdesktop aswell as the new one I have made, same for pcsc-lite including latest drivers from Reiner=85 <o:p= ></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">RDP destination is Windows 2008= R2 SP1 with Reiner SCT SW installed. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">On mini client everything works= as expected, remote desktop works, USB support works, but when I do test o= f card reader then everything is fine, but I do not see attributes of card = in card reader. On thin-client pcscd does see the card and reader.. pcsc_scan confirms that everything works as= expected, but on server side =85 attributes of card gets lost (reader itse= lf shows just fine, SW reacts on card being in reader or not). <o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">So, it looks like smartcard red= irection gets somewhere wrong, I can send screenshots with one of testing a= pplications being not able to receive card attributes, meaning =96 smartcar= d redirection goes wrong. I noticed the difference with WTS (Windows RDP system) that share there still refers to = smartcard as USB device, while with rdesktop (or even FreeRDP) smartcard is= being refered as PC/SC device only (or at least mostly).<o:p></o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Anyone has such an experience? = It looks like compatibility issue or so. This is really point where cannot = do anything else than check source codes for anything (which I am already d= oing=85 but I am getting nowhere)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Thank you very much in advance = for any help.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Jindrich Mican alias =93Henry= =94<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">PS: I have tried this even with= laptop with Broadcom cardreader and it was the same, I tried Ubuntu 14.04 = (64bit)/Debian 7.8 (32bit).. I tried old rdesktop, new, old drivers and new= etc. Well, most of things that you could think of, even 3 different applications on host side to check smartc= ard reader=85<o:p></o:p></span></p> </div> </div> </div> </span> </body> </html> --_000_D13ACB6B2271robinjonssonenfose_-- --===============4219937826230178726== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ --===============4219937826230178726== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rdesktop-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdesktop-users --===============4219937826230178726==--