Notes on Living in a VirtualBox

Some notes of my experience of moving to Linux in VirtualBox as a way of using the OS of my choice at work. (Where by "my choice" I mean "anything but Windows").

Outlook Web Access

If we hadn't have just started rolling out Exchange 2010 there is no way I could have switched. Exchange 2010 finally brings a decent web client and you miss out on very little that only Outlook on the desktop can do (Using vote buttons in emails and proposing new meeting times are the only two I can think of). However, the really annoying thing is, that for no reason whatsoever, it doesn't support Chrome on Linux. You have to resort to spoofing your user-agent, but in Chrome this seems to affect all instances of the browser - you can't do it on a per tab/window basis.

So on Fedora, I copied the default Chrome desktop shortcut from /usr/local/share/applications/google-chrome.desktop to ~/.local/share/applications/, but gave it a different name. Then within that file added in the --user-agent parameter as mentioned in the link above. This way I get two different Chromes showing up in the list of applications so I can pick the right one depending on whether I'm at work or home.

I have an inkling, though, that spoofing as OSX (well, it wasn't going to be Windows was it?) mucks up the ability to join WebEx meetings via Chrome; Firefox works fine.

VirtualBox

  • I had a lot of trouble getting Unity and Gnome 3 working properly to start with. I )hink a big part of the problem was the very out of date drivers in the host (Windows) and then really have to give it some welly for video and system memory.
  • Multiple monitor support in VirtualBox: Either my host just doens't have what it takes, or VirtualBox isn't good enough yet. I.e. I could not get dual monitors working that well - I've just given up and gone back to one.
  • Related to this, I found an odd thing whilst toying with the idea of just having VirtualBox running on one of my host's monitors (keeping the other for Windows). Performance on the main monitor of the host was way better than if I move VirtualBox to the secondary monitor.
  • You can't get screenshots in VirtualBox if you are using 3D acceleration (which you need to to get Gnome3 and Unity).
  • I was getting slow network performance using NAT on a wired connection in the office. Using a bridged network adaptor is better - this works fine on wired connection in office. And on wireless I don't really notice a difference between NAT or bridged.

Ubuntu

I tried Ubuntu first as that was the obvious choice, especially for compatibility and available applications, etc. However, I had a lot of trouble with Unity and kept losing the interface. Even trying those tricks I still got the odd graphical glitch in Unity; mostly the Finder, sorry Nautilus, appearing with the "Win 95" look. Restarting this would do the trick.

For what it is worth (not a lot) I actully like the Unity interface. And a left hand dock is the most sensible position anyway.

  • Things I didn't do after installing Ubuntu (but look like a good idea).
  • I got this error a lot from apt-get update: “E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)”
  • Even installing Chrome just didn't seem to work well or easily.

Lastpass and Sesame

I had an issue not being able to execute Sesame (from Lastpass) on a USB drive. To be fair, Fedora has the same problem, so by that point I just disabled Sesame for my Linux installs.

Fedora

Since Unity was not sticking for me I thought I'd have a look at Gnome 3. I prefer the overall look of Gnome 3; although I think I prefer the global menus of Unity (since I've used Macs for a long time) - I say think, because it's not bothering me as much as it used to. I think I read somewhere that OSX (and 9 before it) is * centric so it works, there, where as Linux is traditionally ? centric so individual menus make more sense. ke unity does (way better in my opinion)

  • At least as far as VirtualBox goes, it seems Fedora + Gnome 3 really does need a 1GB of RAM to ensure you consistently get the Gnome 3 interface.
  • As far as Unity vs Gnome goes, Unity does per application expose better. And running apps. (As dock in gnome 3 is a luncher as well, not just running apps)
  • Gnome 3 does installaions better. Stuff shows up in menu better than unity, glitchy..
  • it is friggin big though, but nice.
  • Gnome 3 really quite cool. Don't just have to use mouse corner for app switching. There is alt tab. For launching you can do windows key and stat typing and then just press return. Cool. alt tab does multiple windows within apps as well, get a little drop down. really nice

Yum / Proxies

I noted this down at the time, but now when I go back and try the normal http_proxy and https_proxy variables do the trick, and there is no need for a variable called "proxy".

Chrome and SELinux

I forgot I had this issue initially, but the Stable channel recently updating to 14 and producing an SELinux error reminded me.

Actually the issue I first had was launching Chrome would cause a critical error in VirtualBox, but then after a few updates somewhere along the line I tried it again and it was ok; apart from Lastpass would cause Chrome to crash (Comment 35 fixed it for me: restorecon -R ~/.config).

As to fixing the new error, it looks like a fix is in progress. However, I had SELinux Troubleshooter configured to alert me and it gives you instructions on how to get Chrome working again. So I just followed them and all seems well.

Flash

Installing Flash, although I found it a bit confusing at first being a newb as the yum install from Adobe is just adding the repos, not Flash itself, so do need to do yum install flash-plugin afterwards, but none of the other gubins mentioned.

CoffeeScript

I found this harder than getting it working on Windows. Was suprised there's no package so no yum install nodejs, has to be done from source.

Ruby

Had lots of fun and games getting Ruby installed via rvm. In hindsight, probably my problem not reading the instructions properly (not having all the development tools installed):

  1. Had a "zlib" issue
  2. Got a "No Ruby headers" error.
  3. Then got some kind of gobject-2.0 issue
  4. Then was missing atk-devel.

However, with Ruby 1.8.7 there is a RVM/Fedora specific issue, and Ruby needs patching.

Harder than I thought it would be on Linux. Makes me appreciate how much hard work the RubyInstaller folk have put in to make Windows installation so seamless.

Green Shoes

The Ubuntu installation instructions refer to libgtk-dev, the equivalent on Fedora is gtk2-devel

Gwibber / Proxies

Gwibber doesn't work behind a proxy

WebEx Meetings

OpenJDK is a no-go with WebEx, have to use the Sun Java.

IBM iSeries for as400

Need to install XFS Font Server (My notes on my Pinboard bookmark page for IBM's instructions for installing in an older version of Fedora). Also this.

Mouse scrolling stops / Only works horizontally

If you hold down the alt key before scrolling it will switch from vertical to horizontal scrolling. However, by some magical combination of the ALT key and scrolling (that I can't repeat) I accidentally switched this permanently and so it appeared that scrolling (vertically) had suddenly broken and stopped working. If this happens, pressing the ALT key (or SHIFT and ALT whilst or before scrolling) should get things back to normal.

Arch Linux

I made the switch from Fedora to Arch Linux. So most of the above is very out of date. Most of my actual Arch Notes seem to have ended up on Pinboard.


atomicules

Report abuse