In this document we are going to demonstrate how to implement
two-factor authentication from WiKID
for remote desktop on an Ubuntu 12.04 server using X2Go. The WiKID
Strong Authentication System is a commercial/open source two-factor
authentication solution.
X2Go
is an NX-based remote desktop tool. First, we will configure a domain
on the WiKID server, then add the targeted server as a network client to
the WiKID server, and finally configure the Ubuntu Precise box for x2go
using pam-radius. Note that if you already have a server configured as
an SSH gateway box with pam-radius, you can simply add X2Go to and it
will work.