Skip to content

Instantly share code, notes, and snippets.

@khuralyuvraj
khuralyuvraj / fix.md
Last active December 24, 2023 00:24
Fix for vmmon and vmnet problems in Arch and Debian based systems.

Easiest way

  • Disable Secure Boot
  • And after rebooting, run the following:
sudo vmware-modconfig --console --install-all

Building and signing the kernel modules manually

  • Generate key pair using openssl to authorize vmmon and vmnet modules:
@khuralyuvraj
khuralyuvraj / fix.md
Last active November 26, 2023 02:32
If you have ever had problems running commands as other users in Ubuntu, this might be helpful.

Executing a command as another user

Now the command to run commands as another user is simply:

su [user] -c [command]

but I couldn't get that to work for me, atleast until I installed the following package:

sudo apt-get install dbus-x11