Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have Virtualbox 4.3.12 installed on Windows 8. I have installed XUbuntu 14.04 as guest OS under Virtualbox. It runs fine. However, I faced some issues:

  1. How to share files between the host and guest OS?

  2. Te display size of XUbuntu under Virtualbox is very small. There is a lot of blank space around Xubuntu desktop in Virtualbox. Even in Virtualbox full screen mode it is the same, the size of XUbuntu desktop does not increase any more, but there is lot of black space around it. Scaling mode of Virtualbox is slightly bigger but the text is long in width and not crisp and I don't like that. Snapshots below. How to make the Xubuntu desktop fullscreen?

enter image description here

Scaled mode enter image description here

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You have to install Guest Additions.

For that to work, in your guest OS install:

sudo apt-get install dkms build-essential kernel-devel kernel-headers gcc

Now mount the Guest Additions CD, cd to the mount path and run sudo ./VBoxLinuxAdditions.run (not exactly sure this is the file name)

If no errors appeared on the terminal window, all you have to do is restart your virtual machine and the resolution will be automatically set depending on the VirtuaBox window size.

To mount shared folders do:

sudo mkdir /media/<folder_name>
sudo mount -t vboxsf SHARENAME /media/<folder_name>
share|improve this answer
    
in the second mount command what is SHARENAME (I guess I have to share a windows folder which i need, so is SHARENAME name of that share i give?) –  goldenmean Jun 21 at 21:42

Files/folder copying between Windows-8 and XUbuntu OS

If you are talking about drag and drop, then that's been broken for a very long time. The brokeness predates Windows 8. See, for example, Google: virtualbox drag drop broke.

Cornelius's suggestion of a shared folder might be helpful. I've never used it though. I expect Drag and Drop to work (so I use VMWare, where the feature does work).

The display size of the XUbutu under Virtual box window is very small

On XUbutu, open Settings → Displays and change the resolution to suit your taste. The display will automatically resize.

You can also change the VM's screen resolution to a custom size. See 9.8. Advanced display configuration in the Virtual Box docs:

VBoxManage setextradata "VM name" "CustomVideoMode1" "1360x768x32"

The first wo numbers - 1360x768 - are monitor resolution. The last number - 32 - is color depth.

The command will write the information to the VM's XML file:

<ExtraDataItem name="CustomVideoMode1" value="1360x768x32"/>
share|improve this answer
    
Tried Settings-->Display inside XUbuntu : but there it did not allow to change resolution setting from the current 640x480. Any further pointers? –  goldenmean Jun 21 at 19:30
    
@goldenmean - Additional information has been added on CustomVideoMode. –  jww Jun 22 at 1:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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