Gnome 3 in Debian Jessie Using VMWare Workstation 9 With No Fallback Mode

First the “TL:DR” executive summary:  Get Debian Jessie to install to VMWare Workstation 9.0 to have Gnome 3 run in full graphics mode and not gnome-fallback mode.

Instructions to make it work like I did in a cookbook and a narrative follows the instructions after the jump break:

To install

First Boot

  • Go into VM Settings.  Make sure that the CD/DVD virtual Device is connected to the Debian Jessie ISO file.
  • Start Synaptic and install gnome-core
  • Mark upgrades and apply
  • I got a window asking Configuring GDM3 – Default display manager: GDM3, just because I could.  This enables Gnome 3.0 as your default display manager where lightdm is xfce.  Since you specifically wanted a clean gnome 3.0, this is how to enable it.
  • It will run dpkg and install a lot of stuff.
  • Close Synaptic and reboot

Second Boot: Logged in, and ticked the session for gnome, gnome 3.0 is active without fallback.

To install the VMWare Tools

My VM had problems seeing the vmware tools. 

  • In VMWare Workstation, click VM, Install VMWare Tools
  • Having clicked on help, I typed mount /dev/cdrom /mnt/cdrom in terminal and got an error, then magically the iso automounted.  I. Just. Don’t. Know.  Linux magic.  Trust me on this one, I was frustrated waiting for it to decide to find the blasted VMWare Tools ISO myself.
  • Extract the files with full path to somewhere useful like your home directory.
  • In root terminal, run from the directory you just created and take the defaults.
  • The VM will hunt all printers available to the host machine and tell you that Printer Added a number of times.

At this point you should be up and running with Gnome 3.0 in Full Graphics Mode.  
You can manually tell Gnome to flip back and forth between Full Graphics and Fallback with a command shown at this link.
You will now have the ability to arbitrarily resize the windows.
You will probably need to go into dconf to configure the way your linux works.  There are a lot of tweaks you can do in there.

Personally I prefer xfce for its speed and lack of clutter, but that’s just me.

Now the admittedly long Narrative. 

This weekend’s task was a rescue.  I have a very good friend in another city who helps me out with some technology problems, and I help where I am able. 

He’s a VMWare Guru Wizard.  My level of knowledge of VMWare is much more modest.  I can get things working eventually, and since it is a robust product, that does not take much effort on my part.  I could probably be a VMWare Admin as long as there was a guru on staff.

He’s learning Linux.  My knowledge of Linux is more of an intermediate to expert level, depending on what specific end of the software you are looking at.  I have (paid) experience with Web Development on LAMP as well as mid level support desk experience with Linux.  LAMP is Linux, Apache Web Server, MySQL for Databases, and PHP for programming and scripting.

All this stuff is free to install in Linux, you could do it in an afternoon on your old Windows XP computer that should be gathering dust in the closet.   It runs on older slower hardware to the point where I had a Debian LAMP install on a Pentium 3 laptop that I just got rid of in 2011 because it simply wore out.

Linux people all have their favorite distributions, Debian Linux is mine.  It Just Works.  It just works on old hardware.  It just works on new hardware as long as the drivers are there for the hardware.  It is “mission critical” industrial strength.  I have given laptops to neighbors who have very little knowledge of Linux or computers in general with Debian Linux installed and they took to it as fast as you did when you got your first Windows computer – or faster!

I would be running Debian Linux as my main computer operating system if I didn’t have to use Microsoft Office and other Microsoft products to maintain my knowledge in everyday, mainline, run of the mill Microsoft environment Business Intelligence Project Management.  But you do have to learn a different way of working, and it does not hold your hands – you could kill a stable system by typing in the wrong flag in an install script and I have.

Ok, all that background aside, here’s the back story of this specific problem.

My friend had decided to attack Debian Linux, which was mostly my doing.  He got it running on his Raspberry Pi and was reasonably happy with it despite it being raw and not completely user friendly.  I kept hammering the point that it works well on a regular computer normally.  That is, if you have hardware that accepts the drivers you need – no weird hardware that there are no drivers for.

