It seems like vmtools gets automatically installed when you install linux. The problem is, it does not have all the right features turned on, expecially file sharing. First find the "open-vm" packages, and then remove them yum list | grep 'open-vm' sudo yum remove open-vm-tools.x86_64 open-vm-tools-desktop.x86_64 No reboot a few times. Eventually, VMWare will display a banner at the bottom of the screen asking if you want to download vmtools. Select yes. Copy the tarred up directory from the DVD, and untar it somewhere, and then go inside and run the perl script. * ************************************************************ * Install Make sure to select all fields Especially make sure to select the software installation tab and put Gnome + ~ all software * Reboot and finish setup * Add user to wheel and dialout su usermod -aG dialout greg usermod -aG wheel greg (reboot) * After reboot, click on the network indicator next to the clock, and make sure connected (alternatively click the power button, and there's a network connection there) open a terminal and ping yahoo.com * Update the repositories sudo yum -y update sudo yum -y install epel-release sudo yum repolist (reboot) * After reboot, eject the CentOS7 disk * Click the power button, then wired on * Change Hostname sudo cp /etc/hostname /etc/hostname.orig sudo cp /etc/hosts /etc/hosts.orig sudo vim /etc/hostname sudo vim /etc/hosts $ diff /etc/hostname.orig /etc/hostname < localhost.localdomain --- > cbox.subckt.org $ diff /etc/hosts.orig /etc/hosts < 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 < ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 --- > 127.0.0.1 cbox cbox.subckt.org localhost localhost.localdomain localhost4 localhost4.localdomain4 > ::1 cbox cbox.subckt.org localhost localhost.localdomain localhost6 localhost6.localdomain6 (reboot) * Use Tweaks to set focus policy for windows * Download Xfce desktop sudo yum groupinstall -y "Xfce" * Create Desktop share folder qccloc cd Desktop mkdir qccloc * Install USB3.0 support sudo yum install ntfs-3g.x86_64 ntfs-3g-devel.x86_64 ntfsprogs.x86_64 * Install minicom yum list | grep minicom sudo yum install minicom.x86_64 (power off) * Edit virtual machine settings Ram 8192 CD --> Use_physical_drive USB Controller --> 3.0 Options->Shared_Folders->Add (Browse to qccloc) * When logging in, click the settings and choose Xfce sudo yum remove open-vm-tools.x86_64 open-vm-tools-desktop.x86_64 (See vmtools.png for how I uninstalled and reinstalled vmtools) * 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 yum list | grep minicom sudo yum install minicom.x86_64 su usermod -aG dialout greg (reboot - and then you'll be in dialout) minicom -s -D /dev/ttyUSB0 (turn Hardware Flow Control OFF) * ***************************** for ssh access, must be a member of wheel in centos su usermod -aG wheel username * ***************************** sudo yum -y update sudo yum -y install epel-release sudo yum repolist sudo yum install ntfs-3g.x86_64 ntfs-3g-devel.x86_64 ntfsprogs.x86_64 sudo yum localinstall klayout-0.26.4-0.x86_64.rpm sudo yum groupinstall -y "Xfce" * 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 * To get cadence running sudo yum install ksh yum provides ld-linux.so.2 sudo yum install glibc-2.17-292.el7.i686 sudo vim /etc/hostname change name to centbox.gregbox.net * To boot an existing VM from the CD-Drive (.iso), make sure the drive is enabled at power up, then go into the bios by hitting 'ESC' several times during powerup. (you have to first click your mouse in the window!) * **************************************************************************************** * intall vmware tools (open-vm-tools) * **************************************************************************************** uninstall and reinstall vmware tools the right way Follow instructions in https://packages.vmware.com/tools/docs/manuals/osp-install-guide.pdf * use the script to remove su vmware-uninstall-tools.pl * check for yum packages and remove them too yum list installed | grep vm sudo yum remove open-vm-tools.x86_64 open-vm-tools-desktop.x86_64 * (reboot) * Now I choose not to install the tools from the .iso disk (you could install by untarring the directory on the .iso disk and then running the .pl script) (I choose not to do this) * Use yum to install yum install open-vm-tools yum install open-vm-tools-desktop.x86_64 (the second one was necessary in order to make the clipboard work!) * After working on this for a while, I found that dual screen mode doesn't work well, especially when I install op-vm-tools from yum I now remove them from yum sudo yum remove open-vm-tools.x86_64 open-vm-tools-desktop.x86_64 (reboot) (untar the .iso vmtools, and run) cd /home/greg/Desktop/vmware-tools-distrib ./vmware-install.pl * **************************************************************************************** https://windowsreport.com/vmware-clipboard-not-working/ #!/bin/bash # get process info for vmtoolsd processString=$(ps -ef | grep '[0-9][0-9]:[0-9][0-9]:[0-9][0-9] /usr/bin/vmtoolsd -n vmusr') # tokenize tokens=( $processString ) # grab pid and kill it kill "${tokens[1]}" # restart vmtoolsd /usr/bin/vmtoolsd -n vmusr & > /dev/null 2>&1 * ****************************************** * Hot Keys * ****************************************** -g --> grab mouse --> release mouse --> full screen mode --> send straight to VM (continue holding ) * **************************************************************************************** * setup ftp server sudo firewall-cmd --zone=public --permanent --add-port=21/tcp sudo firewall-cmd --zone=public --permanent --add-service=ftp sudo firewall-cmd --reload https://www.fosslinux.com/6747/how-to-setup-and-configure-ftp-server-on-centos.htm sudo yum install vsftpd systemctl status vsftpd sudo systemctl enable vsftpd systemctl status vsftpd sudo cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.orig sudo jstar /etc/vsftpd/vsftpd.conf sudo diff /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.orig 8888888888888888888888888888888888888888888888888 < chmod_enable=YES 102,103c101,102 < chroot_local_user=YES < chroot_list_enable=YES --- > #chroot_local_user=YES > #chroot_list_enable=YES 105c104 < chroot_list_file=/etc/vsftpd/chroot_list --- > #chroot_list_file=/etc/vsftpd/chroot_list 8888888888888888888888888888888888888888888888888 sudo cat /etc/vsftpd/chroot_list 8888888888888888888888888888888888888888888888888 greg jack shelby 8888888888888888888888888888888888888888888888888 * **************************************************************************************** * ******************************************************************* * unmount the disk if needed * ******************************************************************* sudo mount sudo umount /dev/sdb1 sudo umount /dev/sdb2 * ******************************************************************* * ******************************************************************* * Partition New USB disk as windows and linux * ******************************************************************* [greg@localhost ~]$ sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): o Building a new DOS disklabel with disk identifier 0x28b71986. Command (m for help): n Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): Using default response p Partition number (1-4, default 1): First sector (2048-240254975, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-240254975, default 240254975): +4G Partition 1 of type Linux and of size 4 GiB is set Command (m for help): n Partition type: p primary (1 primary, 0 extended, 3 free) e extended Select (default p): Using default response p Partition number (2-4, default 2): First sector (8390656-240254975, default 8390656): Using default value 8390656 Last sector, +sectors or +size{K,M,G} (8390656-240254975, default 240254975): Using default value 240254975 Partition 2 of type Linux and of size 110.6 GiB is set Command (m for help): t Partition number (1,2, default 2): 1 Hex code (type L to list all codes): 07 Changed type of partition 'Linux' to 'HPFS/NTFS/exFAT' Command (m for help): p Disk /dev/sdb: 123.0 GB, 123010547712 bytes, 240254976 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x28b71986 Device Boot Start End Blocks Id System /dev/sdb1 2048 8390655 4194304 7 HPFS/NTFS/exFAT /dev/sdb2 8390656 240254975 115932160 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. * ***************************** * ******************************************************************* * List the disk partitions * ******************************************************************* [greg@localhost ~]$ sudo fdisk -l [sudo] password for greg: Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000c8c60 Device Boot Start End Blocks Id System /dev/sda1 * 2048 616447 307200 83 Linux /dev/sda2 616448 4810751 2097152 82 Linux swap / Solaris /dev/sda3 4810752 41943039 18566144 83 Linux Disk /dev/sdb: 123.0 GB, 123010547712 bytes, 240254976 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x28b71986 Device Boot Start End Blocks Id System /dev/sdb1 2048 8390655 4194304 7 HPFS/NTFS/exFAT /dev/sdb2 8390656 240254975 115932160 83 Linux [greg@localhost ~]$ * ******************************************************************* * ******************************************************************* * Format the partitions as windows and linux ext4 * ******************************************************************* [greg@localhost ~]$ sudo mkfs.ntfs -f -L ZZWIN /dev/sdb1 Cluster size has been automatically set to 4096 bytes. Creating NTFS volume structures. mkntfs completed successfully. Have a nice day. [greg@localhost ~]$ sudo mkfs.ext4 -L ZZLNX /dev/sdb2 mke2fs 1.42.9 (28-Dec-2013) Filesystem label=ZZLNX OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 7249920 inodes, 28983040 blocks 1449152 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=2176843776 885 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done [greg@localhost ~]$ * ******************************************************************* [greg@localhost ~]$ cd /run/media/greg/ [greg@localhost greg]$ ll total 8 drwxr-xr-x. 3 root root 4096 Mar 27 09:54 ZZLNX drwxrwxrwx. 1 greg greg 4096 Mar 27 10:23 ZZWIN [greg@localhost greg]$ sudo chmod ugo+w ZZLNX [sudo] password for greg: [greg@localhost greg]$ lls total 8 drwxrwxrwx. 3 root root 4096 Mar 27 09:54 ZZLNX drwxrwxrwx. 1 greg greg 4096 Mar 27 10:23 ZZWIN [ yum list | grep minicom sudo yum install minicom.x86_64 su usermod -aG dialout greg (reboot - and then you'll be in dialout) minicom -s -D /dev/ttyUSB0 (turn Hardware Flow Control OFF) * ***************************** for ssh access, must be a member of wheel in centos su usermod -aG wheel username * ***************************** sudo yum -y update sudo yum -y install epel-release sudo yum repolist sudo yum install ntfs-3g.x86_64 ntfs-3g-devel.x86_64 ntfsprogs.x86_64 sudo yum localinstall klayout-0.26.4-0.x86_64.rpm sudo yum groupinstall -y "Xfce" * ****************************************************** see : https://access.redhat.com/articles/yum-cheat-sheet * ****************************************************** yum list installed yum list available * ******************************** $ yum list installed | grep joe joe.x86_64 4.6-4.el7 @epel $ yum info joe.x86_64 $ yum deplist joe.x86_64 $ yum provides /bin/python2 $ yum grouplist $ yum update * ********************************