![]() |
The rdesktop utility runs natively in Linux/Unix
Windows Terminal Server uses the Remote Desktop Protocol (RDP) to provide client access to the terminal server. The rdesktop utility is an implementation of RDP that runs natively under any Linux or Unix client running X Windows. To use it, you first need to download the latest version of rdesktop. For this article, I used rdesktop version 1.1.0 on a system running RedHat 7.3. In addition to having XFree86 running on the client computer, you must also install the XFree86 development libraries. (Note that the name and location of this package will depend on the distribution being used.) You install the development libraries with the following command:
rpm -ivh XFree86-devel-4.2.0-8.i386.rpm
Building and installing rdesktop Enter the rdesktop 1.1.0 directory created when the code is unpacked. Next, configure the source code, compile the program, and install rdesktop with the following series of commands: Running rdesktop For example, to connect to the terminal server with the IP address 192.168.1.6, use the command: All the options available with rdesktop are listed below: The biggest advantage to using PXES with thin clients is its flexibility. While in this article I've focused on making connections to Windows Terminal Server, the thin clients created with PXES are also capable of connecting to the following servers:
TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.
Once you’ve downloaded rdesktop, unpack the source code with the command:
tar -zxvf rdesktop-1.1.0.tar.gz
./configure
make
make install
Running rdesktop is very easy. The rdesktop command uses the following format:
rdesktop <options> <Server-IP or Server-name>
rdesktop 192.168.1.6
So to connect to a terminal server with the IP address 192.168.1.100 and a user name and password supplied at the same time, you’d use the command:
rdesktop -u jim -p jim's-password 192.168.1.100
PXES builds Linux-based thin clients
The rdesktop utility provides a very easy method for connecting to Windows Terminal Server, but there are other methods available. One of the best is PXES Linux, which is available from its project Web site. PXES is a micro distribution used to build Linux-based thin clients. This is useful for administrators who need to provide access to remote servers from client machines running minimal hardware. When installed, the PXES distribution can provide access to any XDMXCP server running on Linux or Solaris, and it even provides an implementation of rdesktop for access to Windows Terminal Server. Some of the advantages to using PXES include:
The PXES machine receives its configuration and IP addressing information from a TFTP server and a DHCP server on the network. Once booted, the remote desktop GUI allows the user to connect to the terminal server.
Installing PXES
You install PXES in seven steps:
RDP server: The IP address of the terminal server
Domain: The domain used for the session
User: The user accessing the terminal server
Password: The user’s password
Full screen: Used to select a full-screen session
Desktop geometry: Set screen size when full screen is not used
Force bitmap updates: Normally left unchecked
Don't send motion events: Normally left unchecked
Don't request license: Normally left unchecked
In most cases, the default provided by the PXES setup program will be sufficient. Once PXES is installed, you’re ready to connect to the remote server of your choice. PXES will also support a concurrent connection to different types of remote servers.
©2003 TechRepublic, Inc.




3%
2%





