Ubuntu 16.04 has only one option after installation, 1024×768. Using the xrandr command has an error:
xrandr: Failed to get size of gamma for output default
You can’t set it using the CVT command, nor can you modify xorg.conf.
Solutions:
打开:/etc/default/grub
搜索:#GRUB_GFXMODE=640x480
编辑:640x480 改成你想要的分辨率,并取消前面的#
例如:GRUB_GFXMODE=1920x1080
更新:sudo update-grub
重启: reboot
If the above method has not been solved, then there is another situation is the video card driver has not been installed, the need to reinstall the video card driver can solve the above problem.
Read More:
- Configure Nvidia graphics card on ubuntu18.04 xrandr Failed to get size of gamma for output default
- Ubuntu 16.04 modify jupyter default path
- Solution to “the grub PC ‘package failed to install into / target / when installing Ubuntu server
- Ubuntu 18.04/ubuntu 16.04 (Ubuntu kylin 18 / 16), the last grub installation failed
- Warning: failed to get default registry endpoint from daemon
- Solution to UBI partman failed with code 141 when installing Ubuntu
- Solution to x service error when installing NVIDIA graphics driver under Ubuntu
- The solution of default boot device missing or boot failed appears on the blue screen of Lenovo xiaoxinchao 7000
- Running Ubuntu 16.04 in VMware to solve the full screen problem
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Failed to download package files error after re installing Ubuntu
- Modify the default file location of the Jupiter notebook
- Problems and solutions of installing Ubuntu 12.04 in win7
- No data: data: get host by name failed in TCP_ Connect() error resolution
- Ubuntu network configuration+Fixing “Failed to bring up eth0” in Ubuntu
- Ubuntu20.04 Installing WslRegisterDistribution failed with error: 0xc03a001a
- Modify grub to solve computer startup error: error 17
- Debian/Ubuntu uses proxy for gpg and apt-key-error resolution: gpg: keyserver receive failed: Connection timed out
- Ubuntu20.04 installing RVM error curl: (7) failed to connect to raw.githubusercontent.com port 443: Operation timed
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key