Resolution on a unknokn monitor - error X Error of failed request: BadMatch (invalid parameter attributes)

Petter Adsen petter at synth.no
Tue Apr 14 07:08:46 UTC 2015


On Tue, 14 Apr 2015 05:39:08 +0000 (UTC)
Victor Sterpu <victor at caido.ro> wrote:

> I tried to force the addition of the new mode on the right
> dispay(VGA-0) like this: root at TIV:/home/victor# xrandr --display
> VGA-0 --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080
> 1081 1084 1118 -HSync +Vsync 
> 
> But I can't, the error is "Can't open display VGA-0". 
> 
> 
> 
> ----- Original Message -----

<snip a lot of lines>

If you take a look at the man page for xrandr, it says:

       -d, --display name
              This option selects the X display to use. Note  this
	       refers  to the X screen abstraction, not the monitor (or
	       output).

Note the last part. What you want is probably "--output":

       --output output
              Selects  an  output  to  reconfigure. Use either the name
	       of the output or the XID.

And please trim your posts when you follow-up, they get very long when
you don't.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150414/4b993ce7/attachment.sig>


More information about the ubuntu-users mailing list