特殊:Badtitle/NS100:VMware/Troubleshooting/Xorg7:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的3个中间版本)
第4行: 第4行:
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 [http://www.clendenen.net/index.php?option=com_content&task=view&id=14&Itemid=28]
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 [http://www.clendenen.net/index.php?option=com_content&task=view&id=14&Itemid=28]
== Introduction ==
== 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.
After upgrading my [[UbuntuHelp:VMware|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.
I'm not sure what the problem is, but reinstalling the [[UbuntuHelp:VMware|VMware]] tools help. The problem with this procedure is that Ubuntu 6.10 Edgy uses Xorg 7, which isn't supported by the [[UbuntuHelp:VMware|VMware]] tools distributed with my current [[UbuntuHelp:VMware|VMware]] workstation. I expect this to be updated in the near future, but in the mean time, the following helps.
== Installation guide ==
== 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.
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 [[UbuntuHelp:VMware|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 ===
=== Go into recovery mode ===
When booting, press escape during the following notice:
When booting, press escape during the following notice:
第20行: 第20行:
You need three files from three different sources to get everything done.
You need three files from three different sources to get everything done.
==== VMware tools ====
==== VMware tools ====
To get the VMware tools, choose "Install VMware Tools..." from the "VM" menu in your virtual machine.
To get the [[UbuntuHelp:VMware|VMware]] tools, choose "Install [[UbuntuHelp:VMware|VMware]] Tools..." from the "VM" menu in your virtual machine.
Next, mount the Cd Rom and extract the drives using the following steps:
Next, mount the Cd Rom and extract the drives using the following steps:
<pre><nowiki>
<pre><nowiki>
第28行: 第28行:
</nowiki></pre>
</nowiki></pre>
==== VMware update ====
==== VMware update ====
Next you need an update to VMware. This is located at [http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-tools-any-update2.tar.gz]. This URL could be changed, so please take a look at [http://platan.vc.cvut.cz/ftp/pub/vmware/] if the above link doesn't work.
Next you need an update to [[UbuntuHelp:VMware|VMware]]. This is located at [http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-tools-any-update2.tar.gz]. This URL could be changed, so please take a look at [http://platan.vc.cvut.cz/ftp/pub/vmware/] if the above link doesn't work.
Download and extract this file using the following steps:
Download and extract this file using the following steps:
<pre><nowiki>
<pre><nowiki>
第37行: 第37行:
==== Patch file to vmware-config-tools.pl ====
==== Patch file to vmware-config-tools.pl ====
This is located at [http://community.webathome.org/vmware-config-tools-patch.txt]. Get this using the following steps:
This is located at [http://community.webathome.org/vmware-config-tools-patch.txt]. Get this using the following steps:
<pre><nowiki>cd /tmp
<pre><nowiki>
cd /tmp
wget http://community.webathome.org/vmware-config-tools-patch.txt
wget http://community.webathome.org/vmware-config-tools-patch.txt
</nowiki></pre>
</nowiki></pre>
=== Actual installation ===
=== Actual installation ===
==== Uninstalling the current VMware tools ====
==== Uninstalling the current VMware tools ====
<pre><nowiki>vmware-uninstall-tools.pl
<pre><nowiki>
vmware-uninstall-tools.pl
/etc/init.d/networking stop
/etc/init.d/networking stop
rmmod vmxnet
rmmod vmxnet
第74行: 第76行:
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.
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 ====
==== 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:
The [[UbuntuHelp:VMware|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:
<pre><nowiki>
<pre><nowiki>
Driver "mouse"
Driver "mouse"

2008年10月20日 (一) 01:05的最新版本

{{#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.