0

i tried the solution given on redhat but still resolution is not changing when login, however i changed my VM scaling setting from VMware settings and uncheck it, now it's getting resolution from the host that is 3840x2160

it's okay to me but i want to change the change scale from 100% or 1 to 200% or 2

.config/monitors.xml has proper scaling set but it is not loading at the start

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>2</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>Virtual-1</connector>
          <vendor>unknown</vendor>
          <product>unknown</product>
          <serial>unknown</serial>
        </monitorspec>
        <mode>
          <width>3840</width>
          <height>2160</height>
          <rate>60.000499725341797</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

i copied this file to /var/lib/gdm/.config/ as described in the redhat's solution but not working,

tried to run xrandr command but that's also unsuccessful

  $ xrandr --output XWAYLAND0 --mode 3840x2160 --scale 2x2
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  139 (RANDR)
      Minor opcode of failed request:  7 (RRSetScreenSize)
      Value in failed request:  0x0
      Serial number of failed request:  21
      Current serial number in output stream:  23

   $ xrandr -q
    Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
    XWAYLAND0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       3840x2160     59.98*+

if run the command with sudo then i get different error

  $ sudo xrandr --output XWAYLAND0 --mode 3840x2160 --scale 2x2
    No protocol specified
    Can't open display :0

can anyone guide me how can i permanently change the resolution to 3840x2160 and scale size to 200% on RHEL 8.3 Workstation

uname -r
4.18.0-240.15.1.el8_3.x86_64

also confirm where can i learn about gdm and other graphic managers

thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.