Tutorials/Tips, Ubuntu

Solutions for low screen resolution in Ubuntu 14.04/14.10 and VirtualBox

This article was originally posted on the forum.

On my test installations of Ubuntu 14.04 in VirtualBox, I had to figure out how to deal with a situation where the highest screen resolution I could get was 640 x 480. And it was not just with Ubuntu 14.04, but also with Kubuntu 14.04.

UPDATE: This also applies to Ubuntu 14.10.

This image shows the output of the xrandx command.
Output of xrandx Ubuntu 14.04

Here’s what it looks like from the Display module of System Settings. That’s not good. I found that there are two solutions to the problem.
System Settings Ubuntu 14.04

Related Post:  Dual-boot Ubuntu 16.04 and Windows 10 on a PC with UEFI firmware

1. Use Xdiagnose From the Dash, search for and launch Xdiagnose, then enable all the options under the Debug section. Click the Apply button, then close the window and restart the system. You’ll have to restart. Logging out, then in won’t do.
Xdiagnose Ubuntu 14.10

2. Additional Drivers Also from the Dash, search for and start Software Updates. Click on the Additional Drivers tab, then click on the Using x86 virtualization solution…. Apply the changes, then restart the machine.
Additional Drivers Ubuntu 14.04

Related Post:  How to install Go on Linux Mint 18 18.1 and Ubuntu 16.04 16.10

With either solution, the system should reboot in 1024 x 768 screen resolution. And you should be able to expand the window simply by dragging it. If you run the xrandx command again, the output should be just like the one shown in this image:
xrandx Ubuntu 14.04

LinuxBSDos needs your donation to continue!

I hope this article has saved you valuable time and effort to fix a problem that would have taken more time than is necessary. That makes me happy, and why I love doing this. But because more people than ever are reading articles like this with an adblocker, ad revenues have fallen to a level that's not enough to cover my operating costs. That's why I want to ask you a favor: To make a one-time or recurring donation to support this site and keep it going. It's a small favor, but every one counts. And you can make your donation using Patreon or directly via Paypal. Thank you for whatever donation you're able to make.

Donate via Patreon. Donate via Paypal.

Aside from donation, you may also signup to receive an email once I publish new content. Your email will not be shared or traded to anyone. And you can unsubscribe at any time.

Please share:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


