Bug 103691 - Can't change the screen resolution from other terminal
Summary: Can't change the screen resolution from other terminal
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xrandr (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact: Xorg Project Team
Depends on:
Reported: 2017-11-11 23:24 UTC by rmbeer
Modified: 2018-08-10 20:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description rmbeer 2017-11-11 23:24:29 UTC
DISPLAY=:0.0 xrandr -s 1280x800
xrandr --display :0.0 -s 1280x800
xrandr -d :0.0 -s 1280x800

  And other variants can't change the screen resolution from other terminal, always saying this error:

Failed to change the screen configuration!
Comment 1 Daniel Martin 2017-11-20 11:22:40 UTC
The X-Server needs to be active (you have to switch to its Virtual Terminal) to apply such configurations. If you want to do that from another VT, you could use a 'chvt'. i.e.
$ chvt 7; sleep 3; xrandr ...
(If 7 is the VT your X-Server runs on, the sleep might not be necessary.)
Comment 2 GitLab Migration User 2018-08-10 20:34:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/34.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.