There seemed to be a missing symlink to the nvidia-polkit python file:
1. cd /usr/share/screen-resolution-extra && ls
2. sudo ln -s nvidia-polkit.py nvidia-polkit
3. sudo chmod +x nvidia-polkit
Also, ensure that the system is using python 3:
4. sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100
5. sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150
6. sudo update-alternatives --display python
I can confirm that after I ran 1-6, then ran $ nvidia-settings, I was able to successfully save my X-config file, and then reboot, with the settings loading automatically during reboot.
Note that updating the default python version may break things that assume `which python` == `which python2` (e.g. terminator)
The instructions here solved my problem: https:/ /www.programmer sought. com/article/ 45694457131/
There seemed to be a missing symlink to the nvidia-polkit python file: screen- resolution- extra && ls
1. cd /usr/share/
2. sudo ln -s nvidia-polkit.py nvidia-polkit
3. sudo chmod +x nvidia-polkit
Also, ensure that the system is using python 3:
4. sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100
5. sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150
6. sudo update-alternatives --display python
I can confirm that after I ran 1-6, then ran $ nvidia-settings, I was able to successfully save my X-config file, and then reboot, with the settings loading automatically during reboot.
Note that updating the default python version may break things that assume `which python` == `which python2` (e.g. terminator)