特殊:Badtitle/NS100:VMware/Troubleshooting/Xorg7:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第53行: | 第53行: | ||
Answer all questions with the default answer, except for the following: | Answer all questions with the default answer, except for the following: | ||
<pre><nowiki> | <pre><nowiki> | ||
Before running | Before running VMware Tools for the first time, you need to configure it by | ||
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want | invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want | ||
this program to invoke the command for you now? [yes] no | this program to invoke the command for you now? [yes] no |
2007年12月6日 (四) 10:59的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/VMware/Troubleshooting/Xorg7 }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/af | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Afrikaans| [[::VMware/Troubleshooting/Xorg7/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ar | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|العربية| [[::VMware/Troubleshooting/Xorg7/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/az | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|azərbaycanca| [[::VMware/Troubleshooting/Xorg7/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/bcc | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|جهلسری بلوچی| [[::VMware/Troubleshooting/Xorg7/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/bg | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|български| [[::VMware/Troubleshooting/Xorg7/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/br | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|brezhoneg| [[::VMware/Troubleshooting/Xorg7/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ca | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|català| [[::VMware/Troubleshooting/Xorg7/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/cs | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|čeština| [[::VMware/Troubleshooting/Xorg7/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/de | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Deutsch| [[::VMware/Troubleshooting/Xorg7/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/el | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Ελληνικά| [[::VMware/Troubleshooting/Xorg7/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/es | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|español| [[::VMware/Troubleshooting/Xorg7/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/fa | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|فارسی| [[::VMware/Troubleshooting/Xorg7/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/fi | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|suomi| [[::VMware/Troubleshooting/Xorg7/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/fr | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|français| [[::VMware/Troubleshooting/Xorg7/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/gu | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|ગુજરાતી| [[::VMware/Troubleshooting/Xorg7/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/he | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|עברית| [[::VMware/Troubleshooting/Xorg7/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/hu | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|magyar| [[::VMware/Troubleshooting/Xorg7/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/id | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Bahasa Indonesia| [[::VMware/Troubleshooting/Xorg7/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/it | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|italiano| [[::VMware/Troubleshooting/Xorg7/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ja | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|日本語| [[::VMware/Troubleshooting/Xorg7/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ko | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|한국어| [[::VMware/Troubleshooting/Xorg7/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ksh | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Ripoarisch| [[::VMware/Troubleshooting/Xorg7/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/mr | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|मराठी| [[::VMware/Troubleshooting/Xorg7/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ms | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Bahasa Melayu| [[::VMware/Troubleshooting/Xorg7/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/nl | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Nederlands| [[::VMware/Troubleshooting/Xorg7/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/no | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|norsk| [[::VMware/Troubleshooting/Xorg7/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/oc | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|occitan| [[::VMware/Troubleshooting/Xorg7/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/pl | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|polski| [[::VMware/Troubleshooting/Xorg7/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/pt | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|português| [[::VMware/Troubleshooting/Xorg7/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ro | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|română| [[::VMware/Troubleshooting/Xorg7/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/ru | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|русский| [[::VMware/Troubleshooting/Xorg7/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/si | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|සිංහල| [[::VMware/Troubleshooting/Xorg7/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/sq | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|shqip| [[::VMware/Troubleshooting/Xorg7/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/sr | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|српски / srpski| [[::VMware/Troubleshooting/Xorg7/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/sv | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|svenska| [[::VMware/Troubleshooting/Xorg7/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/th | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|ไทย| [[::VMware/Troubleshooting/Xorg7/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/tr | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Türkçe| [[::VMware/Troubleshooting/Xorg7/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/vi | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|Tiếng Việt| [[::VMware/Troubleshooting/Xorg7/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/yue | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|粵語| [[::VMware/Troubleshooting/Xorg7/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/zh | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|中文| [[::VMware/Troubleshooting/Xorg7/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/zh-hans | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|中文(简体)| [[::VMware/Troubleshooting/Xorg7/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7 | UbuntuHelp:VMware/Troubleshooting/Xorg7 | {{#if: | :}}VMware/Troubleshooting/Xorg7}}/zh-hant | • {{#if: UbuntuHelp:VMware/Troubleshooting/Xorg7|中文(繁體)| [[::VMware/Troubleshooting/Xorg7/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:VMware/Troubleshooting/Xorg7|:VMware/Troubleshooting/Xorg7|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :VMware/Troubleshooting/Xorg7/zh | | {{#ifexist: VMware/Troubleshooting/Xorg7/zh | | {{#ifeq: {{#titleparts:VMware/Troubleshooting/Xorg7|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:VMware/Troubleshooting/Xorg7|1|-1|}} | zh | | }}
Disclaimer
I'm not sure why these steps work, but they do. They're pieced together from different sources and some problems were fixed. The original source the major part of this introduction is from [1]
Introduction
After upgrading my VMware Ubuntu 6.06 installation to 6.10 Edgy, my screen stayed black, except for a few colored dots at the bottom of the screen. I'm not sure what the problem is, but reinstalling the VMware tools help. The problem with this procedure is that Ubuntu 6.10 Edgy uses Xorg 7, which isn't supported by the VMware tools distributed with my current VMware workstation. I expect this to be updated in the near future, but in the mean time, the following helps.
Installation guide
I started this entire process after upgrading to Ubuntu 6.10. If you miss a step or make a mistake, don't hesitate to restart the entire installation. If you at one moment don't have network available, but need it, simply install the VMware tools as you would normally do (answer yes instead of no when asked to run vmware-config-tools.pl; see below) and reboot your machine. Networking should work again. If you follow the steps below though, everything should go without a glitch.
Go into recovery mode
When booting, press escape during the following notice:
GRUB loading, please wait... Press 'ESC' to enter the menu... 2
This will bring you into a menu where you should choose the first entry having "(recovery mode)" in its description. After Ubuntu goes through its initial stages, it asks you to enter the root password or press Control+D. I previously set my root password, so could use it. If you haven't done this, press Control+D and switch to root later on using "sudo bash". If you continue the normal logon process (i.e. pressing Control+D), you should eventually get a dialog stating X couldn't be started and if you want to view the logs. Skip this, switch to root using "sudo bash", and follow the steps below.
Getting all required files
You need three files from three different sources to get everything done.
VMware tools
To get the VMware tools, choose "Install VMware Tools..." from the "VM" menu in your virtual machine. Next, mount the Cd Rom and extract the drives using the following steps:
mount /media/cdrom cd /tmp tar zxpvf /media/cdrom/VMwareTools-*.tar.gz
VMware update
Next you need an update to VMware. This is located at [2]. This URL could be changed, so please take a look at [3] if the above link doesn't work. Download and extract this file using the following steps:
cd /tmp wget http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-tools-any-update2.tar.gz tar zxpvf vmware-tools-any-update2.tar.gz
Patch file to vmware-config-tools.pl
This is located at [4]. Get this using the following steps:
cd /tmp wget http://community.webathome.org/vmware-config-tools-patch.txt
Actual installation
Uninstalling the current VMware tools
vmware-uninstall-tools.pl /etc/init.d/networking stop rmmod vmxnet
Installing the new VMware tools
cd /tmp/vmware-tools-distrib ./vmware-install.pl
Answer all questions with the default answer, except for the following:
Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] no
Answer no here.
Installing the update
cd /tmp/vmware-tools-any-update2/ ./runme.pl
Here, the default answer the whether you want to run "vmware-config-tools.pl" already is no. Accept this.
Updating the current vmware-config-tools.pl
patch /usr/bin/vmware-config-tools.pl /tmp/vmware-config-tools-patch.txt
Run the new vmware-config-tools.pl
vmware-config-tools.pl
Answer all questions with their default answer. You should of course choose the correct resolution though, but this can be changed later on in the screen settings.
Update your xorg.conf
The VMware mouse driver isn't set by default. Do this by changing the following line into the one below that in the file located at /etc/X11/xorg.conf:
Driver "mouse"
Driver "vmmouse"
In my config, this line is located at line 53. You can search on "mouse", because that only appears one time in the config file.
Rebooting your installation
reboot
Finishing up
By now everything should be set up correctly. I should note that this doesn't enable the splash screen in my installation, but the Gnome login window does eventually come up.