Applies to Ubuntu Based Distributions. This was written in Windows 10 using Virtualbox running Linux Mint Cinnamon Edge.
Open your Terminal and paste the following command, ‘sudo apt-get install virtualbox-guest-dkms’.
Click ‘Enter’ when prompted to install Guest Additions to the Virtual Machine.
Once complete, in Virtual box first go to ‘Settings > Video > Video Memory = 128 MB, Enable 3D acceleration = true’.
Then Install ‘Guest Additions’.
Now in your Virtual Machine create in file in ‘/etc/X11/’ called ‘xorg.conf’ using your test editor.
Paste the following with the screen resolution you require:
Section “Device”
Identifier “Configured Video Device”
EndSection
Section “Monitor”
Identifier “Configured Monitor”
EndSection
Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
SubSection “Display”
Modes “2560×1080”
EndSubSection
EndSection
Save the changes and then restart your virtual machine, it should automatically load your custom resolution.