Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1630614
  • 博文数量: 584
  • 博客积分: 13857
  • 博客等级: 上将
  • 技术积分: 11883
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-16 09:34

分类: WINDOWS

2011-01-17 21:55:20

rdesktop


Options


How to connect to a machine with a non-standard port for Remote Desktop


Add a : followed by the port nummer behind the hostname/ip adress in the "Server address" field: For example hostname:3390

Printing within rdesktop


Configuration for a printer that needs to be used for local applications.


1. You first need to configure the printer, if not already done.

Please check for details.

2. Edit or create a new rdesktop application

The next step is to create or open an existing rdesktop application to add the printer.

3. Get the printer into the rdesktop session

You have to tell the rdesktop session to use a printer:
  • go to "manual parameters"
  • add the following line:
-r printer:

needs to be the exact name of the installed printer in the "Printers" groups.

If you have already added the printer for Windows you can map the printer like this:
-r printer:=""
  • If you don't know the exact name of the printer in Windows, open a rdesktop session, then start - settings - printer
  • Click on "Add Printer", use e.g. local port LPT1, click on next
  • Then a new window opens and you can choose the printer manufacturer and model-name on the right part of the window = this is then the correct name, you have to fill in


That's it. Start a new rdesktop connection to use your newly added printer.

Configuration if printer cannot be added to "printers" or is not needed for local applications


If you do not need to print directly on the thinclient or the printer driver fails to install, it is possible to relay only the printer device and forward it directly over rdesktop to the windows host and install the printer there.

Notice: This might not work with the current version 0.4.5 of openthinclient

1. Add printer device to rdesktop


  • Open the rdesktop application by double click
  • goto "manual parameters"

parallel port (LPT) printer
  • add the following line:
-r lptport:LPT1=/dev/lp0

usb printer
For USB printers use following line:
-r parallel:/dev/usblp0

Example:


2. Add your printer on your windows installation


At last you need to add your printer for windows with the right device from above.

  • Start - Settings - Printer - add new printer
  • Chose as Connection the following port:
: LPT1

rdesktop and USB storage devices


To connect usb storage devices to the rdesktop application change the setting:
  • "connect to USB storage devices" to "Yes"
All devices will be shown in the "media" share folder on your system. Every single device has its own folder
under media which represents the individual name of the partition/device.

Also make sure to change the following desktop application settings:
  • "volume manager" to "Yes"
  • "mount automatically" to "Yes"
Otherwise the usb device will not be mounted automatically.
阅读(855) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~