Secure Global Desktop 4.40 Administration Guide > Applications, Documents, and Application Servers > Configuring Access to Serial Ports
Secure Global Desktop Administrators can give users access to client serial port devices from Windows applications accessed using SGD. You configure access to serial ports as follows:
You can only access serial ports in Microsoft Windows Server 2003 Terminal Services sessions.
To give users can only access serial ports, COM port mapping must be enabled on the application server. It is disabled by default.
To determine the serial ports that are mapped in the Windows Terminal Services session, you might have to configure the client device.
On UNIX and Linux client platforms, users must have read and write access to any serial device that is mapped. SGD uses the first match of the following:
SUN_MAP_SERIALPORTS
environment variable.
Each serial port in the list is separated with a semi-colon and has the format serial device=com_port_name
.
/dev/ttyS0=COM1;/dev/ttyS4=COM8
The =com_port_name
is optional, but if it is omitted the serial port is mapped to COMx in the Windows application session where x is the position of the serial port in the list.
The <serialports>
entry in the <localsettings>
section of the user's client profile lists the serial ports to be mapped. The <serialports>
entry has to be added manually.
The serial ports are listed in the same format as above.
SUN_DEV_SERIAL
environment variable.
This is a single serial device, for example /dev/ttyS2
. This is always mapped to COM1 in the Windows application session.
On Microsoft Windows client platforms, SGD uses the first match of the following:
The <serialports>
entry in the <localsettings>
section of the user's client profile lists the serial ports to be mapped. The <serialports>
entry has to be added manually.
Each serial port in the list is separated with a semi-colon and has the format serial device=com_port_name
.
COM1=COM5;COM2=COM8
The =com_port_name
is optional, but if it is omitted the serial port is mapped to COMx in the Windows application session where x is the position of the serial port in the list.
The SGD Client attempts to open ports COM1 to COM9. If a COM port is found, it is mapped to the same COM port number in the Windows application session.
Access to serial ports is enabled for all users by default. If it is disabled, you enable it as follows:
Note The change only takes effect for new user sessions.
To enable or disable access to serial ports for particular users:
Note If you configure an organization or organizational unit object, this affects all the users in that organization or organizational unit.
Note The change only takes effect for new user sessions.
When a user starts a Windows application, SGD checks the user profile for the user and then any parent object further up the organizational hierarchy to see whether access to serial ports is enabled or disabled. If all the objects checked are configured to use the parent's setting, then the global setting is used.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.