Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6505

Not able to set resolution in AWS ubuntu VM [migrated]

$
0
0

Trying to set 1920x1080 resolution on AWS ubuntu EC2 with GUI enabled but its not working.

Error :-xrandr: Failed to get size of gamma for output default

xrandr: Configure crtc 0 failed

Updated /etc/gdm3/custom.conf to uncomment

WaylandEnable=falsebut still failing

Tried below mentioned commands :-

awsgui@<ip>:~$ xrandr --newmode $(cvt 1920 1080 | grep -Pio 'modeline\K.*' | xargs)xrandr: Failed to get size of gamma for output defaultawsgui@<ip>:~$ xrandr --addmode 'default''1920x1080_60.00'xrandr: Failed to get size of gamma for output defaultawsgui@<ip>:~$ xrandr -qxrandr: Failed to get size of gamma for output defaultScreen 0: minimum 640 x 480, current 1280 x 720, maximum 1920 x 1080default connected primary 1280x720+0+0 0mm x 0mm   1280x720       0.00*    1024x768       0.00     800x600        0.00     640x480        0.00     1280x768       0.00     1920x1080_60.00  59.96  awsgui@<ip>:~$ xrandr --output default --mode 1920x1080_60.00xrandr: Failed to get size of gamma for output defaultxrandr: Configure crtc 0 failedawsgui@<ip>:~$ inxi -GGraphics:  Device-1: Amazon.com driver: N/A  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 23.2.0 driver: X:    loaded: vesa unloaded: fbdev,modesetting dri: swrast gpu: N/A    resolution: 1280x720  API: OpenGL v: 4.5 Mesa 23.2.1-1ubuntu3.1 renderer: llvmpipe (LLVM 15.0.7    256 bits)awsgui@<ip>:~$ xrandr --verbosexrandr: Failed to get size of gamma for output defaultScreen 0: minimum 640 x 480, current 1280 x 720, maximum 1920 x 1080default connected primary 1280x720+0+0 (0x51d) normal (normal) 0mm x 0mm    Identifier: 0x51c    Timestamp:  166059    Subpixel:   unknown    Clones:        CRTC:       0    CRTCs:      0    Transform:  1.000000 0.000000 0.000000                0.000000 1.000000 0.000000                0.000000 0.000000 1.000000               filter:     _MUTTER_PRESENTATION_OUTPUT: 0     non-desktop: 0         supported: 0, 1  1280x720 (0x51d)  0.000MHz *current        h: width  1280 start    0 end    0 total 1280 skew    0 clock   0.00KHz        v: height  720 start    0 end    0 total  720           clock   0.00Hz  1024x768 (0x51e)  0.000MHz        h: width  1024 start    0 end    0 total 1024 skew    0 clock   0.00KHz        v: height  768 start    0 end    0 total  768           clock   0.00Hz  800x600 (0x51f)  0.000MHz        h: width   800 start    0 end    0 total  800 skew    0 clock   0.00KHz        v: height  600 start    0 end    0 total  600           clock   0.00Hz  640x480 (0x520)  0.000MHz        h: width   640 start    0 end    0 total  640 skew    0 clock   0.00KHz        v: height  480 start    0 end    0 total  480           clock   0.00Hz  1280x768 (0x521)  0.000MHz        h: width  1280 start    0 end    0 total 1280 skew    0 clock   0.00KHz        v: height  768 start    0 end    0 total  768           clock   0.00Hz  1920x1080_60.00 (0x52e) 173.000MHz -HSync +VSync        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hzawsgui@<ip>:~$ 

Viewing all articles
Browse latest Browse all 6505


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>