So since VMWare emulates an older hardware chipset, it *should* just work. 

It did until he tried Gnome 3.  Gnome 3 ran but came in Fallback Mode.  You know you are in Fallback mode because you get an ugly black box at the top right of your screen yelling at you that your drivers did not work because you don’t have 3D Acceleration drivers enabled. 

This is a known bug within Debian and VMWare communities and this wall of text is how I solved it for myself.

With Windows, you surf your video card’s website, download the latest drivers, and you’re running.

Not that simple with a VMWare install of Debian in this specific case.  Debian is built with a number of theories or ethos. 

Debian Theory One:  It intends to be free of proprietary software – licenses are not allowed other than the GPL.  You can recompile Debian to fit your needs if you have the knowledge.  You can sell a computer with Debian freely.  You can also include proprietary or “non-free” software since it is YOUR computer. 

Debian Theory Two:  It intends to be rock stable.  Never Crash as long as your hardware doesn’t “die”.  If Debian installed, and your hardware matches, you will see actual running uptimes measured in terms of years and not days.  My Windows 7 computers never really go past 3 days without having Firefox crash because of memory leaks.  I did get to 8 days once and it wasn’t pretty.   I have had Debian uptimes over 6 MONTHS and I only restarted it because I clicked the wrong button.

Debian – it’s THAT good.

There are other Linux versions or Distributions or Distros that can be as good, but Debian just clicked with me.

After going through a day of  my friend’s annoyance that Fallback Mode kept coming back no matter what he did, I pushed away from the problem and gave it a day.  It became my weekend project.

The research arc spiraled to one specific program area.  People were looking for guides to enable 3D Acceleration in Debian Guests.  Some solved it others didn’t.   Following the instructions meant doing some additions to the base operating system.  Following those instructions with a “clean room” install from the directly downloaded “Squeeze” install disks didn’t work, I ended up with a broken install where I was staring at a login prompt and a broken graphics window.

The Program that needed upgrading ended up being the server for Xwindows itself – xserver-xorg-video-vmware that had been upgraded to the next version in Jessie.

Squeeze is the stable version, Jessie is the “next” or Testing version.  Testing or Jessie is stable enough for daily use but it is quirky and more cutting edge software.  Not quite bleeding edge, but more raw.

So I downloaded the newest Jessie install disc and installed it.  It came up in Gnome 3 correctly first time.  It ran as we intended after installing all that software at the top of this long article.  There are some configuration quirks, and I may not pursue all that for my own use since I prefer XFCE which is simple and fast, but Gnome 3.0 is behaving.

What’s A Virtual Machine?

Wanting to write about something is one thing.  Wanting to write about something that will be read is another.  Getting too techie is a sure fire sign that you’re writing something that is “TL/DR” – too long/ Didn’t read.

But on the other hand, I was asked “What is a virtual machine anyway?” by someone in a social setting.   It was phrased a bit differently than that but here we go.  Hopefully it won’t be TL/DR.

The idea is that you are looking at this on a browser running on a computer.   Statistics say it’s probably Windows since this is where I get about 2/3 of my readers.  That means it is most likely a PC.

PCs are wonderful things that run something called Software.  Software can make your PC do things like play Solitaire, Surf the Web, listen to music, and make pretty pictures.

What if a piece of software simply “looked like” a computer?

Now you have a computer inside a computer.  

Add an operating system to that computer inside of a computer and now you have a computer running inside a computer that you can actually DO things with.

That’s it.  That simple.

Why would you want to do that?  At home you may have one computer in the house.  This is less likely now, but back in the last 20 years that was the way it was.  A desktop PC sat in a corner with a monitor and it was shared.  What if that desktop PC had a virtual computer for each person on it?  Now your stuff and my stuff would not get mixed up.   If you got a virus, I wouldn’t.  That’s what you get when you surf “Those” websites.

