特殊:Badtitle/NS100:SeamlessVirtualization:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/SeamlessVirtualization}} | {{From|https://help.ubuntu.com/community/SeamlessVirtualization}} | ||
{{Languages| | {{Languages|UbuntuHelp:SeamlessVirtualization}} | ||
=== Seamless Virtualization === | === Seamless Virtualization === | ||
第34行: | 第34行: | ||
==== Making Windows Apps Look at Home in Ubuntu ==== | ==== Making Windows Apps Look at Home in Ubuntu ==== | ||
To help Windows apps look | To help Windows apps look at home in Ubuntu, you may configure Windows to use the Ubuntu Human theme. | ||
https://help.ubuntu.com/community/SeamlessVirtualization?action=AttachFile&do=get&target=SeamlessVirtualizationWithThemingResized.png | |||
* 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, download the Ubuntu Human theme from http://www.deviantart.com/download/37743373/. Extract the file to '''C:\windows\resources\Themes'''. |
2007年5月14日 (一) 11:13的版本
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SeamlessVirtualization }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/af | • {{#if: UbuntuHelp:SeamlessVirtualization|Afrikaans| [[::SeamlessVirtualization/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ar | • {{#if: UbuntuHelp:SeamlessVirtualization|العربية| [[::SeamlessVirtualization/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/az | • {{#if: UbuntuHelp:SeamlessVirtualization|azərbaycanca| [[::SeamlessVirtualization/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/bcc | • {{#if: UbuntuHelp:SeamlessVirtualization|جهلسری بلوچی| [[::SeamlessVirtualization/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/bg | • {{#if: UbuntuHelp:SeamlessVirtualization|български| [[::SeamlessVirtualization/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/br | • {{#if: UbuntuHelp:SeamlessVirtualization|brezhoneg| [[::SeamlessVirtualization/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ca | • {{#if: UbuntuHelp:SeamlessVirtualization|català| [[::SeamlessVirtualization/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/cs | • {{#if: UbuntuHelp:SeamlessVirtualization|čeština| [[::SeamlessVirtualization/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/de | • {{#if: UbuntuHelp:SeamlessVirtualization|Deutsch| [[::SeamlessVirtualization/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/el | • {{#if: UbuntuHelp:SeamlessVirtualization|Ελληνικά| [[::SeamlessVirtualization/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/es | • {{#if: UbuntuHelp:SeamlessVirtualization|español| [[::SeamlessVirtualization/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/fa | • {{#if: UbuntuHelp:SeamlessVirtualization|فارسی| [[::SeamlessVirtualization/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/fi | • {{#if: UbuntuHelp:SeamlessVirtualization|suomi| [[::SeamlessVirtualization/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/fr | • {{#if: UbuntuHelp:SeamlessVirtualization|français| [[::SeamlessVirtualization/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/gu | • {{#if: UbuntuHelp:SeamlessVirtualization|ગુજરાતી| [[::SeamlessVirtualization/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/he | • {{#if: UbuntuHelp:SeamlessVirtualization|עברית| [[::SeamlessVirtualization/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/hu | • {{#if: UbuntuHelp:SeamlessVirtualization|magyar| [[::SeamlessVirtualization/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/id | • {{#if: UbuntuHelp:SeamlessVirtualization|Bahasa Indonesia| [[::SeamlessVirtualization/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/it | • {{#if: UbuntuHelp:SeamlessVirtualization|italiano| [[::SeamlessVirtualization/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ja | • {{#if: UbuntuHelp:SeamlessVirtualization|日本語| [[::SeamlessVirtualization/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ko | • {{#if: UbuntuHelp:SeamlessVirtualization|한국어| [[::SeamlessVirtualization/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ksh | • {{#if: UbuntuHelp:SeamlessVirtualization|Ripoarisch| [[::SeamlessVirtualization/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/mr | • {{#if: UbuntuHelp:SeamlessVirtualization|मराठी| [[::SeamlessVirtualization/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ms | • {{#if: UbuntuHelp:SeamlessVirtualization|Bahasa Melayu| [[::SeamlessVirtualization/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/nl | • {{#if: UbuntuHelp:SeamlessVirtualization|Nederlands| [[::SeamlessVirtualization/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/no | • {{#if: UbuntuHelp:SeamlessVirtualization|norsk| [[::SeamlessVirtualization/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/oc | • {{#if: UbuntuHelp:SeamlessVirtualization|occitan| [[::SeamlessVirtualization/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/pl | • {{#if: UbuntuHelp:SeamlessVirtualization|polski| [[::SeamlessVirtualization/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/pt | • {{#if: UbuntuHelp:SeamlessVirtualization|português| [[::SeamlessVirtualization/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ro | • {{#if: UbuntuHelp:SeamlessVirtualization|română| [[::SeamlessVirtualization/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/ru | • {{#if: UbuntuHelp:SeamlessVirtualization|русский| [[::SeamlessVirtualization/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/si | • {{#if: UbuntuHelp:SeamlessVirtualization|සිංහල| [[::SeamlessVirtualization/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/sq | • {{#if: UbuntuHelp:SeamlessVirtualization|shqip| [[::SeamlessVirtualization/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/sr | • {{#if: UbuntuHelp:SeamlessVirtualization|српски / srpski| [[::SeamlessVirtualization/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/sv | • {{#if: UbuntuHelp:SeamlessVirtualization|svenska| [[::SeamlessVirtualization/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/th | • {{#if: UbuntuHelp:SeamlessVirtualization|ไทย| [[::SeamlessVirtualization/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/tr | • {{#if: UbuntuHelp:SeamlessVirtualization|Türkçe| [[::SeamlessVirtualization/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/vi | • {{#if: UbuntuHelp:SeamlessVirtualization|Tiếng Việt| [[::SeamlessVirtualization/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/yue | • {{#if: UbuntuHelp:SeamlessVirtualization|粵語| [[::SeamlessVirtualization/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/zh | • {{#if: UbuntuHelp:SeamlessVirtualization|中文| [[::SeamlessVirtualization/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/zh-hans | • {{#if: UbuntuHelp:SeamlessVirtualization|中文(简体)| [[::SeamlessVirtualization/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SeamlessVirtualization | UbuntuHelp:SeamlessVirtualization | {{#if: | :}}SeamlessVirtualization}}/zh-hant | • {{#if: UbuntuHelp:SeamlessVirtualization|中文(繁體)| [[::SeamlessVirtualization/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SeamlessVirtualization|:SeamlessVirtualization|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SeamlessVirtualization/zh | | {{#ifexist: SeamlessVirtualization/zh | | {{#ifeq: {{#titleparts:SeamlessVirtualization|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SeamlessVirtualization|1|-1|}} | zh | | }}
Seamless Virtualization
Rather than have an entire separate 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
- This also works with VirtualBox, similarly easy as in VmWare. The only "tricky" part is configuring a host-only network in VirtualBox. Check these links for more information:http://ubuntuforums.org/showthread.php?p=2062234#post2062234 and http://www.happyassassin.net/2007/02/06/vmware-to-virtualbox/
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 3389, where Windows Terminal Services will run.
- In the VM, log in as Administrator. Then click Start → Control Panel → System. On the Remote tab, tick Allow users to connect remotely to this computer. Click OK.
- In the VM, download [1]. 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" <IP of VM>:3389 -u administrator -p password
For QEmu, use 'localhost' for <IP of VM>. For VMWare and for VirtualBox, use the IP address noted down earlier.
A large window will pop up briefly with the Windows login screen, then your application should start 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.
Shortcomings
- Due to limitations in Windows XP clients, only one user can be logged in remotely at a time. The way the current solution is designed, this translates to one program running at a time.
- Not necessarily. I've found that if you launch a program that can launch other programs (ex: my computer or cmd.exe), you can use it to open other programs, which then also show up as windows. I've tried it, and I was able to run Internet Explorer and Adobe Acrobat at the same time. The limitation seems to be in the windows program, not anything in rdp. -- JoeTerranova
- However, RDP 6.0 (since Windows Server 2003 SP1) supports running individual programs, so no need for seamless desktop. Does rdesktop support 6.0 features yet? -- MarkReitblatt
- There's an unofficial patch for XP Service Pack 2 that allows you to run unlimited concurrent remote user sessions to get around this limitation (it uses a terminal services library from a beta of SP2 that accidentally removed the limitation). It's probably OK for home users although I wouldn't recommend it for a business. http://www.kood.org/terminal-server-patch/
- The Human theme does not work in Windows XP x64.