I am using Fedora 21 in Oracle Virtual Box. I am using just tty (no GUI). I need to increase screen resolution, I tried following things but failed:

xrandr but gives me error: cannot open display

I also tried typing video=1024x768 as kernel parameter but no success

also tried cvt 1024 768

2 Answers 2


You have to install guest additions...



Edit /etc/default/grub as
:~$ sudo nano /etc/default/grub

add vga=795 to the line GRUB_CMDLINE_LINUX_DEFAULT, it might look like this:

then update grub
:~$ sudo update-grub

now reboot
:~$ sudo reboot -r now

This method worked for Fedora 21 and Debian 8 in Oracle virtualbox 5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.