I don't exactly see what is the problem to provide root privileges just the time to enter the license key, but if it is necessary you can apply the following steps:
- change the owner of the
/etc/vmware
directory to your unprivileged user - enter the license key from command line:
/usr/lib/vmware/bin/vmware-vmx --new-sn XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- reapply the correct permissions of
/etc/vmware
directory
I don't know how to do for a trial license, though. It seems VMware GUI ask root permissions even if the current user can write in /etc/vmware
.
Pinned Comments
jihem commented on 2020-02-10 17:29 (UTC) (edited on 2021-06-19 13:19 (UTC) by jihem)
After the first installation, please:
1) install the appropriate headers package(s) for your installed kernel(s): linux-headers for default kernel, linux-lts-headers for LTS kernel...
2) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
3) Enable the services you need (using .service units to activate them during boot or .path units to activate them when a VM is started) :
vmware-networks: to have network access inside VMs
vmware-usbarbitrator: to connect USB devices inside VMs