Rdesktop vs. temporary client licenses

If you connect with rdesktop to a Windows 2003 Terminal Server, then you cannot use a TSCAL (Terminal Services Client Access License). The server automatically assigns a temporary license to your client that is valid for 90 days. You can cheat on this by using the "-n <hostname>" switch. The server assigns the license based on the hostname that your rdesktop client sends during the build up of the connection, so by changing it you can "renew" your temporary license a virtually indefinite number of times. You can use any sort of hostname, it does not have to be a valid hostname on your network.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

How to?

Where or how do I use the "-n <hostname>" switch
Thanks for your help!

Re: How to?

"rdesktop is an open source client for Windows Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's Windows desktop."
Check out it's website.

Rdesktop is available in most linux distros or can be easily compiled from source. On Mac OS X you can install it with Darwin Ports or Fink (I've just tried the latter on a 10.6.4 Mac and it compiled without errors and worked just fine with a Win2003 Server). You should have X11 installed from the Mac OS X DVD, because rdesktop will run in an X11 window.

The -n switch is for rdesktop. You start rdesktop from a Terminal using a commandline like this:
rdesktop some.server.com

To specify the screen size and the client hostname switch, you can use something like this:
rdesktop -g 1024x768 -n "somerandomstring" some.server.com:3389