07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Windows partition must first be mounted (for instance under /windows/), and the wine<br />

user must have read and write access. The following fstab entry grants this access to all users:<br />

/dev/hda1 /windows fat defaults,uid=1000,gid=100,umask=002,nls=iso8859-1 0 0<br />

Now let's install the required packages:<br />

# apt-get install wine ttf-mscorefonts-installer wine-doc<br />

The user then needs to run winecfg and configure /windows/ to be used as the C: drive. Other<br />

settings can be kept to their default values. Running Windows programs then becomes a simple<br />

matter of running wine /windows/.../program.exe.<br />

Note that you should not rely on Wine (or similar solutions) without actually testing the particular<br />

software: only a real-use test will determine conclusively whether emulation is fully<br />

functional.<br />

ALTERNATIVE<br />

Virtual machines<br />

An alternative to emulating Microso's operating system is to actually run<br />

it in a virtual machine that emulates a full hardware machine. This allows<br />

running any operating system. Chapter 12, Advanced Administration (page<br />

298) describes several virtualization systems, most notably Xen and KVM (but<br />

also QEMU, VMWare and Bochs).<br />

ALTERNATIVE<br />

Windows Terminal Server or<br />

VNC<br />

Yet another possibility is to remotely run the legacy Windows applications<br />

on a central server with Windows Terminal Server and access the application<br />

from Linux machines using rdesktop. This is a Linux client for the RDP protocol<br />

(Remote Desktop Protocol) that Windows NT/2000 Terminal Server uses<br />

to display desktops on remote machines.<br />

The VNC soware provides similar features, with the added benefit of also<br />

working with many operating systems. Linux VNC clients and servers are<br />

described in Section 9.2, “Remote Login” (page 188).<br />

370 The Debian Administrator's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!