Documente Academic
Documente Profesional
Documente Cultură
5 Users Guide
Copyright 1984-2009 Virtual Bridges, Inc. All Rights Reserved.
Table of Contents
Table of Contents
End User License Agreement .
.
.
.
.
.
.
.
.
.
.
PART 1: Win4Lin Pro Desktop
.
.
.
.
.
.
.
.
.
.
Welcome to Win4Lin Pro .
.
.
.
.
.
.
.
.
.
.
Host System Requirements: Software
.
.
.
.
.
.
Host System Requirements: Hardware .
.
.
.
.
.
Supported Guest Windows Versions .
.
.
.
.
.
.
Installing Win4Lin Pro
.
.
.
.
.
.
.
.
.
.
.
Preparing for Installation .
.
.
.
.
.
.
.
.
.
Package Installation .
.
.
.
.
.
.
.
.
.
.
Package Removal .
.
.
.
.
.
.
.
.
.
.
Package Update .
.
.
.
.
.
.
.
.
.
.
.
Using the Win4Lin Pro Console .
.
.
.
.
.
.
.
.
Guest Configurations
.
.
.
.
.
.
.
.
.
.
Installing a new Session .
.
.
.
.
.
.
.
.
.
Removing or Reinstalling an Existing Session
.
.
.
.
Starting, Stopping, and Aborting Sessions
.
.
.
.
.
Backing up and Restoring Sessions .
.
.
.
.
.
.
Adjusting Session Properties .
.
.
.
.
.
.
.
.
Adjusting System Settings .
.
.
.
.
.
.
.
.
Exiting the Console .
.
.
.
.
.
.
.
.
.
.
Running Guest Windows Sessions
.
.
.
.
.
.
.
.
Launching a Guest Windows Session
.
.
.
.
.
.
Accessing the Win4Lin Pro Pop-up Menu for Runtime Functions
Using "Floating" Windows Applications .
.
.
.
.
.
Maximizing the Win4Lin Pro User Experience .
.
.
.
.
.
Understanding the Virtual Machine Environment .
.
.
.
Performance
.
.
.
.
.
.
.
.
.
.
.
.
Accessing the Network From Windows .
.
.
.
.
.
Printing from Windows .
.
.
.
.
.
.
.
.
.
Benefits of "Snapshot" Mode .
.
.
.
.
.
.
.
.
Accessing Linux Files from Windows .
.
.
.
.
.
.
Understanding the Virtual "D:" Drive .
.
.
.
.
.
.
Advanced/Expert Topics .
.
.
.
.
.
.
.
.
.
Troubleshooting .
.
.
.
.
.
.
.
.
.
.
.
.
Windows Installation Issues .
.
.
.
.
.
.
.
.
Windows Runtime Issues
.
.
.
.
.
.
.
.
.
Appendix A: Using Hardware Virtualization (KVM) .
.
.
.
.
Additional System Requirements for KVM
.
.
.
.
.
Loading KVM Drivers
.
.
.
.
.
.
.
.
.
.
Setting Permissions for the KVM Device .
.
.
.
.
.
Determining if a Guest Session is Using Hardware Virtualization
Disabling Hardware Virtualization for a Guest Session
.
.
Getting Support for KVM .
.
.
.
.
.
.
.
.
.
PART 2: Win4Lin Pro VDI .
.
.
.
.
.
.
.
.
.
.
.
Overview of Additional VDI Functionality .
.
.
.
.
.
.
Multi-session Licensing .
.
.
.
.
.
.
.
.
.
Dynamic Renewable Desktops .
.
.
.
.
.
.
.
Remote Access to Server-based Windows Desktops .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
3
4
4
4
4
5
5
6
7
7
8
8
8
9
9
10
10
16
18
19
19
19
19
21
21
23
24
25
26
27
28
29
32
32
32
35
35
35
36
36
37
37
38
39
39
39
39
-i-
Table of Contents
- ii -
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
40
.
40
.
40
.
40
.
40
.
41
.
42
.
42
.
42
.
44
.
44
.
46
.
46
.
47
.
49
.
49
.
49
.
54
.
55
.
56
.
56
.
56
.
56
.
-1-
8. Limit of Liability: Virtual Bridges, Inc.s total liability to you arising from the Software or this Agreement
shall be limited to the total amount you have paid to Virtual Bridges, Inc. under this Agreement.
9. 9. Government End Users: If you are an agency or instrumentality of the United States Government,
the Software and its related documentation are "commercial computer software" and "commercial
computer software documentation," and pursuant to FAR 12.212 or DFARS 227.7202, and their
successors, as applicable, the use, reproduction and disclosure of the Software and documentation are
governed by the terms of this Agreement.
10. Term: You may terminate this Agreement at any time by destroying all copies of the Software,
whether in electronic form or embodied in a physical medium. This Agreement will terminate immediately
and automatically if you breach any of the terms of this Agreement. When you no longer have a license to
use the Software, you must immediately discontinue use of the Software and erase the Software from your
computer. Paragraphs 1, 6, 7, 8, 10 and 12 shall survive termination of this Agreement.
11. Audit Right: Virtual Bridges, Inc. has the right to audit your use of the Software to ensure compliance
with the terms of this Agreement.
12. General: This Agreement is made and entered into in Travis County, and will be subject to the laws of
the State of Texas, USA, without regard to choice of law principles. If any provision of this Agreement is
unenforceable under applicable law, such provision will be deemed modified so as to be enforceable
within the limits of applicable law and the other provisions of this Agreement will remain in full force and
effect. This Agreement constitutes the entire agreement between you and Virtual Bridges, Inc. regarding
your use of the Software and may be modified only in a written agreement signed by both you and Virtual
Bridges, Inc. You must agree to all of the foregoing terms if you wish to install the Software.
-2-
-3-
-4-
-5-
Package Installation
Ubuntu 6.06 LTS and newer, or Debian GNU/Linux "etch" and newer
1. On Ubuntu, run Synaptic and make sure that the "Community maintained (Universe)"
software Repository is enabled; this step is not required on Ubuntu 7.04 and newer
2. If Synaptic is running, close it
3. Open a Terminal window, and run the following command:
sudo apt-get -y install linux-headers-$(uname -r) gcc
The above process may need to be repeated each time the kernel is updated. If however,
you compiled your own kernel using make-kpkg or similar, you probably do not need to
install additional kernel-headers.
Package Installation
On some systems you may be able to install Win4Lin Pro packages simply by double clicking on
the package file icon itself. Otherwise, installing Win4Lin Pro on your system requires you to run
a specific command as the root user, or with sudo access:
-6-
Package Removal
Package Removal
To remove Win4Lin Pro, run one of the following commands as root or with sudo access:
Package Update
The recommended method of updating a Win4Lin Pro package is to first remove the existing one,
and then install the new one, per the instructions above.
-7-
Guest Configurations
This window contains a list of installed guest Windows sessions. If you do not yet have any
sessions installed, it will appear blank. Selecting a session will enable certain buttons to the right
for performing appropriate actions on it. If the session is running, it will be highlighted in green.
Window title
The title of the virtual machine window when it is running, and as it will appear in the
consoles Guest Configurations list.
Capacity
Select the amount of RAM to allocate to the virtual machine, in megabytes. For best results,
do not exceed half your systems total RAM. Note that in virtualization, more RAM does not
mean more performance - it just means more capacity. In fact, allocating too much memory
to a virtual machine may actually have a severe impact in overall system performance and
responsiveness, so try to select the lowest value possible here.
Select the maximum size of the virtual C: drive, in gigabytes. The disk image may not be
resized after installation, so be sure to assign enough disk space to host all the applications
you intend to install on top of Windows. The file containing the virtual C: drive image will
grow to this maximum size as Windows consumes more and more disk space, but no larger.
Installation media
Select whether Win4Lin Pro should automatically detect and install Windows from your
primary host CD/DVD drive, or should use a specific device or image file instead. You may
install from any CD/DVD device, or from an ISO 9660 image file containing supported,
bootable Windows media.
If your Windows media is an Upgrade CD, you must check the Device or image file for
upgrade verification media box, and provide the name of a device node or ISO 9660 image
file containing a previous version of Windows for upgrade verification purposes. The
-8-
Windows installer will require this when installing from the Upgrade CD. For example, if you
are installing Windows XP Upgrade, you may designate a Windows 2000 CDROM or image file here.
Please note that you cannot (and should not) eject the Windows CD during installation, so you must
specify the verification media up front. If your computer does not have 2 CDROM drives, you will need to
rip the previous version of Windows CDROM into an ISO 9660 image file first.
Unattended installation
If you want to install Windows without any user interaction, and your version of Windows
requires one, you must provide a valid Product Key here. You must type this key exactly as it
appears in your Microsoft documentation, including hyphens. It is case sensitive. If the key
you enter is not correct, the Windows installer will give you an error and prompt you for a
correct one at the appropriate time.
Desktop icon
If you do not want a Linux desktop icon to launch the session after installation, uncheck the
Create a desktop icon for this session once it is installed box. You can always launch guest
Windows sessions from the Win4Lin Pro Console instead.
Once you have adjusted the installation options if needed, click the Install... button to begin the
installation.
There is no limit to the number of guest sessions you may install, provided you have enough disk
space. Concurrent session limits apply when you actually run the session(s). Depending on your
Win4Lin Pro license, you may be entitled to run between 2 (for Desktop licences) and 25 (or
more, for Server licenses) concurrent sessions.
Win4Lin Pro installs Windows with default options, suitable for most users. After installation, you
may adjust properties for the session if you need a more specific configuration. For information
on how to do this, see Adjusting Session Properties below.
-9-
Shutdown function inside Windows itself for that session if you prefer.
To abort a session that is unresponsive or will not shut down, select it in the Guest Configurations
window, then click the Abort button. Note that this method should only be used if shutting down
the session normally fails, and may cause data loss of any documents you may have open within
Windows. Use with caution.
General
To change the title of the virtual machine window, enter a new value for the Session title
field.
To adjust the amount of RAM for the virtual machine, adjust the RAM assigned to virtual
machine (in megabytes) slider to the desired value.
To explicitly set a keyboard locale for the session, select a value from the Keyboard locale
(ISO 639) list. Note that Win4Lin Pro general detects your keyboard locale automatically.
Use this setting only if keyboard input in Windows is not working properly.
Display
To request that the session starts full-screen automatically, check Start in full-screen mode
by default. You may switch in and out of full-screen mode once the session is running by
pressing Shift+F12 and toggling the Full-screen option in the pop-up menu.
- 10 -
To start the session with the guest window maximized automatically, check Start maximized
if possible. Note that it is up to the desktop environment (GNOME, KDE, etc.) to size the
window properly, and on some systems this option may have no effect.
To provide more precise (but slower) mouse cursor tracking to Windows applications, check
Disable fast mouse cursor tracking. This may be required for certain precision graphics
applications, such as CAD. You may turn fast mouse cursor tracking on and off once the session is
running by pressing Shift+F12 and toggling the Fast mouse option in the pop-up menu.
To set the fast mouse cursor to be the same as the MS-Windows guest arrow cursor when
using fast mouse cursor tracking, check Use default MS-Windows arrow cursor when using
fast mouse cursor tracking.
To disable the shared clipboard, uncheck Enable Cut/Copy/Paste between host and guest
applications (shared clipboard).
To disable the use of X Shared Memory, uncheck the Use XSHM (X Shared Memory)
extension, if available, on local displays. Note that you should uncheck this option only if you
are having problems with the display of your virtual machine. In almost all cases, this option should be left
on, as it improves graphics rendering performance on local displays. If you use a remote display, the
Audio
You may explicitly select the type of host audio that your guest session will use for playback
and recording. In most cases this is not necessary as Win4Lin Pro detects this automatically,
but for example, you may want to use a different setting than the automtically detected one.
If applicable to the setting you choose, you will also be given the choice of audio quality
below.
If you choose ALSA audio, you may also edit low-level parameters for how the virtual
machine will use the audio system. The default values are generally appropriate for all
systems, and should not be modified unless you are certain of what you are doing. Note that
setting incorrect values may result in complete loss of audio in the virtual machine, or even
the virtual machine crashing when guest audio applications try to play or record sound.
If you have problems with the guest and you are using ALSA audio, you should try using
OSS audio instead. This is especially true if you have applications that need to record sound,
not just play it back. Note that using OSS will require that your system has the appropriate
modules loaded, and that the /dev/dsp device is readable and writeable for the user you
run guest sessions as. You will also likely have to close all other Linux applications that may
be using sound (e.g. Firefox) before starting your guest session if using OSS audio.
In general, if you run guest applications that need to record sound (i.e. recording, voice
recognition, etc.), you should explicitly select OSS audio for best results.
Networking
For almost all uses, you should select Use Basic TCP/IP and UDP/IP Networking as it is the
most secure and provides the best use of system resources. It allows outbound TCP/IP and
UDP/IP connections only, and is adequate for most Internet-enabled Windows applications.
This type of networking works with any firewall (hardware or software), VPN connection, and
even dial-up connections. To your Linux system, Windows appears as any other Linux
- 11 -
cases) may have problems with it. Check Assign MAC address (expert) and enter a 6 octet
Ethernet MAC address if this is the case. Do not do this unless you know exactly what you are doing.
In most cases you will need to configure system-wide settings in the System Settings dialog
box of the Win4Lin Pro 5.5 Console before you can use Bridged Networking.
For more information on networking, please see the section Accessing the Network from
Windows in Maximizing the Win4Lin Pro User Experience.
Printing
To disable automatic printing to your default Linux printer, uncheck Allow automatic guest
printing to default host printer ("Default Printer", or \\HOST\host-printer in guest). Note that
unless you install other printers in Windows, the default configuration expects to print to this
resource.
To disable Windows to drive your default Linux printer directly, uncheck Allow raw guest
printing to default host printer (\\HOST\guest-printer in guest).
To prevent Windows applications from being allowed to create PDF files on your Linux host,
uncheck Allow guest to print tp PDF files on host ("Host PDF File", or \\HOST\host-pdf in
guest). Note that this virtual printer is configured by default on Windows.
If you prefer to use a special printcap file for Windows instead of the default options,
check Use custom printcap file (expert), and specify the name of a printcap file to use.
printcap files that Windows understands must be in the following format:
<printer-name>|<printer-name>:
...
- 12 -
For example, to provide access to Windows to the host printers lp and lpcolor, the
printcap file you specify would look like this:
lp|lp:
lpcolor|lpcolor:
The above file would expose the following print queues to Windows:
\\HOST\lp
\\HOST\lpcolor
Note that Windows cannot identify printer names if they exceed 15 characters in length.
Also, if you use a custom printcap file, you must install matching drivers to print from
Windows. Custom printers are unfiltered and do not accept PostScript output unless the
printers themselves are PostScript printers.
If you use a custom printcap file, and want to enable printing to the default host printer
and PDF virtual printer from Windows anyway, make sure the file has the following lines in it:
host-printer|host-printer:
host-pdf|host-pdf:
For more information on printing, please see the section Printing from Windows in
Maximizing the Win4Lin Pro User Experience.
Other Devices
To allow Windows to access a CD/DVD device directly, check Enable virtual CD/DVD device
by default. Then select Automatically use primary host CD/DVD device if available, or Use
device or image file, and specify a CD/DVD device or ISO 9660 image file you have read
access to. Note that you can also change the CD/DVD device or image file while Windows is
running by pressing Shift+F12 and choosing CDROM... from the pop-up menu.
To allow Windows to access a floppy device or image file, check Enable virtual floppy device
(A:), and specify a device name or image file that you have read (and optionally, write)
access to. This device will be accessible from Windows as the first virtual floppy drive, or A:.
Note that B: is used internally by Win4Lin Pro.
To allow Windows to access a host device as COM1:, check Enable virtual serial port
(COM1:), and specify a device name that you have read and write access to. This device
should be a serial device on your host, such as /dev/ttyS0 . This device will be
accessible from Windows as the first virtual serial port, or COM1: .
Protection
To prevent Windows from making changes to the virtual C: drive, check Run guest session
in copy-on-write "snapshot" mode. In this mode, any changes to Windows system files or
applications are not persistent. Use this feature once you have a stable Windows
configuration to prevent degradation and corruption of your virtual C: drive or Windows
system registry. Note that in this mode, changes to your documents and/or user settings are
still persistent.
- 13 -
Note that even if you use "snapshot" mode, it is still strongly recommended that you make
regular backups to prevent corruption to your user settings. See Backing up and Restoring
Sessions above for more information on making backups.
For more information on "snapshot" mode, please see the section Benefits of "Snapshot"
Mode in Maximizing the Win4Lin Pro User Experience.
Shared Folders
To disable access to your Linux home directory from Windows, uncheck Enable guest
access in "HOME on Host" (\\HOST\HOME). To allow access but write protect your Linux
home directory from Windows, check Read-only access to user home directory.
To disable access to your Linux Documents directory from Windows, uncheck Enable guest
access in "My Documents" (\\HOST\Documents). To allow access but write protect your
Linux Documents directory from Windows, check Read-only access to user documents
directory. To use a specific Documents directory instead of have Win4Lin Pro find one
automatically, check Specify user documents directory and specify a directory that you have
read (and optionally, write) access to. Note that if you disable this share, you should change
the location of the My Documents shell folder in Windows, since it defaults to
\\HOST\Documents, which maps to your user documents directory on Linux.
To disable access to your host removable devices and mounted directories from Windows,
uncheck Enable guest access in "My Host Computer" (\\HOST). To allow access but write
protect these devices from Windows, check Read-only access to system removable device
and mount directories. Note that even if you do not specify read-only mode, Windows access
to these directories is still limited to what your Linux user has permissions for.
For more information on shared folders, please see the section Accessing Linux Files from
Windows in Maximizing the Win4Lin Pro User Experience.
RDP
If you have a Windows XP Professional (or better) guest, you can enable RDP access
directly into the session. Enabling this option causes the session to start in "snapshot" mode
and without a display, running in the background until you connect to it with the
win4-winapp program.
- 14 -
If you want to have the session listen on a public RDP port, check Listen for RDP
connections on public TCP port (expert), and specify a port if you want something other than
the default 3389. Use this option with extreme caution as it will expose your Windows
session to the entire network for remote login.
If you specify a public TCP port, you can connect to the session with any standard RDP
client, such as rdesktop on Linux, or Remote Desktop Connection on Windows.
Note that if you are using Bridged Networking, the virtual machine will be exposed to the
entire network via RDP even if you do not specify a public TCP port. Unless you know exactly what you
are doing, it is strongly recommended that you do not enable RDP at all if you are using Bridged
Networking.
Advanced
Use the Enable enhanced VBE graphics check-box to enable or disable enhanced graphics
modes in your Windows guest. Note that if you check this option, you will have to install a
3rd-party VBE graphics driver in Windows. Windows XP has a built-in VBE driver, but it may
still prompt you to install a driver. You can let it search and fail, and then have it not prompt
you again. If this box is already checked, this means Windows was already installed with
enhanced VBE graphics and will not have any driver issues. Do not change this setting
unless you know exactly what you are doing.
To have the Windows virtual machine use legacy 16-bit "Soundblaster" audio, check Use
legacy "SB16" virtual audio device. Note that there is almost never a good reason to check
this box, as the default virtual audio for Windows is far superior and works automatically. If
you do enable this option, you will have to manually install a 16-bit "Soundblaster" driver in
Windows. Do not check this setting unless you know exactly what you are doing.
Check Enable dedicated, disk-backed memory pooling (slow, but allows you to overcommit
system memory) to have the virtual machine use a regular disk file to back up its virtual
memory instead of the normal shared memory pool. There is almost never a good reason to
use this option, as it will have a severe impact on your guest Windows sessions
performance. If you check this option, Win4Lin Pro uses your Linux home directory to store
the memory image. If your home directory is not on local storage or you prefer to use a
different location (i.e. a faster disk), check Specify backing directory and specify a directory
on local storage that you have read and write access to. Do not use dedicated disk-backed
memory pooling unless you know exactly what you are doing.
If your host kernel is version 2.6.22 or newer, and your hardware is Intel VT or AMD-V
capable, Win4Lin Pro will use hardware virtualization automatically if possible. In this case,
the option Do not use hardware virtualization (via KVM) if available will be visible. To disable
the use of hardware virtualization, even if possible on your system, check this box. If you do
not see this option, Win4Lin Pro is not able to use hardware virtualization on your system
and this setting would have no effect.
Due to the experimental nature of the KVM driver in Linux at the time of this writing, you may
experience random crashes (guest and/or host) when using hardware virtualization. If this is
the case, please disable it using the above mentioned check-box. Doing this will default to
using slightly slower (but stable) software virtualization.
- 15 -
For the most up-to-date information on KVM use and Win4Lin Pro, please read the Product
Release Notes carefully.
If you experience application problems inside your guest session, you should consider
checking the Use (safer, but slower) "User mode" Virtualization box under Software
Virtualization. Note that this may slow your guest session down significantly, but it may be
required in order to run certain legacy applications using Software Virtualization.
Licensing
The current product license is displayed in this panel. To install a new license or change the
existing one, click the Install/Change... button.
Software Updates
This panel controls how the Win4Lin Pro Console checks for software updates on the
Internet, which can help you learn about important fixes and enhancements to your product.
To disable the automatic update checking, un-check the Alert Console users automatically
when a new software update is available for this product check-box. You may always return
to this panel and check for updates manually at any time.
Check the Check for pre-release software updates box to learn about early-access fixes and
enhancements. Note that such updates may not be entirely stable for production.
Pre-release updates, however, can sometimes help solve issues you may be having without
having to wait for the full release cycle to roll the fixes in. Use this feature at your own risk,
and at your own discretion. If this box is grayed out, this means you are running a beta
version of the product and pre-release updates will be checked automatically.
At any time, you may click the Check for Updates Now... button to contact the download site
and look for an updated version of the product at that moment. This requires that you are
connected to the Internet. Note that no information, personal, private, nor otherwise, is
transmitted from your computer during this step.
If software updates are available, you will have the opportunity to visit the download site
automatically from your web browser. Alternatively, you can defer and visit the reported URL
at a later time. Note that Win4Lin Pro does not actually download or apply any updates
automatically - you do this simply by downloading the appropriate package from the above
mentioned download site, and following the instructions for Package Update in the section
Installing Win4Lin Pro.
- 16 -
Virtual Memory
In this panel, you can adjust the amount of system RAM that Windows sessions will have
access to, as a percentage of physical RAM. Win4Lin Pro provisions a shared memory pool
(in /dev/shm) based on this information. Note that this is total for all concurrent sessions,
not per concurrent session. For best results, do not adjust beyond 75% or risk system-wide
performance loss. Adjusting beyond 90% may render your entire system unusable as
concurrent Windows sessions consume more and more memory.
Note that this setting does not increase the limit of memory that can be assigned per
Windows session.
If you are using the desktop version of Win4Lin Pro, there is almost never a good reason to
change this setting from its default value.
Networking
To change the default private IPv4 subnet used for NAT Networking, specify one in NAT
IPv4 Subnet. Do this only if 192.168.84.x is not private to your system on the network. If
you change it, be sure to specify the first 3 octets of the subnet only. The netmask will
always be 255.255.255.0.
To have Win4Lin Pro automatically create a bridged network when your system boots, check
Bridged Network Interface, and specify the physical Ethernet device to bridge.
Do not use specify a Bridged Network Interface if you intend to suspend or "hibernate" your
computer. Some Linux distributions may not enable networking correctly if this option is set
and you resume from a suspended or hibernated state. You should instead provision the
bridge yourself using bridge-utils if you plan on suspending and/or hibernating your
system.
Remote Access
To disable Remote Access, uncheck the Enable Remote Access for virtual desktops
check-box.
To disable Remote Access from RDP Clients, uncheck the Enable RDP "Gateway" for
Remote Access from Standard RDP Clients check-box.
To present a normal Linux desktop when users log in remotely, select the Start Normal
System Desktop Session option.
To start or resume the first available guest Windows session for each respective user when
logging in remotely, select the Start/Resume First Available Guest Windows Session option.
To prompt users if there is more than one available guest Windows session to start when
logging in remotely, select the Prompt User if there is More than One Available Guest
Session option.
To present a normal Linux desktop if a user has no guest Windows sessions installed when
logging in remotely, check the Start Normal System Desktop if no Guest Windows Session
Available check-box.
- 17 -
Remote Access options require Win4Lin Pro VDI. Also, the options explained above apply
only to remote logins using Virtual Bridges Clients, VNC, or RDP protocols. Other connection methods
may still use the win4 command to start sessions regardless of the options set here. For
more information on access methods and clients, please see Connecting Users to Win4Lin
Pro VDI in PART 2: Win4Lin Pro VDI.
Dynamic Sessions
Dynamic Session Load Management is enabled by default. On high density configurations
that take advantage of Dynamic Renewable Desktops, this feature can help reduce overall
system load up to 35% by automatically reducing the priorities of idle sessions. To disable
use of this feature, uncheck the Enable Dynamic Session Load Management check-box.
Note that changing system settings may require you to restart your computer in order for them to
take effect. If this is the case, you will be notified after accepting the changes with the OK button.
- 18 -
Title
Specify the title of the desktop icon that will launch the application.
Windows command
Specify the full path to a Windows executable to launch with the desktop icon. The path
must be exact. For example, to launch Internet Explorer:
C:\Program Files\Internet Explorer\iexplore.exe
- 19 -
You may want to copy the full path from the Windows shortcut itself for the respective
application to ensure that its correct.
Windows session
Choose the guest Windows session to run this application from. Make sure to choose a
session that is Windows XP Professional (or better).
Note that all fields are required. When you are finished, click the OK button to create the
icon.
- 20 -
CPU
Win4Lin Pro provides a normal x86 CPU environment for a 32-bit version of Windows to run
on. Windows will execute most CPU instructions directly "on the metal" for maximum
performance. Only "privileged" instructions are emulated, in order to prevent Windows from
interfering with the host Linux kernel, or performing hardware-related tasks such as
rebooting the physical computer. Because of this, Windows can never crash your "real"
computer, since it is running in a controlled virtual environment. Even if the virtual machine
environment aborts, this only kills the Linux process it is running under. It does not affect any
other applications on your system.
In some cases it is possible for a Windows application to consume a large portion of the
CPU resources on your system. You can use the Windows Task Manager (taskmgr.exe)
to identify such applications and correct the behavior. If Windows is idle, it should not
consume any significant CPU time on your Linux host at all.
Memory
Your host Linux operating system controls memory even though a portion of it is "assigned"
to guest Windows sessions. To your host Linux system, Windows looks like any other normal
application and may therefore have its memory swapped out when the kernel needs to make
room for other applications. Regardless of what your host Linux kernel does, Windows will
always think that it is seeing real memory, and therefore, all Windows applications should
work as expected with regards to memory.
Disk
The "C:" and "D:" drives that Windows uses inside the virtual machine are actually stored
inside image files in your Linux home directory. Windows never writes directly to or reads
directly from a real hard disk on your computer. If you decide to allow access, Windows will
however interact with your CD/DVD drive and optionally floppy drive on your system. You
can also provide an ISO 9660 image, for example, as the virtual machines CDROM drive.
- 21 -
Video
Windows will render graphics through a virtualized video card. You should not install any
3rd-party video drivers, as they will simply not work within the virtual machine. The redering
is ultimately done through the X server on your Linux host, so that your host desktop is in
control of your computers real graphics card at all times. While the virtual graphics card will
not perform like your real graphics card, it is fast enough to run almost all Windows
applications (except some 3D programs and games.)
By default, Windows is configured with an 800x600 desktop size. To change this, simply use
the Display Control Panel in Windows, or right click on an empty space on the Windows
desktop and click Properties. Then use the Settings tab in the subsequent dialog box to
change the resolution. You can also drag the virtual machine window itself, and Windows will
automatically try to find a supported resolution to resize to within the window.
Audio
Win4Lin Pro automatically detects the best playback and recording method available on your
system, and enables it for Windows. In turn, Windows plays and records audio via a
virtualized sound driver. As with video, you should not install any 3rd-party sound drivers on
Windows as they simply will not work within the virtual machine. The environment allows for
playback and recording of CD-quality audio. You must however use your host Linux systems
mixer program to control sound levels, as well as channels. Windows will play and record to
and from your default playback and record channels, respectively. If you change the
configuration on your host, you do not need to restart Windows in order for the changes to
apply to the virtual machine - they will apply automatically.
Networking
Windows will communicate with your network connection via a virtualized network device.
Depending on the type of networking you configured for the virtual machine, you may have
more than one virtual network device. Win4Lin Pro will configure the networking
automatically and you should not change it, unless you are using Bridged Networking and
want to configure a static IP address for Local Area Connection 2. You should not change
the configuration of Local Area Connection for any reason.
See Accessing the Network from Windows below for more information.
Printing
If you have a printer attached to your Linux computer that works, and you have designated it
as a default printer, then printing in Windows should work automatically. You should not
install special print drivers unless you cannot print from Linux to begin with. In that case, the
printer must still be connected to and detected by your Linux system in order to be available
to Windows, and it must be designated the default printer, even if there are no drivers for
Linux to control the printer with.
- 22 -
Performance
Printers under Win4Lin Pro look to Windows like network printers. For more information, see
Printing from Windows below.
Performance
Win4Lin Pro runs Windows at or near native speeds for most operations. The actual performance
will depend heavily on your system resources, the version and type of your host Linux operating
system, and what other activity there is on the host computer when you run Windows. Most
Windows applications should run with an acceptable degree of speed and response time. The
only exception will be applications heavily dependent on graphics processing (especially those
with 3D features) - you may notice them to run considerably slower than native.
Some general performance-related configuration tips for guest Windows sessions are:
1. Disable System Restore in Windows XP. While this feature may provide tangible benefit
on a native Windows installation, it has far too much overhead to use inside a virtual
machine. It is better to backup your guest Windows session regularly rather than
allowing Windows to constantly consume resources creating restore checkpoints on its
own. Please see the section Backing up and Restoring Sessions in Using the Win4Lin
Pro Console for more information on backing up a virtual machine. You can also use
"snapshot" mode to prevent corruption of Windows system files and applications.
2. Disable Automatic Updates in Windows. Again, the overhead of this feature in a virtual
machine is far too great. Instead, it is better to run Windows Update manually when you
want, even if on a regular basis.
3. Assign as little memory as possible to the Windows session. Unlike on a physical native
installation, more memory for a virtual machine does not mean more performance - it
just means more capacity. In fact, assigning too much memory to the Windows virtual
machine may slow down your system overall because it takes away cache space for the
host Linux kernel. For example, 512MB of memory is generally more than enough to
assign to Windows, and in some cases, it is too much. While you can assign up to
1152MB (1.1GB) or more, dont do this unless you really need it for the applications you
plan on running under Windows. Regardless of whether your host system has as little as
512MB or as much as 8GB (or more) of physical memory, you should still assign as little
as possible to Windows for best results.
4. Limit the amount of software that you install on Windows. Think of the virtual machine as
a platform to run certain applications, not as a real computer. Remember that the more
applications you install on Windows, the more resources Windows consumes, and the
slower it runs. This is true whether you run in a virtual machine, or directly on a native
PC. Note that anti-virus and anti-spyware software specifically tends to be extremely
intrusive and consume large amounts of resources. While it is often necessary to run
such tools, try to configure them to do as little as possible. Remember that it is very
easy to backup and restore the virtual machine, should any real corruption or infection
occur. Furthermore, if you run in "snapshot" mode, it is usually not necessary to have
anti-virus software scanning your virtual "C:" drive at all times, since infections will not
be persistent.
5. Make regular backups after you make significant configuration changes to Windows, so
that you can restore often. Remember that Windows simply degrades over time in terms
of performance, as the registry grows, etc. While on a native system the only option to
- 23 -
reclaim performance is often to reinstall, with a virtual machine you can always restore
from a good backup instead, saving countless hours, days, or weeks of configuration. Please see the
section Backing up and Restoring Sessions in Using the Win4Lin Pro Console for more
information on backing up a virtual machine. You can also use "snapshot" mode to prevent corruption of
- 24 -
NAT Networking
NAT Networking is similar to Basic Networking except that it allows Windows greater access
to outbound network protocols. When you configure a guest Windows session with NAT
Networking, a second virtual network interface will automatically appear in Windows, called
Local Area Connection 2. You should never modify its settings for any reason, nor the
settings for Local Area Connection.
With NAT Networking it is possible to run more advanced network clients, such as PORT
mode FTP software, or log in to Windows NT/2000/2003 Server Domains. However, the
session will not receive any inbound network traffic, nor will it appear on the external network
at all.
On some Linux systems, you may have to disable your software firewall in order to use NAT
Networking properly.
Bridged Networking
Bridged Networking gives Windows complete access (and exposure) to the Ethernet network
you bridged it to. It is the equivalent of provisioning a standalone Windows PC on a LAN.
The session will need a dedicated IP address, either static or dynamic (via DHCP). Bridged
Networking requires a constant connection to a permanent, physical Ethernet network and
does not work with wireless interfaces.
You should use Bridged Networking only if you need inbound connections to your guest
Windows session .
With Bridged Networking, a second virtual network interface will automatically appear in
Windows, called Local Area Connection 2. This interface is bridged to the Ethernet network.
You may modify it as needed, including changing it to use a static IP address. You should
not modify the configuration for Local Area Connection under any circumstances, however.
You will likely have to disable any software firewall on your Linux system in order to use
Bridged Networking properly. You should consider running network security software in
Windows, such as a Windows firewall, since the session will be fully exposed on the network
you bridge it to.
- 25 -
- 26 -
future.
An interesting benefit of running in "Snapshot" mode is that you can instruct any anti-virus
software in Windows to not constantly scan file access on the "C:" drive. This is because even if the "C:"
drive becomes infected, you can just restart the session to eliminate the infection. You may want to have it
scan the "D:" drive, however, since changes to that drive are indeed persistent. Disablig constant scanning
in anti-virus software helps to offset some of the performance penalties of running such applications in
virtual machines.
For more information on enabling and disabling "Snapshot" mode, see the section Adjusting
Session Properties in Using the Win4Lin Pro Console.
Even if you use "Snapshot" mode, you should still make regular backups of your session just in
case your virtual "D:" drive becomes corrupted.
- 27 -
Documents
HOME
media
mnt
- 28 -
Advanced/Expert Topics
Advanced/Expert Topics
The following sections cover topics that are recommended for expert users only. They may
require command-line interaction with your Linux system, and possible command-line interaction
with the guest Windows virtual machine as well.
- 29 -
Advanced/Expert Topics
list of "volumes" in the virtual machine. The volume you are interested in is "D:", and is
generally volume number 2. Once you have determined the number of the "D:" volume (generally 2), use
- 30 -
Advanced/Expert Topics
as the Windows Recovery Console, which require booting from a CDROM or CDROM
image.
To do this, first identify the configuration name of the session you want to recover. You can
do this by running the Win4Lin Pro Console and seeing what directory it is installed in. The configuration
name is that directory name, relative to your home directory. For instance, if the directory name is
/home/user/win4, then the configuration name is win4.
Next, use the win4 commands -recovery flag to launch the session:
win4 -recovery <configuration-name>
For example, if the configuration name is win4, you would use the Linux command:
win4 -recovery win4
You will be asked to insert the Windows 2000/XP CDROM if not inserted already. Note that
you may use other recovery discs as well. If you are using your Windows installation disc,
once the installer comes up, select the Repair option. Note that during this time it is normal
for Win4Lin Pro to consume 100% of the CPU core it is running on.
To specify an ISO image file to boot from, or a different device rater than your default
CDROM device, use the -cdrom flag for the win4 command. For example, to recover the
win4 session and boot from the file winxppro.iso, you would use the following Linux
command:
win4 -recovery -cdrom winxppro.iso win4
You should run the win4 command as the user who runs Windows, in all cases, and never
as root, nor with sudo in front of it.
Note that Virtual Bridges does not develop nor support any recovery software, neither from
Microsoft nor other 3rd parties. Use at your own risk, and always backup your session before
attempting this. For more information on the Windows XP Recovery Console, please see the
Microsoft knowledgebase article ID 314058, titled Description of the Windows XP Recovery
Console. At the time of this writing, the article is available at the following URL:
http://support.microsoft.com/kb/314058 (http://support.microsoft.com/kb/314058)
- 31 -
Troubleshooting
Troubleshooting
Windows Installation Issues
Windows Installation Aborts
If the Windows installation stops abruptly at any stage, this is most likely due to defective or
unreadable media. It is strongly recommended that you rip the media to an ISO 9660 image
file and install from that instead of directly from the physical CD or DVD. Alternatively, try a
different Windows CD.
Failures not related to bad media likely indicate that Win4Lin Pro does not support the
version of Windows you are trying to install. In this case, try a different version of Windows.
- 32 -
- 33 -
Starting Session produces "Cannot start another session from the same
location" Error
You will receive this error if you are running a session and try to start it again using the
Win4Lin Pro Console or win4 command. Also, Win4Lin Pro requires POSIX File Locking to
work on the file system where you have installed the guest session. If POSIX File Locking
does not work on this file system, you can disable the use of it by editing the Advanced
section in the Properties... dialog of the Win4Lin Pro Console for the given session.
If you are on a network or a server and receive this error, please contact your System
Administrator.
- 34 -
- 35 -
(as root):
/sbin/modprobe kvm-intel
--or-sudo /sbin/modprobe kvm-intel
If successful, the command will complete silently. If there are errors, check that you are running
the command as root or with sudo, and that your system meets all the additional requirements
listed above. Note that if this command is not successful, Win4Lin Pro will not be able to use
Hardware Virtualization.
Some Linux distributions (such as Ubuntu and Debian/GNU Linux) allow you to add the module
kvm-intel or kvm-amd to the file /etc/modules so that this driver loads automatically each
time you boot your system. For additional information on this topic, please see the documentation
of your Linux distribution.
- 36 -
Note that Hardware Virtualization will not be used during installation of Windows 2000/XP guest
sessions, as such processes perform better with Software Virtualization. After Windows installation
completes and you launch the session, Hardware Virtualization will be used automatically if possible.
- 37 -
- 38 -
Multi-session Licensing
Support for running multiple concurrent Windows guest sessions on the same server
Corruption in one session does not affect other sessions running concurrently on the server
- 39 -
Swap Space
In all cases, the servers swap space should be at least twice that of physical memory (RAM). For
example, if the server has 4 gigabytes of RAM, it should have at least 8 gigabytes of swap space.
Please note that in some cases, using less swap space than this recommended amount may
result in processing errors under load, such as abrupt Windows session crashes. It is not
necessary to assign more swap space than this recommended amount, but if you do, it will have
no adverse effect on hosted guest Windows sessions.
Disk Space
Disk space varies greatly depending on the configuration of your guest Windows sessions. In
minimum terms, you will need to reserve at least 8 gigabytes per concurrent session. This is
based on the default virtual "C:" disk size of 8 gigabytes. Even if you use Dynamic Desktops, it is
recommended that you scale disk space to this maximum size anyway. Dynamic Desktops
require temporary storage that may approach the size of the master instances storage
requirements, so for scaling purposes, they should be treated no differently than static desktops
for best results.
CPU Cores
For best results, it is recommended that you provide at least 1 CPU core for every 5 concurrent
sessions. For example, if you plan on running 20 concurrent sessions on a server, the server
should have 4 CPU cores (either a single quad-core, 2 dual-core, or 4 single core processors.) In
some cases higher density may be possible, depending on application load. This number is a
general guideline and your individual results may vary depending on various factors, including
configuration and end-user performance expectations.
- 40 -
Thanks to constant advances in CPU performance and technology, the number of concurrent
sessions per CPU core will continue to increase over time. The metric above is based on current
commercially available, commodity server microprocessor technology, and is a conservative estimate. The
best way to measure scalability for your particular needs is to test your applications and ensure that user
Server Configuration
- 41 -
- 42 -
<bump license code> is the bump license code you obtained, exactly as you
received it.
example:
The following license file example shows a 5 concurrent user base license with
2 separate bumps. Please note that the license codes in the example are not
valid and are for illustration only, and the total number of users after the bumps
are added is unspecified in the example:
LICENSE_CODE=1s1pXXXX-XXXXXXXX
CUSTOMER_NAME="Win4Lin Pro User"
CUSTOMER_ORGANIZATION="XYZ Corporation"
BUMPS_1=XXX-XXXXXXXX
BUMPS_2=YYY-YYYYYYYY
5. Save the file and exit the text editor
6. Verify that the bump license(s) applied correctly by running the following command:
/usr/lib/win4linpro/bin/win4-licinfo
If the "max sessions" does not accurately reflect your base license count plus the
bump licenses, please revisit the process to this point to verify that you have
entered the information exactly as you received it.
If the license information displays an error, you may easily restore your backup
copy of the license file as follows:
cp /var/lib/win4linpro/license.lic.saved \
/var/lib/win4linpro/license.lic
- 43 -
800x600
:2
1024x768
:3
1152x864
:4
1280x1024
:5
1600x1200
:6
1280x800
:7
1280x960
:8
1400x1050
:9
1440x900
Please note that if you are hosting Windows 2000 desktops, only the VESA resolutions
of 800x600, 1024x768, and 1280x1024 are supported. If you connect to a Win4Lin Pro
VDI computer on any other screen size, and you launch a Windows 2000 desktop
- 44 -
instead of a Windows XP desktop, the closest fit of normal VESA sizes will be used.
This may result in blank space around the server-hosted desktop window.
Web Portal
Win4Lin Pro VDI can serve users running Java-enabled web browsers if your system
has a web server (i.e. Apache) installed.
Win4Lin Pro VDI provides a simple "portal" site to allow users to connect from regular
Java-enabled web browsers and launch remote desktop sessions. This site is not
enabled by default and must be integrated into your existing web server on the Win4Lin
Pro VDI computer. The files for this portal are found in the directory
/usr/lib/win4linpro/etc/portal on your server. Here is a sample configuration that you can
add to your Apache httpd.conf file in order to enable this portal:
Alias /vdi/ "/usr/lib/win4linpro/etc/portal/"
<Directory "/usr/lib/win4linpro/etc/portal">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Note that the above configuration is a sample only, designed to serve the Win4Lin Pro
VDI Portal when a user connects to http://<host>/vdi/. Your configuration may
vary.
- 45 -
platforms.
- 46 -
Web Portal
80, 48604
RFB Protocol/VNC Client 5991, 5992, 5993, 5994, 5995, 5996, 5997, 5998, 5999
RDP Client
3389
Other Clients
600<x> (X11)
22 (SSH)
(see documentation for respective technology for more
information)
- 47 -
assuming your end-users are willing to go through the extra step of logging in and
setting up the SSH tunnel before launching the Virtual Bridges Client.
If your Win4Lin Pro VDI configuration will live within a private LAN or an existing corporate
VPN solution, there is probably no need to perform any additional encryption for remote
display sessions and the default mechanisms will work fine. If you are not sure, please
consult with your network administrator for advice relating to your organizations topology.
- 48 -
- 49 -
Dynamic Renewable Desktops work best when you must deploy a common set of Windows
applications to multiple users, and you want to lock those deployed users into a common
system/application configuration. For example, a department may have a need to deploy a set of office
software tools to a dozen users. Each user would need to maintain their own individual settings and
documents, but the application configuration itself should only be controlled by the system administrator.
In this case a Published Session would be deployed to the dozen users, complete with all software tools
the users would need. Each user of these Managed Dynamic Sessions would receive a "copy-on-write"
virtual "C:" drive containing the applications (linked from the original Published session), and a persistent
virtual "D:" drive containing their individual settings. Documents would be stored in each users Linux
Win4Lin Pro End User License Agreement, it is your responsibility to comply with the terms
of Microsoft licensing.
- 50 -
- 51 -
Example
The example illustrates the following scenario:
1. There is a non-root user account on the system named master, for whom there is
a guest Windows session installed in the default win4 directory
2. There are 3 other non-root user accounts on the system named mary, john, and
lisa, who do not have any guest Windows sessions installed
3. The default win4 session of the master user will be published and deployed to the
other 3 non-root users on the system (mary, john, and lisa)
4. The organization is in compliance with Microsoft licensing terms and has adequate
Windows XP licenses to cover all the above mentioned users
IMPORTANT NOTE: The following example is for illustration purposes only, and may or
may not apply to your own requirements. Please refer to it only as a general guideline.
First, the system administrator logs in as root (or uses sudo) to publish the win4 session for
the user master:
win4-publish-session master
Next, the system administrator logs in as root (or uses sudo) to deploy the published
session to the other non-root users on the system:
win4-deploy-published master -u mary john lisa
The session win4 of the user master is now deployed to the users mary, john, and lisa.
Note that since the session is the default win4, there is no need to name it explicitly in either
the win4-publish-session or win4-deploy-published commands.
- 52 -
If you ran Windows Update inside a published session, be sure to restart it and then
shut it down cleanly before allowing users to start dynamic instances of it
The following are some known anomalies of using Dynamic Renewable Desktops:
Certain applications which depend on persistent data stored both in the system and user
areas may not work correctly in dynamic desktop sessions. A known example of this is
Microsoft Outlook Express. Most versions of the standard, or Office version of Outlook
are known to work correctly however. Most well-behaved Windows applications, which
keep user data and settings stored in user areas rather than storing portions of the user
data in system areas, should work fine with Dynamic Renewable Desktops.
- 53 -
Session Management
Session Management
To list the currently running user sessions on the system, use the following command, as root (or with
sudo):
win4-sessions
Each line of output will indicate information for each running guest session.
Users should shut down guest Windows sessions correctly, using the standard Windows shutdown
method, in order to avoid data corruption. However, it may sometimes be necessary to manually
terminate a running session due to Windows becoming unresponsive, the guest session taking up too
much CPU time, etc. To do this, use the win4-sessions command as described above to
determine the process ID (PID) of the session you want to terminate. The command will also indicate
the running user ID (UID) as well as configuration name, for convenient identification. Once you have
determined the process ID, use the regular Linux kill command from the shell to terminate it. It is
strongly recommended that you DO NOT use the -9 argument to kill unless absolutely necessary.
Always try kill with -15 first, before trying with -9 to avoid corruption and data loss. You can check
to see if kill -15 terminated the session by running win4-sessions again.
In very rare cases, if a session is completely unresponsive it may not show up in the
win4-sessions list. In this case, you can use the regular Linux ps command to find the
corresponding win4-runtime process for the user in question, and pass that process ID into a
subsequent kill command.
- 54 -
Network Printing
Network Printing
Transparent network printing is possible to remote clients when those computers run one of the
Virtual Bridges Clients (see Remote Access Methods and Clients in Connecting Users to Win4Lin Pro
VDI) for various platforms. A user can connect to a Win4Lin Pro VDI computer from a client PC and
enjoy automatic, transparent network printing regardless of what type of printer is attached to his or
her PC. On the client side, the computer must be able to print text and graphics locally to its printer.
Additionally, if the client PC runs a Windows operating system, the Adobe Acrobat Reader, version
3.0 or higher, should be installed on it. This program may be downloaded free of charge from
www.adobe.com (http://www.adobe.com/), and is typically installed on most Windows PCs already.
The guest Windows sessions host-printer and guest-printer will automatically support local
printing if the user logs in remotely via the Virtual Bridges Client. The same rules apply as with normal
printing in Win4Lin Pro: host-printer is designed for generic PostScript printing and translation by
the host print driver (ghostscript in the remote VDI case), while guest-printer is designed to be
driven by a Windows print driver in the guest Windows session itself. In most cases, host-printer
should suffice and is strongly recommended. If a special type of printer must be used that depends on
a very specific print driver, and the PostScript translation is not entirely accurate, the
guest-printer with a properly installed Windows driver may be used instead. Examples of printer
types requiring additional precision may include label printers, check printers, etc.
Win4Lin Pro VDI sessions served via Sun/Tarantella/Secure Global Desktop also support seamless
local printing, and should not require any special configuration. In the Sun/Tarantella/Secure Global
Desktop case however, the Secure Global Desktop application server only supports PostScript and
PCL printers on the client. In order for the host-printer method of Win4Lin Pro to work properly
with Secure Global Desktop, your client printer must be either PostScript or PCL compatible. Most
common printers fall into one of these categories. If you have a printer which does not, the
guest-printer method may be used instead and the printer driver can control the client printer
directly from the guest Windows session. Furthermore, Secure Global Desktop may require additional
configuration in order for printing to work correctly. It is recommended that you be able to print from
other Linux applications launched from Secure Global Desktop, such as Mozilla, etc., before
attempting to print from Win4Lin Pro VDI sessions. For more information on Sun/Tarantella/Secure
Global Desktop configuration, please see the Secure Global Desktop documentation, available on
your Sun/Tarantella/Secure Global Desktop web-server or on www.sun.com (http://www.sun.com/).
Please note that host-printer is installed as the default printer in guest Windows sessions, but
guest-printer must be configured manually in your guest Windows session if it is to be used. For
more information on how to do this, please see the Driving a Printer from Windows under Printing
from Windows in Maximizing the Win4Lin Pro User Experience.
- 55 -
Troubleshooting
Troubleshooting
The following issues apply only to the Win4Lin Pro VDI. For the general base product troubleshooting
guide, please see Troubleshooting in PART 1: Win4Lin Pro Desktop.
- 56 -