VMware Workstation 15にインストールしたUbuntu 20にopen-vm-tools-desktopをインストールしました。
vmware/open-vm-tools
https://github.com/vmware/open-vm-tools
実際には各Linux Distributionのrepositoryに用意されていると思うのでインストールコマンドを実行するだけです。
で、open-vm-toolsとopen-vm-tools-desktopで何が違うの?
NOTE: Most of the Linux distributions ship two or more open-vm-tools packages. “open-vm-tools” is the core package without any dependencies on X libraries and “open-vm-tools-desktop” is an additional package with dependencies on “open-vm-tools” core package and X libraries.
open-vm-toolsはXライブラリに依存しないコアパッケージで、open-vm-tools-desktopはopen-vm-toolsのコアパッケージとXライブラリ依存するパッケージとのこと。
今回のUbuntuはデスクトップ環境があるのでopen-vm-tools-desktopをインストールしました。
- インストール
- 自動起動の確認
- 起動確認
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
rootlinks@Ubuntu20:~$ sudo apt show open-vm-tools-desktop Package: open-vm-tools-desktop Version: 2:11.3.0-2ubuntu0~ubuntu20.04.2 Priority: extra Section: universe/admin Source: open-vm-tools Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Bernd Zeimetz <bzed@debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 581 kB Depends: libatkmm-1.6-1v5 (>= 2.24.0), libc6 (>= 2.14), libcairomm-1.0-1v5 (>= 1.12.0), libdrm2 (>= 2.4.3), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.16.0), libglibmm-2.4-1v5 (>= 2.54.0), libgtk-3-0 (>= 3.19.12), libgtkmm-3.0-1v5 (>= 3.24.0), libice6 (>= 1:1.0.0), libsigc++-2.0-0v5 (>= 2.8.0), libsm6, libstdc++6 (>= 5.2), libudev1 (>= 183), libx11-6 (>= 2:1.4.99.1), libxext6, libxi6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxtst6, open-vm-tools (= 2:11.3.0-2ubuntu0~ubuntu20.04.2), fuse, kmod Recommends: xauth, xserver-xorg-video-vmware Suggests: xdg-utils Breaks: open-vm-tools (<< 2:10.3.5-2~) Replaces: open-vm-tools (<< 2:10.3.5-2~) Homepage: https://github.com/vmware/open-vm-tools Modaliases: vmwgfx(pci:v000015ADd00000405sv*sd*bc*sc*i*) Download-Size: 144 kB APT-Sources: http://jp.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages Description: Open VMware Tools for virtual machines hosted on VMware (GUI) The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines. . This package contains the user-space programs and libraries that are essential for improved user experience of VMware virtual machines. N: There is 1 additional record. Please use the '-a' switch to see it |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
rootlinks@Ubuntu20:~$ sudo apt install open-vm-tools-desktop Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libfprint-2-tod1 libllvm10 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: ethtool libmspack0 libxmlsec1 libxmlsec1-openssl open-vm-tools zerofree Suggested packages: cloud-init The following NEW packages will be installed: ethtool libmspack0 libxmlsec1 libxmlsec1-openssl open-vm-tools open-vm-tools-desktop zerofree 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 1174 kB of archives. After this operation, 5160 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 libmspack0 amd64 0.10.1-2 [38.0 kB] Get:2 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1 amd64 1.2.28-2 [127 kB] Get:3 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-openssl amd64 1.2.28-2 [75.9 kB] Get:4 http://jp.archive.ubuntu.com/ubuntu focal-updates/universe amd64 open-vm-tools amd64 2:11.3.0-2ubuntu0~ubuntu20.04.2 [647 kB] Get:5 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 ethtool amd64 1:5.4-1 [134 kB] Get:6 http://jp.archive.ubuntu.com/ubuntu focal-updates/universe amd64 open-vm-tools-desktop amd64 2:11.3.0-2ubuntu0~ubuntu20.04.2 [144 kB] Get:7 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 zerofree amd64 1.1.1-1 [8520 B] Fetched 1174 kB in 1s (2077 kB/s) Selecting previously unselected package libmspack0:amd64. (Reading database ... 165088 files and directories currently installed.) Preparing to unpack .../0-libmspack0_0.10.1-2_amd64.deb ... Unpacking libmspack0:amd64 (0.10.1-2) ... Selecting previously unselected package libxmlsec1:amd64. Preparing to unpack .../1-libxmlsec1_1.2.28-2_amd64.deb ... Unpacking libxmlsec1:amd64 (1.2.28-2) ... Selecting previously unselected package libxmlsec1-openssl:amd64. Preparing to unpack .../2-libxmlsec1-openssl_1.2.28-2_amd64.deb ... Unpacking libxmlsec1-openssl:amd64 (1.2.28-2) ... Selecting previously unselected package open-vm-tools. Preparing to unpack .../3-open-vm-tools_2%3a11.3.0-2ubuntu0~ubuntu20.04.2_amd64.deb ... Unpacking open-vm-tools (2:11.3.0-2ubuntu0~ubuntu20.04.2) ... Selecting previously unselected package ethtool. Preparing to unpack .../4-ethtool_1%3a5.4-1_amd64.deb ... Unpacking ethtool (1:5.4-1) ... Selecting previously unselected package open-vm-tools-desktop. Preparing to unpack .../5-open-vm-tools-desktop_2%3a11.3.0-2ubuntu0~ubuntu20.04.2_amd64.deb ... Unpacking open-vm-tools-desktop (2:11.3.0-2ubuntu0~ubuntu20.04.2) ... Selecting previously unselected package zerofree. Preparing to unpack .../6-zerofree_1.1.1-1_amd64.deb ... Unpacking zerofree (1.1.1-1) ... Setting up zerofree (1.1.1-1) ... Setting up libmspack0:amd64 (0.10.1-2) ... Setting up libxmlsec1:amd64 (1.2.28-2) ... Setting up ethtool (1:5.4-1) ... Setting up libxmlsec1-openssl:amd64 (1.2.28-2) ... Setting up open-vm-tools (2:11.3.0-2ubuntu0~ubuntu20.04.2) ... Created symlink /etc/systemd/system/vmtoolsd.service -> /lib/systemd/system/open-vm-tools.service. Created symlink /etc/systemd/system/multi-user.target.wants/open-vm-tools.service -> /lib/systemd/system/open-vm-tools.service. Created symlink /etc/systemd/system/open-vm-tools.service.requires/vgauth.service -> /lib/systemd/system/vgauth.service. Setting up open-vm-tools-desktop (2:11.3.0-2ubuntu0~ubuntu20.04.2) ... Created symlink /etc/systemd/system/multi-user.target.wants/run-vmblock\x2dfuse.mount -> /lib/systemd/system/run-vmblock\x2dfuse.mount. Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for systemd (245.4-4ubuntu3.13) ... Processing triggers for man-db (2.9.1-1) ... |
1 2 |
rootlinks@Ubuntu20:~$ systemctl list-unit-files | grep open-vm open-vm-tools.service enabled enabled |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
rootlinks@Ubuntu20:~$ sudo systemctl status open-vm-tools * open-vm-tools.service - Service for virtual machines hosted on VMware Loaded: loaded (/lib/systemd/system/open-vm-tools.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/open-vm-tools.service.d `-desktop.conf Active: active (running) since Tue 2021-12-20 16:22:51 JST; 1min 17s ago Docs: http://open-vm-tools.sourceforge.net/about.php Main PID: 3635 (vmtoolsd) Tasks: 4 (limit: 9467) Memory: 1.3M CGroup: /system.slice/open-vm-tools.service `-3635 /usr/bin/vmtoolsd Dec 20 16:22:51 Ubuntu20 systemd[1]: Starting Service for virtual machines hosted on VMware... Dec 20 16:22:51 Ubuntu20 systemd[1]: Started Service for virtual machines hosted on VMware. |
Ubuntu(VM)とWindows(Host)間でコピー&ペーストが出来るようになりました。