Terms of Use For FixedByVonnie

By proceeding to access fixedByVonnie.com, you expressly acknowledge, and agree to, all of the following:

fixedByVonnie.com is a personal website and blog owned by Security Plus Pro LLC, which is being presented for informational purposes only. The views on this website are solely those of the website owner (and not those of any employer or of any professional associations affiliated with the website owner).  Any views expressed in this website and any information presented on this website, or in any of its blog entries, should not be relied on for any purpose whatsoever other than as the personal opinions of the website owner.  The website owner expressly disclaims any and all liability for any information presented on this site.  The owner of this website and its blog posts shall not be held liable, and shall be held harmless, for any errors or omissions in any information or representations contained in this website, or in any of its blog entries.  The website owner also expressly disclaims any liability for the current or future availability of any such information. The website owner makes no representations as to the accuracy or completeness of any information on this website or which may be found by following any link on this website. The website owner shall not be held liable for any losses, injuries, damages, claims, or causes of action, from the display or use of any information on this website or in any of its blog entries. If you use the information on this website, or on any of its blog entries, you do so solely at your own risk.

How to setup Xubuntu Linux in VirtualBox - Step by Step - fixedByVonnie

How to setup Xubuntu Linux in VirtualBox – Step by Step

Linux is a great operating system.  But there are more flavors of Linux than colors in a box of crayons.  So how can you really learn Linux if your primary machine is a Windows box?

Today I’m going to show you, step-by-step, how to setup Linux in virtualbox.  There are dozens of variations but we’re going to setup Xubuntu because it’s the easiest version to learn for Window’s users and it has everything all the other versions have.

I’m going to walk you through everything from scratch!

You’ll learn:

  1. How to install Xubuntu in a virtual machine
  2. How to configure your virtual machine to work with Xubuntu
  3. Installing Xubuntu
  4. Logging into Xubuntu
  5. Installing Guest Additions so you can pimp out Xubuntu
  6. Switching up that insipid desktop background

Let’s get started baby!

It’s time to make love to Linux haha.  Whoa… where did that come from?

Start downloading!

Alright, so in order to get going we need two things:

  • Virtualbox
  • Xubuntu Linux ISO

I’m going to show you how to setup a Xubuntu guest OS on a Windows 8.1 Update 1 host OS.  Windows 8.1 will host the Linux virtual machine.

Getting Virtualbox

I suggest having at least 25 GBs of free space.  Having an SSD would also make things faster for you.  Besides that, block out 2 or three hours because the Xubuntu ISO is fairly large and could take a while to download.

First, read my guide on setting up Virtualbox on Windows.  We’ll snag Xubuntu after you do that.

Getting Xubuntu

If Ubuntu and Debian Linux got together and did the nasty, their kid would be Xubuntu.

Debian begat Ubuntu who begat Xubuntu.  THe reason I like Xubuntu over Umbuntu is because the desktop manager is the closest approximates to Windows.  Ubuntu uses Unity but Xubuntu uses the XFCE manager which I find friendlier!

So here’s the deal.  Download the Xubuntu ISO from nearby mirror and get going!

Download Xubuntu

Grab the i386 iso.

Download Xubuntu ISO

Setting up VirtualBox for Xubuntu

Now kick open Virtualbox.  Select the Xubuntu image you created from my Virtualbox tutorial and then press Ctrl + s to view your Settings.

Go down to Storage in the left pane then in the middle pane, click the Empty CD under Controller: IDE.  Hit the mini CD on the right side of the window to browse to your ISO.

Browse to Xubuntu ISO

Installing Xubuntu

Fire up your VM and boot to your shiny new ISO.

Let’s click Install Xubuntu to kick this thing off.

Xubuntu Install

Put a checkmark in Download updates while installing and click Continue.

Download updates while installing

Keep the defaults to format your virtual hard drive for Xubuntu.  Remember, this may be obvious, but I just wanted to clarify that this is the virtual guest hard drive not your real host hard drive.  So it’s 100% safe.

Xubuntu erase and instal


Pick your time zone and keep going!  I’m in New York city so I’ll keep going.

Incidentally, I think it’s funny that the little red dot on the map has me located somewhere in northern Quebec! Hahah,

Select your Time Zone


Make sure you’ve got the correct language set.  This is also a good time to check the keyboard by typing in the test box.Xubuntu language and keyboard settings

Create your username, password and hostname. (computer name)

I intentionally chose a weak password because I plan on hacking this box with Kali Linux a little later.  But I strong suggest you create a strong password.

Create Xubuntu account

Xubuntu starts installing.  Click the little down arrow in the bottom left corner of the installation window to see what’s going on in the background.  I wish the Windows installer had something like this!

