I want to use nvidia-settings to set my brigtness when I start an X session, but the file created by this tool (.nvidia-settings-rc) cannot be read, because the display identifier contains hostname of the machine. I get the following error when trying to read the file (using nvidia-settings -V -l):
ERROR: Cannot open display ‘miro2:0’.
miro2 is hostname of my computer. The reason for this is that in the .nvidia-settings-rc file, some lines start with “miro2:0”, while that should only start with “0”. Once the hostname is stripped, the file is fine.
So what I want to know is if this is indeed a bug affecting every user of nvidia-settings, in which case it should be fixed. I only found a few old references on the internet about this problem, I would expect more.
I am using Gentoo Linux and NVIDIA driver version is 304.64
Several references to this problem can be found on the internet from around 2008 or 2010, such as https://bbs.archlinux.org/viewtopic.php?id=46814