Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** Problems (for example)
- Unable to open X config file '/etc/X11/xorg.conf' for writing.
- Error executing /usr/share/screen-resolution-extra/nvidia-polkit: Permission denied
- *** Fixit
- sudo chmod u+x /usr/share/screen-resolution-extra/nvidia-polkit
- *** Problems with config files (is empty)
- First step is reinstall Screen Resolution Extra Package | [screen-resolution-extra_0.18.3.tar.gz]
- https://packages.ubuntu.com/noble/screen-resolution-extra
- sudo apt-get install --reinstall screen-resolution-extra
- and second steps is...
- *** Backups
- sudo cp /usr/share/screen-resolution-extra/nvidia-polkit /usr/share/screen-resolution-extra/nvidia-polkit.ORIG
- sudo cp /usr/share/polkit-1/actions/com.ubuntu.screen-resolution-extra.policy /usr/share/polkit-1/actions/com.ubuntu.screen-resolution-extra.policy.ORIG
- *** Download and copy the files
- wget -O nvidia-polkit https://pastebin.com/raw/M80a5MU1 ; sudo cp nvidia-polkit /usr/share/screen-resolution-extra/nvidia-polkit
- wget -O com.ubuntu.screen-resolution-extra.policy https://pastebin.com/raw/f6Kk6qZ3 ; sudo cp com.ubuntu.screen-resolution-extra.policy /usr/share/polkit-1/actions/com.ubuntu.screen-resolution-extra.policy
- *** PolicyKit | restart service (or restart the Linux)
- sudo systemctl restart polkit
- *** Nvidia Setting | start / use
- pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY nvidia-settings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement