VMware安装Ubuntu系统不能全屏 + 安装VMtools

VMware装完系统后不能全屏,需要装vmtool
我也是找了几个链接,按照上面的指示,装系统,装tools,最终是可以适应全屏了,大家细心的看一下几个链接,基本都可以实现全屏,我先把几个链接贴出来
虚拟机安装系统
解决Ubuntu安装VM Tools请确保您已登录客户机操作系统
VMware软件虚拟机不能全屏的问题
全屏问题

虚拟机开机的时候有时候会提醒你安装vmtool,这时候你点安装就好了,点左下角,DVD,VMtool,再进行解压,安装

在这里插入图片描述
可能VM的版本不同,虚拟机设置的地方不同,需要自己摸索一下,参考以上几个例子基本可以解决
下面黏贴一下vmtool安装日志
过程中点了很多次yes,最后出现了
Enjoy,
–the VMware team

lzj@ubuntu:/media/lzj/VMware Tools$ ls
manifest.txt     VMwareTools-10.0.10-4301679.tar.gz  vmware-tools-upgrader-64
run_upgrader.sh  vmware-tools-upgrader-32
lzj@ubuntu:/media/lzj/VMware Tools$ cp VMwareTools-10.0.10-4301679.tar.gz /
cp: cannot create regular file '/VMwareTools-10.0.10-4301679.tar.gz': Permission denied
lzj@ubuntu:/media/lzj/VMware Tools$ su root
Password: 
root@ubuntu:/media/lzj/VMware Tools# ls
manifest.txt     VMwareTools-10.0.10-4301679.tar.gz  vmware-tools-upgrader-64
run_upgrader.sh  vmware-tools-upgrader-32
root@ubuntu:/media/lzj/VMware Tools# cp VMwareTools-10.0.10-4301679.tar.gz /
root@ubuntu:/media/lzj/VMware Tools# cd /
root@ubuntu:/# ls
bin    home        media  run   tmp
boot   initrd.img  mnt    sbin  usr
cdrom  lib         opt    snap  var
dev    lib64       proc   srv   vmlinuz
etc    lost+found  root   sys   VMwareTools-10.0.10-4301679.tar.gz
root@ubuntu:/# tar -xzvf VMwareTools-10.0.10-4301679.tar.gz /VM
tar: /VM: Not found in archive
tar: Exiting with failure status due to previous errors
root@ubuntu:/# mkdir vm
root@ubuntu:/# tar -xzvf VMwareTools-10.0.10-4301679.tar.gz /vm
tar: /vm: Not found in archive
tar: Exiting with failure status due to previous errors
root@ubuntu:/# ls
bin    home        media  run   tmp      VMwareTools-10.0.10-4301679.tar.gz
boot   initrd.img  mnt    sbin  usr
cdrom  lib         opt    snap  var
dev    lib64       proc   srv   vm
etc    lost+found  root   sys   vmlinuz
root@ubuntu:/# tar -xzvf VMwareTools-10.0.10-4301679.tar.gz
vmware-tools-distrib/
vmware-tools-distrib/INSTALL
vmware-tools-distrib/bin/
vmware-tools-distrib/bin/vmware-config-tools.pl
vmware-tools-distrib/bin/vm-support
vmware-tools-distrib/bin/vmware-uninstall-tools.pl
vmware-tools-distrib/caf/
vmware-tools-distrib/caf/usr/
vmware-tools-distrib/caf/usr/lib/
vmware-tools-distrib/caf/usr/lib/vmware-caf/
vmware-tools-distrib/caf/usr/lib/vmware-caf/pme/
vmware-tools-distrib/caf/usr/lib/vmware-caf/pme/bin/
vmware-tools-distrib/caf/usr/lib/vmware-caf/pme/bin/CommAmqpListener
...
...
...
vmware-tools-distrib/doc/open_source_licenses.txt
root@ubuntu:/# ls
bin    home        media  run   tmp      VMwareTools-10.0.10-4301679.tar.gz
boot   initrd.img  mnt    sbin  usr      vmware-tools-distrib
cdrom  lib         opt    snap  var
dev    lib64       proc   srv   vm
etc    lost+found  root   sys   vmlinuz
root@ubuntu:/# cd vm
vm/                   vmlinuz               vmware-tools-distrib/
root@ubuntu:/# cd vmware-tools-distrib/
root@ubuntu:/vmware-tools-distrib# ls
bin  doc  FILES    installer  vgauth             vmware-install.real.pl
caf  etc  INSTALL  lib        vmware-install.pl
root@ubuntu:/vmware-tools-distrib# sudo ./vmware-install.pl
open-vm-tools are available from the OS vendor and VMware recommends using 
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer? [no] yes

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the common agent library files? 
[/usr/lib] 

In which directory do you want to install the common agent transient files? 
[/var/lib] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] yes

The installation of VMware Tools 10.0.10 build-4301679 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

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] yes

Initializing...


Making sure services for VMware Tools are stopped.

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done
Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   VMware User Agent (vmware-user):                                    done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done


update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] yes

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] yes

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] yes

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] yes


Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 
if you want to enable Common Agent (caf). [yes] yes

Do you want to enable Common Agent (caf)? [yes] yes



Detected X server version 1.18.3



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
Generating the key and certificate files.
Successfully generated the key and certificate files.
   Starting Virtual Printing daemon:                                   done
   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   VMware Automatic Kmods:                                             done
   Guest filesystem driver:                                            done
   Mounting HGFS shares:                                               done
   Blocking file system:                                               done
   Guest operating system daemon:                                      done
   VGAuthService:                                                      done
   Common Agent:                                                       done
The configuration of VMware Tools 10.0.10 build-4301679 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/lzj/VMware Tools. Ejecting device 
/dev/sr0 ...
umount: /media/lzj/VMware Tools: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
/usr/bin/eject: unmount of `/media/lzj/VMware Tools' failed
Eject Failed:  If possible manually eject the Tools installer from the guest 
cdrom mounted at /media/lzj/VMware Tools before canceling tools install on the 
host.
root@ubuntu:/vmware-tools-distrib# 



最后全屏了

你可能感兴趣的:(虚拟机)