2. 安装和设置

请确定 rfbdrake 软件包已经安装,然后就可以通过 Mandriva Linux 控制中心来访问 Rfbdrake:一个在线管理节将显示出来,您可以通过它调用远程控制(Linux/Unix、Windows)工具[1]

2.1. 受控制计算机的设置

在这一节里,我们假定您可以访问 Rfbdrake。如果不是这种情况(典型远程管理任务),那么您需要:

  1. 确定 tightvnc-server 软件包已经被安装到了远程计算机上。

  2. 使用 ssh 连接到远程计算机。

  3. If it's not already running, start the VNC server by executing vncserver in a console. If this is the first time vncserver is run on the system with that user account, then you have to enter the password clients will have to use to connect and confirm it. The system informs you which display number clients have to use. Run vncserver -kill :DISPLAY_NUMBER when you no longer need the VNC server.

然后以客户端的身份连接到远程计算机并控制它(参看第 2.2 节 “控制方计算机的设置”)。

对于将要被控制的计算机(服务器),选择允许控制我的计算机(linux 服务器)选项。在设置密码处输入密码。这一步是必需的,否则 Rfbdrake 将会提示出错。请您务必记住,这个密码与本地/远程计算机上用户的密码没有任何关系。

图 2.1. 服务器选项

服务器选项

此图标会在您单击启动服务器按钮的时候出现,以表明此计算机已经准备好接受连入的 VNC 连接。右击它可以访问弹出菜单上的一些选项。

[注意]注意

If the system to be controlled is behind a firewall, then you have to make sure that port tcp/5900+N is opened in the firewall, where N is the VNC server display number.

2.2. 控制方计算机的设置

在将要被作为控制方的(阅览器)计算机上,选择控制(linux 客户端)选项。在远程服务器地址下拉列表框里填入受控制计算机的 IP 地址或主机名。在显示数框中填入远程计算机的显示数,若不填则使用默认值(显示数 :0)。

图 2.2. 阅览器选项

阅览器选项

如果想访问 VNC 服务器,您需要在输入密码框输入相应密码。如果想要在控制端全屏显示远程受控计算机的桌面,请在全屏复选框上打上记号。否则远程桌面将只会显示在一个窗口中。如果您对设置满意的话,请单击连接按钮访问远程计算机。



[1] 您也可以通过从主菜单中选择 Internet+远程访问虚拟网络连接来执行 Rfbdrake