Xubuntu is installing right now

Click Restart Now.

Restart Xubuntu

Getting into Xubuntu

Oh what a pretty splash screen!

Now one thing that you’ll immediately notice is that the screen resolution is all out of wack.  It’s way too small but we’ll fix that.

Xubuntu splash screen

Login with the password you created

Xubuntu Login Window

Click the little Xubuntu icon in the upper left corner of the screen and choose Terminal Emulator from the menu.

Open terminal in Xubuntu

We’re going to download and install VirtualBox guest additions. This will automatically fix our screen resolution problem and give us the ability to configure the following things:

  • Allow Xubuntu to access a USB drive plugged into our Host machine.
  • Give Xubuntu access to our physical webcam (if we want)
  • Allow us to copy and paste test between the guest and host OS’s.  Very convenient.
  • Allow us to drag and drop files between the guest and host OS’s.
  • Grant us access to folders stored on our host OS

Installing Guest Additions in Xubuntu

Click the Devices menu in VirtualBox and choose Insert Guest Additions CD image.

Installing Guest Additions in Xubuntu Linux

When you login you should see the CD image in the background.  Open the Terminal Emulator again and run the VBoxLinuxAdditions.run file.

sudo /media/vhudson/VBOXADDITIONS_4.3.26_98988/VBoxLinuxAdditions.run

Your path will look different but you can find it by looking int he location bar of the File Manager.  Click the Xubuntu icon in the top left corner of the screen and type File Manager to open it up.

Installing Guest Additions the right way

Once the installer finishes, restart by:

  • Clicking the blue snail thing in the upper left corner of the Xubuntu screen
  • Choosing the power button in the bottom right edge of the menu
  • Clicking Restart

Restarting Xubuntu

Xubuntu should come back up like a champ.

Problems installing Guest Additions

If you can’t install Guest Additions try doing this:

Revisit the Terminal Emulator and type in the following commands:

sudo apt-get install build-essential module-assistant

And then build the kernel module with:

sudo m-a prepare

Now click the Insert Guest additions CD image option from the Devices menu and execute VBoxLinuxAdditions.run.

I still can’t get Guest Additions to work!

If you still can’t install Guest Additions type this:

sudo apt-get install virtualbox-guest-dkms

Installing Guest Additions in Xubuntu

That should do the trick.

Pimping out Guest Additions in Xubuntu

Once you have guest additions it’s time to have fun with it.

Click Devices in Virtualbox and make sure Shared Clipboard is set to Bidirectional.

Xubuntu Shared Clipboard

Now go back to Devices and make sure you’ve got your Shared Folders setup.  I like to share the Downloads folder on my Host machine so I can quickly get files into Xubuntu.

Shared folders in Xubuntu


Change your desktop background!

Oh one last thing!  Change the background image to something more exciting.  Defaults are boring.

Just right click the desktop and pick Desktop Settings... from the popup.

Xubuntu desktop settings


The Bottom Line

Rejoice my friend!  Be elated!  Sing to the sky!  You now have Xubuntu Linux running on a completely virtual environment.  You’re now in a perfect position to follow my tutorials on learning Linux.  I promise you, if you follow me, I’ll dissipate your fear of Linux.  Just give me a chance.

I believe in you!  You can do this.  Onward.  It’s time to conquer the world.


Connect with Vonnie on Twitter

Posted in Linux Tagged with: , , ,
  • evl

    Thank you very much. Perfect step by step guide

  • Pratyush Sinha


    Thank you very much. This was useful… I am new to linux. Just installed it for the first time.. I am looking to practice linux on my own and then try for a job in Security ( WAF or IPS).. May you please let me know from where should I start.

  • Chris King

    Hey there. Everything worked great however I am getting this error when trying to open my shared folder in xubuntu: “Error opening directory ‘/media/sf_xshare’: Permission denied.” Do I have to do any permissions configuration on my Windows 7 machine?

  • Bekky

    Hello everyone this is a message to everyone that need an hacker….they are many scammers in the net please be careful before u proceed with any of them…if you need a real hacker that can hack
    *IPHONE,IPOD,SAMSUNG,BANK ONLINE ACCESS.contact marbekky0@gmail.com for fast and legit work please check very well before you contact any hacker

  • Alex Schneider

    Unfortunately, I cannot “Insert guest additions” all the time I get information ” Unable to insert optical virtual disk”.
    Even if I force it to install and I click on VBoxLinuxAdditions.run I get information that the document is not UTF 8 Valid. and Invalid bite sequence by conversion input.
    Any commends works properly in my case…..any help ?