Skip to content

Instantly share code, notes, and snippets.

@kurtis318
Last active December 31, 2019 17:43
Show Gist options
  • Save kurtis318/9c00a93e3819c561a7f345d652c37460 to your computer and use it in GitHub Desktop.
Save kurtis318/9c00a93e3819c561a7f345d652c37460 to your computer and use it in GitHub Desktop.
Miscellaneous Linux tips and commands

Fix display not found when running commands under sudo

The following command MUST be run as a normal user to allow the user root to open/use the X11 server.

xhost +si:localuser:root

Then the following command will work:

sudo zenmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment