Fix Discord App Black Screen Crash Virtualbox

Windows, Linux (Ubuntu, Mint, Debian etc…), MacOS may be affected by this issue if you are using running a guest operating system and trying to use Discord.

In order to resolve this issue follow these simple steps.

  1. First shutdown your Virtualbox guest instance.
  2. Next go to select you Virtualbox and click the Settings icons in toolbar.
  3. Go to Display panel and uncheck ‘Enable 3D Acceleration’
  4. Click OK to save the settings

Now restart your Virtualbox guest instance and try startup Discord again.

Note: As this entry is being created the latest version of Discord is 0.0.5 for Linux.

 

Credits:

https://www.reddit.com/r/discordapp/comments/567z0n/tiny7_issues_with_discord_in_virtualbox/

 

The proper way to install virtualbox on Ubuntu Linux

 sudo apt-get install -y dkms linux-headers-generic

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add –

For Ubuntu 14.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 13.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian saucy contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 13.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian raring contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 12.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian quantal contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 12.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 11.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian oneiric contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 11.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian natty contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Once you added the repo using the above command, Update your repository.

sudo apt-get update && sudo apt-get install -y virtualbox-4.3

http://www.howopensource.com/2013/04/install-virtualbox-ubuntu-ppa/

How to shrink or compact VirtualBox .vdi images

This works for Windows 

 

You have to do the following steps:

  1. run defrag in the guest (Windows)
  2. nullify free space:

    With Linux guest run this:

    sudo dd if=/dev/zero of=/bigemptyfile bs=4096k sudo rm -rf /bigemptyfile 

    With Windows guest, download SysinternalsSuite and run this:

    sdelete –z 
  3. shutdown the guest VM

  4. now run VBoxManage’s compact command

    VBoxManage.exe modifyhd thedisk.vdi --compact 

This reduces the size.

 

This works for Mac OS X

Open Terminal

Enter the following command:

 

VBoxManage modifyhd -compact “/Users/user1/VirtualBox VMs/Windows 7/Windows 7.vdi”

 

References

http://superuser.com/questions/529149/how-to-compact-virtualboxs-vdi-file-size