There are two machine A and B.
Install a software or a service in the machine B.
Now,machine A through the remoting access the machine B.
how to monitor this action.
if your application is winforms application you can use System.Windows.Forms.SystemInformation.TerminalServerSession. if this returns true your user connected through remote desktop connection.