Skip to Content

 

Xrandr authorization required. At least this is what I do.

Xrandr authorization required Also check the monitor's cable (and adapters, such as hdmi->dvi), and/or power supply (it should deliver more than 1A). Xauthority Last edited by RicoTux (2011-09-22 18:46:54) xrandr needs to know which display you're talking about, typically via the DISPLAY environment variable; root (which udev runs as) has no default DISPLAY set; even if he/she did, su -c does not preserve the environment by default; So pass it along explicitly to bash, and that should solve your problem, e. At least this is what I do. conf as well). I've also tried substituting " XWAYLAND0 " for "HDMI-1 ", but this also fails with the same " Authorization required " error above. I've tried display number 0 to 10 and only at xrandr --display :0 it returns: Authorization required, but no authorization protocol specified. The resolution or refresh rate might be out of spec for the monitor that's attached and you would need to specify them with xrandr (possibly adding them in xorg. Nov 3, 2024 · See the attached "copy_xauth_jail" sh script, which you can run in $HOME/. : Nov 23, 2023 · On an ssh session to the device, the below commands to turn off and back on the video output also fail: I get the error: Authorization required, but no authorization protocol specified. 04, I get "Can't open display" error. Jun 23, 2022 · ssh <user>@<Ubuntu IP> bash -c 'export DISPLAY=:1; xrandr --auto && xrandr --output HDMI-0 --off' But it doesn't work with 20. Apr 19, 2023 · But after running the command xrandr it returns the Can't open display error. Jul 19, 2011 · I was trying to let Udev run Xrandr by script adding the following solved it for me: export XAUTHORITY=/home/<user>/. Tried DISPLAY=:0 but it didn't help. . xinitrc to copy the X authorization automatically to every jail at X startup. g. pzvn xbmfb mxwwz fbcvj eerhew pzig wvbs xxmtu brqru cscn