This is the first day of my participation in Gwen Challenge
Install Debian10 with win10 and find the default resolution is not enough.Copy the code
Win10 怎 么 set the desktop resolution and zoom ratio? , but felt that it was too complicated to operate, and some needed to open enhanced dialogue, which was not suitable for my host situation. At this time, I remembered that Ubuntu is based on Debian, with hyper_V installed Debian is not much, but Ubuntu is estimated to be a lot, so I searched how to change the resolution of Ubuntu. The steps are as follows:
- Use an editing tool such as vi to open the /etc/default/grub file as user root.
- Find the line GRUB_CMDLINE_LINUX_DEFAULT and add video=hyperv_fb:[resolution number] at the end.
-
After the modification, run sudoupdate-grub.
-
Reboot the machine reboot
-
After the restart, you can see that the resolution has been changed to the desired size.
Note that some people on the Web say that Linux can only support resolution up to 1920×1080. For larger resolution, RDP, VNC and other methods can be considered.Copy the code
Conclusion: The operation of changing the resolution itself is very basic and there is nothing to learn, but in the process of finding the answer, without finding the desired result, we can think of migrating the situation of Ubuntu to Debian and find a new way to find a solution is the focus of this time. However, of course, Ubuntu and Debian10 are quite different, and this time it is only in this small area of system configuration that they agree.
WSL is still very good, using hyper_V can be converted to WSL, plus VSCODE remote connection, but also direct file movement operation, compared to using virtual machine software like Hyper_V really much better!Copy the code