Screen capture in Ubuntu running in VirtualBox

December 3, 2011

Screen capture was not working in a new install of Ubuntu in VirtualBox. The attempts would result in an image of the desktop background. Weird.

Since the default app didn’t work, I installed various other ones. None worked. Finally I installed Gimp. Even that didn’t work.

I think that ruled out an application issue. Left was Ubuntu, Unity desktop, hardware, VirtualBox, or me. Certainly not I.

It was the 3D setting on the virtual machine! Doh! I thought the check box was a request; if the system has no 3D support it would just not use that setting.

Environment
VirtualBox: 4.1.6
Ubuntu: 11.10
Host: Windows 7 64bit

Off topic, but what a great rant! “Why I’ve finally had it with my Linux server and I’m moving back to Windows.” I know the feeling. I had Linux running on an old laptop. Then I tried to upgrade the distro. The laptop stopped working. Now nothing installs, Windoze, other Linux distros, nada. Boot sector issues or firmwear issues. I don’t know. One day I’ll buy an enclosure and try to reuse the laptop harddrive as an external USB backup.

References

 


Bassnectar – Pleasure the Bassnympho


Amy Winehouse – All my lovin’ (The Beatle’s cover)


Network access to VirtualBox VM?

November 25, 2011

How I set up a new VirtualBox VM running Ubuntu that could be reached from the local network.

I first used the Bridged Network setup, which did not work. This is on VirtualBox 4.1.4. I have other VB vms where the Bridged Networking does work. hmm.

On this VM I changed networking to:
- NAT. Network Address Translation.
- Defined a Port Forward rule (via Virtual Box GUI). Ports on hosting PC get mapped to the VM guest. For example, 22.
- Made sure the Windows 7 Firewall allowed the external port.
- Defined a port forwarding at my network provider.
- Defined a port forward at my local router.

At least, that is what I think I did. In the turmoil of getting things to work, research what others tried, and then success, it is hard to get the actual process just right.

Saved, then waited; takes a while for everything to percolate through the network. Opened the URL and voila, I have access!

That was not easy! Where is that button?

Further reading

  1. VirtualBox Bridged Network Port Forwarding Issue


Bill Evans Trio – Waltz for Debby [Take 2]


VirtualBox 4.1.4 on Windows 7 with Ubuntu guest

October 3, 2011

Installing over older version was not that hard this time.

First I created snapshots of each VM in my VirtualBox. Next create a restore point for Windows 7, just in case VB destroys stuff.

Then I downloaded and installed the new VirtualBox 4.1.4. It locked up. Went thru some stuff, showed a full taskbar but nothing. No exceptions or suspicious threads in Windows’s Proc Explorer. Install wouldn’t cancel either, had to kill it. Retried but it said there is another install going on. Did not see one in task list.

I rebooted Windows PC. Tried to start the existing Ubuntu VM, but it failed, one of the virtual network drivers is hosed. Shucks. Hmmm. Maybe VirtualBox will install again? This time I right clicked on the downloaded file and choose “Run As Admin”. It installed!

No 3D Unity interface. Guest Additions not updated. Clicked on device menu and install Guest Additions, nada!. I keep forgetting you have to install it manually for a Linux guest. For this I followed the VirtualBox user manual.

First do the steps in 4.2.2.1.1. I ran those using sudo. Second, follow steps in 4.2.2.1. Again using sudo. Shut down VM. In the VirtualBox gui, change the Ubuntu display to 3D. Start Ubuntu VM.

Success, I have the Unity interface again.

Updates

  • On this system I updated to Ubuntu 11.10 (codenamed Oneiric Ocelot). Works fine.

Environment
VirtualBox 4.1.4.
Host: Windows 7 Professional 64bit.
Guest: Ubuntu 11.10 codenamed “Oneiric Ocelot”, Unity desktop.
PC: AMD quad with 8GB ram.
Brain: of carbon-based life form, Earth, Homo sapiens sapiens.


Han Solo and The Princess (Love Theme) from “Empire Jazz”


Rhythmbox on Ubuntu 10.04 won’t play mp3 on NAS

June 5, 2010

Ah the complexity of computing, no wonder most people only just play games on FaceBook.

Below I describe a problem playing MP3s on a network resource.  I don’t have a solution yet.  And have not at this time (4/24/2010) investigated further.

I installed Ubuntu 10.04 LTS Lucid Lynx in VirtualBox 3.2.2 hosted on Windows 7 Professional 64bit. Rythmbox (the default music software) ver 0.12.8 will play mp3 on the VM’s local file system. However, it won’t play mp3s that are stored on my Networked Attached Storage (NAS), an ancient ReadyNAS (now NetGear) X6 model.

Some observations:

  • If I copy an mp3 from the NAS to the file system, it plays.
  • I can play the same mp3 on the NAS using the Totem Movie Player 2.30.2.

What it could be?

  • Not an access control, since the movie player can play them.
  • Rythmbox has the correct plug-ins, since it can play mp3.
  • It is buggy or some subtle configuration is incorrect when accessing mp3 via network?

Some links
Re: Ubuntu 10.04 – Rhythmbox not working: http://ubuntuforums.org/showthread.php?p=9311110


Follow

Get every new post delivered to your Inbox.