Created
December 22, 2017 12:56
-
-
Save pigfrown/13e00d3f3e39526c726dc3275c60c60c to your computer and use it in GitHub Desktop.
Nvidia-settings ubuntu server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nvidia-settings fails on Ubuntu server because it can't init xserver. | |
To remedy this set the DISPLAY and XAUTHORITY variables, and run with sudo. | |
To find the DISPLAY and XAUTHORITY values use "pgrep -a Xorg" | |
e.g. | |
DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 sudo nvidia-settings -q CurrentMetaMode | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment