Ubuntu 16.04 KVM + QXL Guest - Can't change resolutionReinstall package and its installed dependenciesKVM guest disk performanceUbuntu KVM Guest DNS problemsWhy can't I see a QXL device in my windows 10 kvm guestCreate a 16.04 KVM guest on 14.04Ubuntu 16.04 External monitor slow to turn on after suspendWhy does xrandr give me errors if I try and use commands on my computer, but not if I ssh into it?Installing Ubuntu 16.04 on MSI GE72MVR, system freezes when I restartEnabling multiple screens on KVM/spice Ubuntu guestKVM guest poor graphic performancesCan't start KVM guest

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Why the "ls" command is showing the permissions of files in a FAT32 partition?

How do I prevent inappropriate ads from appearing in my game?

Deciphering cause of death?

Sigmoid with a slope but no asymptotes?

Air travel with refrigerated insulin

Echo with obfuscation

Did I make a mistake by ccing email to boss to others?

Does Doodling or Improvising on the Piano Have Any Benefits?

How to reduce predictors the right way for a logistic regression model

Proving an identity involving cross products and coplanar vectors

Showing mass murder in a kid's book

What (the heck) is a Super Worm Equinox Moon?

Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

The Digit Triangles

Why Shazam when there is already Superman?

Is it feasible to let a newcomer play the "Gandalf"-like figure I created for my campaign?

How to make money from a browser who sees 5 seconds into the future of any web page?

Why do Radio Buttons not fill the entire outer circle?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

What does "tick" mean in this sentence?

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

Usage of an old photo with expired copyright



Ubuntu 16.04 KVM + QXL Guest - Can't change resolution


Reinstall package and its installed dependenciesKVM guest disk performanceUbuntu KVM Guest DNS problemsWhy can't I see a QXL device in my windows 10 kvm guestCreate a 16.04 KVM guest on 14.04Ubuntu 16.04 External monitor slow to turn on after suspendWhy does xrandr give me errors if I try and use commands on my computer, but not if I ssh into it?Installing Ubuntu 16.04 on MSI GE72MVR, system freezes when I restartEnabling multiple screens on KVM/spice Ubuntu guestKVM guest poor graphic performancesCan't start KVM guest













1















Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.



After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.



spice-vdagent and the xorg QXL driver are installed on the guest.



(edit: added additional info)



This allowed me to change the resolution, but is not persistent across reboots:



xrandr -s 1680x1050









share|improve this question
















bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    1















    Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.



    After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.



    spice-vdagent and the xorg QXL driver are installed on the guest.



    (edit: added additional info)



    This allowed me to change the resolution, but is not persistent across reboots:



    xrandr -s 1680x1050









    share|improve this question
















    bumped to the homepage by Community 14 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1


      3






      Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.



      After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.



      spice-vdagent and the xorg QXL driver are installed on the guest.



      (edit: added additional info)



      This allowed me to change the resolution, but is not persistent across reboots:



      xrandr -s 1680x1050









      share|improve this question
















      Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.



      After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.



      spice-vdagent and the xorg QXL driver are installed on the guest.



      (edit: added additional info)



      This allowed me to change the resolution, but is not persistent across reboots:



      xrandr -s 1680x1050






      16.04 kvm spice






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 18 '18 at 15:30







      lrussell123

















      asked Jan 10 '18 at 19:03









      lrussell123lrussell123

      43211




      43211





      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.



          1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)



          2) Updated ~/.config/monitors.xml with:



          <monitors version="1">
          <configuration>
          <clone>no</clone>
          <output name="Virtual-0">
          <vendor>unknown</vendor>
          <product>unknown</product>
          <serial>unknown</serial>
          <width>1440</width>
          <height>900</height>
          <rate>59.990913391113281</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
          <presentation>no</presentation>
          <underscanning>no</underscanning>
          </output>
          </configuration>
          <configuration>
          <clone>no</clone>
          <output name="Virtual-0">
          <vendor>???</vendor>
          <product>0x0000</product>
          <serial>0x00000000</serial>
          <width>1440</width>
          <height>900</height>
          <rate>60</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
          <presentation>no</presentation>
          <underscanning>no</underscanning>
          </output>
          </configuration>
          </monitors>


          3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"



          4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:



          sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y


          Hope this helps!






          share|improve this answer























          • Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

            – lrussell123
            Jan 18 '18 at 14:51


















          -1














          The problem is in a new HWE kernel in ubuntu 16.04 (4.13).



          As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.



          sudo apt-get install linux-generic-lts-xenial
          sudo apt-get purge linux-image-4.13*





          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f994449%2fubuntu-16-04-kvm-qxl-guest-cant-change-resolution%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.



            1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)



            2) Updated ~/.config/monitors.xml with:



            <monitors version="1">
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>unknown</vendor>
            <product>unknown</product>
            <serial>unknown</serial>
            <width>1440</width>
            <height>900</height>
            <rate>59.990913391113281</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>???</vendor>
            <product>0x0000</product>
            <serial>0x00000000</serial>
            <width>1440</width>
            <height>900</height>
            <rate>60</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            </monitors>


            3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"



            4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:



            sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y


            Hope this helps!






            share|improve this answer























            • Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

              – lrussell123
              Jan 18 '18 at 14:51















            0














            I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.



            1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)



            2) Updated ~/.config/monitors.xml with:



            <monitors version="1">
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>unknown</vendor>
            <product>unknown</product>
            <serial>unknown</serial>
            <width>1440</width>
            <height>900</height>
            <rate>59.990913391113281</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>???</vendor>
            <product>0x0000</product>
            <serial>0x00000000</serial>
            <width>1440</width>
            <height>900</height>
            <rate>60</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            </monitors>


            3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"



            4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:



            sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y


            Hope this helps!






            share|improve this answer























            • Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

              – lrussell123
              Jan 18 '18 at 14:51













            0












            0








            0







            I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.



            1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)



            2) Updated ~/.config/monitors.xml with:



            <monitors version="1">
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>unknown</vendor>
            <product>unknown</product>
            <serial>unknown</serial>
            <width>1440</width>
            <height>900</height>
            <rate>59.990913391113281</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>???</vendor>
            <product>0x0000</product>
            <serial>0x00000000</serial>
            <width>1440</width>
            <height>900</height>
            <rate>60</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            </monitors>


            3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"



            4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:



            sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y


            Hope this helps!






            share|improve this answer













            I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.



            1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)



            2) Updated ~/.config/monitors.xml with:



            <monitors version="1">
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>unknown</vendor>
            <product>unknown</product>
            <serial>unknown</serial>
            <width>1440</width>
            <height>900</height>
            <rate>59.990913391113281</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            <configuration>
            <clone>no</clone>
            <output name="Virtual-0">
            <vendor>???</vendor>
            <product>0x0000</product>
            <serial>0x00000000</serial>
            <width>1440</width>
            <height>900</height>
            <rate>60</rate>
            <x>0</x>
            <y>0</y>
            <rotation>normal</rotation>
            <reflect_x>no</reflect_x>
            <reflect_y>no</reflect_y>
            <primary>yes</primary>
            <presentation>no</presentation>
            <underscanning>no</underscanning>
            </output>
            </configuration>
            </monitors>


            3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"



            4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:



            sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y


            Hope this helps!







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 17 '18 at 17:19









            deesodeeso

            1




            1












            • Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

              – lrussell123
              Jan 18 '18 at 14:51

















            • Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

              – lrussell123
              Jan 18 '18 at 14:51
















            Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

            – lrussell123
            Jan 18 '18 at 14:51





            Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.

            – lrussell123
            Jan 18 '18 at 14:51













            -1














            The problem is in a new HWE kernel in ubuntu 16.04 (4.13).



            As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.



            sudo apt-get install linux-generic-lts-xenial
            sudo apt-get purge linux-image-4.13*





            share|improve this answer



























              -1














              The problem is in a new HWE kernel in ubuntu 16.04 (4.13).



              As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.



              sudo apt-get install linux-generic-lts-xenial
              sudo apt-get purge linux-image-4.13*





              share|improve this answer

























                -1












                -1








                -1







                The problem is in a new HWE kernel in ubuntu 16.04 (4.13).



                As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.



                sudo apt-get install linux-generic-lts-xenial
                sudo apt-get purge linux-image-4.13*





                share|improve this answer













                The problem is in a new HWE kernel in ubuntu 16.04 (4.13).



                As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.



                sudo apt-get install linux-generic-lts-xenial
                sudo apt-get purge linux-image-4.13*






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 3 '18 at 3:49









                An AnAn An

                1




                1



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f994449%2fubuntu-16-04-kvm-qxl-guest-cant-change-resolution%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»