65 Comments

  1. Thank you very much, you save me.

    The first solution work for me.
    And now my resolution change to 1024×768.
    And i run this ubuntu in xenserver.

    Thanks you very much.

  2. You saved me man! Thank you every much.
    I have NVidia GeForce GTX 750, it doesnt like ubuntu or HDMI, from The beginning i had to argue with nomodesplash in order to avoid black screen. And then i discovered The resolution problema, i could use just 480x…..it worked 1240x in recovery….
    In additional drivers xorg caused black screen in regular boot and 1240x in recovery, nVidia 349 gave 1920x in regular. I love you

  3. Guillermo

    Thank you! The xdiagnose did the job but, I don’t have sound now!
    UBUNTU 14.04 mother asus m2n-mx
    Can you help me?

  4. Thanks!!!!!!!!!!!!!

  5. Thanks!!!

  6. Thank you! The xdiagnose did the job! 😀

  7. The second option doesn’t work for me, and if i try the first one I get this screen ater rebooting: http://abload.de/img/ubuntu8yuv3.jpg

    • Same here!!! Did you resolve it?

      • I had this problem too and solved it, but didn’t keep any notes. Can’t recall exactly what I did, but I’ll try and post something about it hopefully tomorrow.

    • have the virtual machine do a Cntrl-alt-delete. Then hit ‘return’. In VirtualBox, it is under the ‘Machine’ menu.

      • Mike… that is some hardcore kung-foo bro. Why did that work? And why does it continue to spaz out everytime I reboot the vm requiring ur nin-jitzu?

      • FYI … for people still scratching their head this does work. You must be logged in tho. So if you reboot the vm into spaztaztic beauty, you should type your password and hit enter. Then you will see an all new spaz, which is your desktop. At that point rt-ctrl+del (on mine, check machine menu for urs), then release those keys and hit enter.

  8. The Xdiagnose option worked as stated for me, the resolution is 1024 x 768. The second option didn’t work for me.
    However, the resolution of the host is still not achieved.

    SOLVED!!! HOST resolution available!

    I have found that the VBoxGuestAdditions.iso came with the virtual box installation: it is in the folder C:\Program Files\Oracle\VirtualBox.
    Steps:
    1. Start the virtual machine with the ubuntu OS.
    2. In ubuntu VM menu at devices I had an option “Insert Guest Additions CD image…”
    Simply select this option and it will require you to install the guest additions.
    3. Restart the virtual machine. Now the host resolution, 1366×768 in my case, is available.

    • Cool! Glad you figured it out. I thought this issue is specific to Linux, didn’t know that it affected Windows too.

    • Confirmed, this solves the problem with Ubuntu 14.04 on VirtualBox running on Windows 7 I can now run my native screen resolution of 1920×1080

      Thank You

    • Confirmed that this worked for me as well on Ubuntu 14.04 on VirtualBox with Windows 7. Thanks!

  9. The Xdiagnose option worked as stated for me, the resolution is 1024 x 768. The second option didn’t work for me.
    However, the resolution of the host is still not achieved.

  10. You made my day!

  11. The second solution doesn’t help but the first xdaigonistic works for me. Thanks for the post!

  12. The Xdiagnose method helped, thanks!

  13. I ended up getting a display with blurred, fragmented boxes of colours. Now what am I supposed to do?

  14. Robert Ritter

    Anyone wonder why Linux will never be a mainstream OS? Can’t even change screen res without an advanced degree from MIT. I’ve been a programmer since before most of those reading this were born and used every OS ever created but still can’t do the simplest things in Linux without a ton of grief. Good luck.

    • Come on, man! give us another reason you don’t like Linux.

      This is clearly a bug in one distribution. But if a bug with this simple a workaround discourages you from using Linux, then I think as a geek you must have lost your mojo.

      • Linux is designed for *smart* programmers, not old ones. This seems like a case of PEBKAC to me! (PEBKAC stands for Problem Exists Between Keyboard and Chair, for those who haven’t heard it before)

        • Robert Ritter

          You are ABSOLUTLY correct. Linus IS designed for smart programmers. 20 years ago you HAD to be a smart programmer to use a computer but in today’s world where almost everyone is using them only a small percentage of users qualify, or need to be, SMART programmers. LINUX is great for the 5% or less of today’s users. but will never be a mainstream OS.

          • I agree Robert. Linux may be really flexible, and open source is great, but Linux in general, and Ubuntu specifically, still has a LOOONNNG way to go.

            When installing a server, sound STILL doesn’t work without days of diagnosing. Video has issues in the desktop too, but I admit, they are getting better at that.

            Unless Ubuntu solves these very basic issues, it will only really work for the “5% of the ‘smart’ programmers.”

            Like you, I started programming when the IBM system 360 was used in the college and we interfaced with it using punched cards.

            I have done a LOT of programming since, and Ubuntu is still a nightmare. To be honest, I don’t have the time or desire to spend days working on issues that the OS designer should have fixed years ago.

            I understand m$oft has unlimited money, and personnel, and free OS’s are limited, but Ubuntu (and others) keep prioritizing new features, not workability.

            Just my 2 cents, admittedly, not worth much.

            Mark.

    • It is true. It is a nice OS but a business isn’t going to pay and employees time to learn a new skill-set. Therefore Linux will never reach the mainstream. I used to push my local government office to go open source and then I tried it myself. Now I understand why the IT guy said it won’t work.

  15. Thank you god 🙂 . It really helped!

Leave a Comment

Your email address will not be published. Required fields are marked *

*