我曾经听到这么一个故事: 一个年轻的程序员问一个老程序员(一个比较牛逼的公司的CTO) 年轻程序员: 你为什么这么牛X., 就好像没有你不会的。老程序员: 积累的。年轻程序员: 怎么才能积累到您的程度呢。我每天都在积累。但是似乎都没有感觉到进步。老程序员: 我从20岁开始做到了一件事情,直到今天,而且尽可能地保证不间断。年轻程序员: 到底是什么? 老程序员: 我每天保证自己有2个小时在学习新的东西。

在 SUSE 上安装 Rdesktop的常见问题

上一篇 / 下一篇  2010-07-20 17:26:36

转载:http://thebackroomtech.com/2008/09/26/howto-install-rdesktop-on-sles-10-sp2-linux/

Howto: Install rdesktop on SLES 10 SP2 Linux

rdesktop is software that allows a Linux client to connect to a Microsoft Windows server via RDP, much like mstsc.exe, which is Microsoft’s Remote Desktop Connection (RDC) program.

More precisely, rdesktop.org describes the software as:

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. Supported servers include Windows 2000 Server, Windows Server 2003, Windows Server 2008, Windows XP, Windows Vista and Windows NT Server 4.0.

rdesktop currently runs on most UNIX based platforms with the X Window System.

To install rdesktop on SLES 10 SP2: 

1) Make sure all pre-requisites are installed on the system.  If they are not, add with YaST or download them.
 
2) Extract the rdesktop package. From a terminal window run
gzip -d rdesktop-1.6.0.tar.gz
tar -xvf rdesktop-1.6.0.tar
 
3) From the directory you extracted rdesktop run
./configure
 
4) From the directory you extracted rdesktop run
make
 
5) From the directory you extracted rdesktop run
make install
 
rdesktop will be installed by default to /usr/local
 
to run from a terminal
rdesktop [options] server
 
for example
 
rdesktop -u admin -p passwd 192.168.1.1
 
Would establish a RDP connection to server 192.168.1.1 using admin’s credentials
 
The most commonly used  options are:
 
–u username specifies the user name for authentication on the server.

–p password provides a password for authentication on the server. To keep others from seeing the password supplied on the command line, use –p – to read the password from stdin.

–g geometry allows you to specify the desktop geometry. This can be given as a resolution, such as 1024×768 or as a percentage of the entire screen, as in 70%.

–r device enables device redirection, allowing you to redirect a device, such as sound from the remote machine to the local one. This feature requires Windows XP or newer.

Fixes for known issues when compiling and installing rdesktop
 
“ERROR: Could not find X Window System headers/libraries
To specify paths manually, use the options –x-includes and –x-libraries”
 
FIX: add the X-windows development tools though YaST to compile successfully – x-org-x11-devel(run yast2 -> software->Software Management->serch xorg-x11-devel. Sometimes you need to insert the installation DVD.)
 
ERROR: Could not find OpenSSL headers/libraries.
To specify a path manually, use the –with-openssl option
 
FIX: add the OpenSSL development tools through YaST to compile successfully – openssl-devel

TAG:

 

评分:0

我来说两句

Open Toolbar