Another reason why Linux is cooler than your OS

Another reason why Linux is cooler than your OS

The Power of Linux: Regaining Control of Your Desktop


Let me paint a picture for you. I was running a virtual instance of another Linux operating system this morning with VirtualBox. Everything was going fine (as it usually does) until it wasn’t. The virtual operating system prompted me for my user password (to run an admin task). When I started typing the admin password, things went a bit south.

Essentially, what happened was VirtualBox locked up my desktop. It wasn’t a full-blown lockup, as I could still move my mouse. I couldn’t, however, click on anything or interact with the desktop in any way (besides moving the cursor).

Sometimes, it’s just a matter of waiting for whatever is happening in the background to finish and control will be handed back over. That did not happen. No matter how long I waited, the desktop remained unresponsive.

I know what you’re thinking. All I had to do was power down the machine, restart it, and get back to whatever it was I was doing.

For any given MacOS or Windows user, that’s the logical process when the desktop locks up. But this is Linux and with Linux…there is always a way.

Linux users are not fond of either shutting down or rebooting their computers. We like to brag about our uptime. I’ve had Linux desktop computers stay up for over a year and servers even longer. It’s a point of pride.

Today was one of those days where I really didn’t feel like rebooting my machine. First off, the power switch has gone out and, in order to restart the machine, I have to remove the case and press a hard-to-reach switch for the machine to power back on. (I’m working on getting a replacement power switch as I type.)

So, when my desktop locked up (without an easy means to reboot), what did I do?

Something your operating system probably can’t do.

Here’s how it happened:

  1. I logged into my MacBook Pro.
  2. I opened the terminal app.
  3. I used Secure Shell to remote into my desktop, using the command ssh
  4. I checked to see which application was abusing my system resources with the top command.
  5. With the app in question found, I located the Process ID (PID) with the command ps aux | grep Virtual, which gave me the PIDs for both the VirtualBox application and the virtual machine.
  6. I killed the processes with the command kill PID (where PID was the ID for each VirtualBox instance).
  7. I closed the SSH connection with the exit command.

Once both VirtualBox instances were closed, I had control of my desktop once again. No reboot needed.

I understand this isn’t something someone new to Linux would know how to do (without the help of Google) but it’s one of the many tricks I’ve learned over my years of using Linux. And anytime I’m using an operating system that isn’t Linux, I know that I’m hindered from doing such things, which (in my opinion) helps to make other operating systems inferior to the open-source option.

The good thing is that the option is there should I need it. Linux has always been known for having multiple options for just about every need, and that makes it an incredibly powerful, flexible, and reliable operating system.

You may never run into such an instance, but knowing that you have ultimate control over your desktop can be very assuring, especially when you have important work you won’t want to lose, thanks to an errant application.

I’ve been taking advantage of such cool tricks on the desktop for decades. Don’t you think it’s time you gain the same benefit and enjoy a desktop or laptop operating system that won’t relinquish control to you when it’s most needed?