I am trying to enable a HDMI connection to a monitor connected with a HDMI cable to my Lenovo laptop using the following commands.
> xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1600 x 900, current 1600 x 900, maximum 1600 x 900
default connected primary 1600x900+0+0 0mm x 0mm
1600x900 77.0*
> cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
> xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default
> xrandr --addmode VGA1 1920x1080_60.00
xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "VGA1"
Is there something wrong with the commands? Is there something wrong with xrandr? Maybe I need to install additional packages?