Rather than have an entire seperate Windows desktop, you can run virtualized programs directly on your Linux desktop using the latest (version 1.5.0) rdesktop package that comes with Ubuntu 7.04, and Windows XP Professional's Terminal Services feature.
-
Start a Windows XP pro VM.
-
If using VMware, configure host-only networking, and note the VMs IP address for later.
-
If using QEmu, use the following command
-
qemu -m 384 -redir tcp:3389::3389 windows.img
This makes any connections to the localhost port 3389 be directed to the QEmu VM on port 80, where Windows Terminal Services will run.
-
In the VM, log in as Administrator. Then click Start → Control Panel → System Properties. On the Remote tab, tick Allow users to connect remotely to this computer. Click OK.
-
In the VM, download
http://www.cendio.se/files/thinlinc/seamlessrdp/seamlessrdp.zip. Extract to C:\seamlessrdp. Then log out of the VM.
-
Install rdesktop on the host. See InstallingSoftware.
-
Test running an application seamlessly:
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\Internet Explorer\iexplore.exe" localhost:3389 -u administrator -p password
A large window will pop up briefly with the Windows login screen, then your application should launch in its own window.
You can now create a desktop launcher to run the command above in
future, when the VM has been started. High-resolution .PNG icons for
Windows applications are available from
DeviantArt.
Making Windows Apps Look at Home in Ubuntu
To help Windows apps look at home in Ubuntu, you may configure Windows to use the Ubuntu Human theme.
-
In the VM, download the Ubuntu Human theme from
http://www.deviantart.com/download/37743373/. Extract the file to C:\windows\resources\Themes.
-
In the VM, specify the theme to be used for Terminal Services in\the Group Policy Object Editor.
-
Click Start → Run. Then type mmc.
-
In the application that pops up, click File → Add/Remove Snap In. Click Add. Select Group Policy Object Editor and click Add again.
-
In the Group Policy Object Editor, navigate to User Configuration/Administrative Templates/Control Panel/Display/Desktop Themes.
-
Open the Load a specific visual style file or force Windows Classic setting. Enable the setting, and enter C:\windows\resources\Themes\Human\Human.msstyles as the style.
-
-
Log out of Windows
-
Test your application from the host:
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\Internet Explorer\iexplore.exe" <IP of VM>:3389 -u administrator -p password
If using QEmu, use 'localhost' rather than the IP of the VM.
The new theme will take effect after the login screen.
Some themes that are larger or smaller than default might show a few lines of the Windows wallpaper color.





