ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Set Default Resolution Through GRUB for VM

    IT Discussion
    ubuntu linux grub display resolution vm virtual machine kvm hyper-v xen vmware esxi
    6
    17
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      If you have installed Ubuntu (or likely many other Linux distros) as a VM you may find that it defaults to, and will not let you change, from an extremely small resolution such as 800x600. This can be pretty annoying. There is a pretty simple solution, however.

      First, we need to edit our GRUB configuration:

      sudo vi /etc/default/grub
      

      Find the line that looks like this:

      #GRUB_GFXMODE=
      

      And modify it to something like this (choose a resolution that makes sense for you.)

      GRUB_GFXMODE=1600x900
      

      After doing this, save the changes. Then we have to apply them to the live GRUB system.

      sudo update-grub
      

      Then just reboot and, in theory, your resolution will have changed.

      1 Reply Last reply Reply Quote 7
      • K
        krisleslie
        last edited by

        FOR THE LOVE OF GOD THANK YOU! I didn't know if I was the only one experiencing this!

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @krisleslie
          last edited by

          @krisleslie said in Ubuntu Set Default Resolution Through GRUB for VM:

          FOR THE LOVE OF GOD THANK YOU! I didn't know if I was the only one experiencing this!

          Drives me crazy. I've had this a lot.

          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite
            last edited by

            I remember doing this when using Hyper-V. Is it needed when using virtualbox?

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @black3dynamite
              last edited by

              @black3dynamite said in Ubuntu Set Default Resolution Through GRUB for VM:

              I remember doing this when using Hyper-V. Is it needed when using virtualbox?

              Not sure, Hyper-V and KVM both for sure.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scottalanmiller
                last edited by

                @scottalanmiller said in Ubuntu Set Default Resolution Through GRUB for VM:

                @black3dynamite said in Ubuntu Set Default Resolution Through GRUB for VM:

                I remember doing this when using Hyper-V. Is it needed when using virtualbox?

                Not sure, Hyper-V and KVM both for sure.

                I so rarely care. BUt can be useful at times.

                1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  We are starting to roll out Ubuntu Budgie for customer premises jump boxes. So getting this solid matters now.

                  Jame_sJ A 2 Replies Last reply Reply Quote 0
                  • Jame_sJ
                    Jame_s @scottalanmiller
                    last edited by

                    @scottalanmiller never used budgie - is there any advantage to using that over xfce?

                    black3dynamiteB scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite @Jame_s
                      last edited by

                      @jame_s said in Ubuntu Set Default Resolution Through GRUB for VM:

                      @scottalanmiller never used budgie - is there any advantage to using that over xfce?

                      It looks nice and it's a modern desktop environment.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Jame_s
                        last edited by

                        @jame_s said in Ubuntu Set Default Resolution Through GRUB for VM:

                        @scottalanmiller never used budgie - is there any advantage to using that over xfce?

                        Mind blowing attractiveness 🙂

                        XFCE is fine and we used to use that. Budgie is so much slicker, smoother, and nice to use, though, unless you get heavily modified XFCE like Korora used to do (that's what we used to use.) I feel like Budgie responds better (we aren't CPU and RAM constrained) and definitely for end users who only use it sometimes it is much more friendly and inviting.

                        Jame_sJ 1 Reply Last reply Reply Quote 0
                        • Jame_sJ
                          Jame_s @scottalanmiller
                          last edited by

                          @scottalanmiller installing it on a my test machine, will have a look

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Logging into Budgie makes me happy, lol.

                            Jame_sJ 1 Reply Last reply Reply Quote 0
                            • Jame_sJ
                              Jame_s @scottalanmiller
                              last edited by

                              @scottalanmiller not a fan so far. will keep playing with it, but it hasn't impressed me yet. still, that's the beauty of linux, you have such a wide choice for desktop managers.

                              1 Reply Last reply Reply Quote 1
                              • A
                                Alex Sage @scottalanmiller
                                last edited by

                                @scottalanmiller Ubuntu is a surprising choice for you 😉

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Alex Sage
                                  last edited by

                                  @aaronstuder said in Ubuntu Set Default Resolution Through GRUB for VM:

                                  @scottalanmiller Ubuntu is a surprising choice for you 😉

                                  Runs ScreenConnect.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Ubuntu Set Default Resolution Through GRUB for VM:

                                    @aaronstuder said in Ubuntu Set Default Resolution Through GRUB for VM:

                                    @scottalanmiller Ubuntu is a surprising choice for you 😉

                                    Runs ScreenConnect.

                                    So does Fedora.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @JaredBusch
                                      last edited by

                                      @jaredbusch said in Ubuntu Set Default Resolution Through GRUB for VM:

                                      @scottalanmiller said in Ubuntu Set Default Resolution Through GRUB for VM:

                                      @aaronstuder said in Ubuntu Set Default Resolution Through GRUB for VM:

                                      @scottalanmiller Ubuntu is a surprising choice for you 😉

                                      Runs ScreenConnect.

                                      So does Fedora.

                                      Always fail when I do it, there is some trick to it. Happen to know what's needed so that it doesn't just put hashes on the screen for forever?

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post