Keeping things simple, there are other ways to use this thing in a home environment.

By now we all have an “Old Computer”.  I know people who are paranoid and don’t want to give those machines away so they end up having a closet full of computers that date back into the 80s.

Since the days of Windows XP, oh so many weeks ago, you could clear that closet up by running a piece of software that would create a virtual computer out of the old computer.  Basically now you have copy of that old computer running in a window on your newer computer.

That is how I get rid of my old machines – make a virtual computer so I don’t lose the software.  Why pay for that software again when you can’t find the install CD and it already works well on that creaky old computer?  After all it’s only 20 GB right?

Companies do this sort of thing all the time.  They create a server that is intended to house all these machines in a closet and “host” them all.  It saves space and a lot of power. 

The down sides are that if that computer is damaged (power spikes will murder a PC), you lose every one of those machines if they weren’t backed up.  Also, you have to have a legal license to that computer.  You can’t just make virtual computers with Windows or Mac OSX for free.  Linux isn’t a problem and I make virtual computers with Linux all the time. 

The way I am currently using virtual machines is like this.

My laptop is running Windows 7.  I have a copy of something called “VMWare Player”.  That will let me create and run virtual machines.  I installed a copy of Ubuntu Linux into it.  I then installed all sorts of things like Database (MySQL), a Web Server (Apache), and a programming language (PHP).  When I could serve websites with it to my home network, I then installed a copy of a Contact Management Software called SugarCE.  It all works like a champ, it’s all free, and fits really well on my lap.

Like I said, it’s a very basic answer to a basic question that can be quite complex.  Probably more involved than a basic answer, but that’s a start… – Another Successful Web Implementation Project Complete

Between doing Video Shoots and Website Upgrades for New Divine Mercy Church as well as functioning as their Webmaster and Project Manager, I was busy working on a new website for the Central Area Neighborhood Association for Wilton Manors.

Today, all the technical details were completed and the website for CANA went live.

This is the fifth website that I have created for organizations using the Google Sites technology.  Google Sites is a great way to get a basic website up and running, especially for Not For Profits as those organizations have been granted free space on Google’s Servers.  I have heard that they may or may not begin charging for that service in the future, and I have heard that it may or may not go Fee Based. 

The benefit of using the technology is that it is completely “Cloud Based”.   Got a small organization and you don’t want to have to worry about whether you have a dedicated server architecture built in an office server closet?  This works for you since Sites is hosted by Google.  You get access to a limited number of free services such as Google Docs, Gmail accounts, and other things so in theory you can completely run an organization virtually without ever buying a corporate computer.  Feel like making a change on a website from your laptop on vacation in a far flung corner of the world – you can do it if you have internet.

I wouldn’t personally put any financial information on a “web app” but that’s my security preference, you may not agree.

At any rate, CANA has their web site, it’s up and running.

The other sites I have created were for the Joe Angelo for Mayor Campaign, the Celeste Ellich for Commissioner Campaign, New Divine Mercy Church, as well as working on my blog

I am also the Social Media Director for Wilton Manors Main Street helping to voice their public presence on Facebook and on their blog.  I also have worked on their current webpage that is expected to go through some changes and a refresh soon.

Having done web development as a Programmer and as a Project Manager as well as doing Implementation of Websites, Large Scale implementation of Legacy systems, and Accounting Systems help in rounding out that list. 

I’m also That Guy that people call up for help with their PCs since I’ve implemented more desktop systems than I would care to count.  I’ve also implemented Servers running Windows Server 2003 and 2007,  implemented SQL Server (various versions) as well as created servers running Linux and the LAMP Stack.

The Lamp Stack is a set of technologies that will allow you to serve out web pages to the world as well as function as a regular file server as needed and it’s all free.

Most of that stuff can run “virtually” and on a computer using VMWare or Microsoft Virtual PC.

Not a bad cover letter, I may have to use this since I’ve done this and more.