Tag Archives: Ubuntu

Spring Time! Now you are ready to protect your Ubuntu – Debian system from Rootkits and Viruses

It’s Spring Time and after a long Winter surfing the web and testing new programs, it’s time to give a short rest to your computer, delete old files and scan the OS looking for possible rootkits or viruses. I usually use Ubuntu and the possibility of viruses is not high but… why I shouldn’t double-check to avoid viruses or rootkits?

– First step: Rootkits

Open your favourite Software Manager (I am na old school boy so Synaptics it’s my choice) and install rkhunter and chkrootkit. I know, they are two different programs that have the same goals so you can decide to install and use just one of them…

After the installation you can start using them just typing into a Terminal:

sudo rkhunter --update
sudo rkhunter --check

and/or:

sudo chkrootkit

Examine all the results and don’t be disoriented by possible “”false positives”. Try to understand if some “risks” you find in the results logs could be regular software you are using (e.g. encrypted disks, etc..)

– Second Step: Viruses

Install ClamAV to scan your disks and be sure you have not infected by common viruses.

Open a Terminal and type:

sudo aptitude install clamav clamav-daemon clamav-freshclam clamtk

Then to update the ClamAV engine and the virus lists just type:

sudo apt-get upgrade clamav clamav-daemon clamav-freshclam clamtk

At this point you find ClamTk into the Accessories Menu and you are able to scan your PC just clicking on some intuitive buttons in the graphical interface.

Good Luck!  AddThis

Bodhi: a less known but powerful Linux distribution

If you are looking for a light Linux OS for your computer you can test Bodhi Linux. This specific Linux version, based on Ubuntu, utilizes the enlightenment graphical interface. For this reason Bodhi is particularly indicated also to give new life to computers with no updated hardware.

The graphical interface is really “zen” or rather clean, easy to navigate but complete. We tested the 32 bit version and it was a smooth experience also if we used a single core pc with 2 GB of RAM.

Before testing Bodhi you have to keep in mind that this Linux OS is really user oriented. It means it has just some few pre-installed programs and so you are free to customize it as you prefer. Last thing to remember is that Bodhi is a semi-rolling distribution ans so it will be updated in occasion of Ubuntu Long Term Releases (LTS). Try it, it is worth a chance!

Get power on pdf files and modify them on the fly with pdfmod (PDF Mod) and PDF Editor on Ubuntu

Since its invention, the pdf format has been the most versatile standard to share documents with a fixed layout. Everyday we share, read and create a lot of pdf files but sometimes we would like to modify them to create “new” personalized version more suitable to our needs.

For example, sometimes you need to extrapolate just a page from a pdf files or you want just to create different versions of the same file with few variations for your colleagues. For all these purpose pdfmod is the right solution for you.

Pdfmod has not been developed for some years because the versions we were able to find for Linux were the 2011 ones but, for what we know and tested, it still runs on all main platforms as Linux, Windows and OSX. Pdfmod is  a little bit different from other similar programs because it allows you just to modify the pdf file changing pages order, deleting pages or adding new pages from other pdf files. It also allows you to change some main metadata (title, author, keywords and subjest) of your pdf file in just few clicks and, of course, you can save the modified copy of the original pdf file.

These features could be basic for more sophisticated people but I can assure you that, if you have the need to do this kind of work different times in a week, pdfmod is the software you will use more often. Installation on Ubuntu is very simple, you just have to open a terminal and type:

sudo add-apt-repository ppa:pdfmod-team/ppa
sudo apt-get update
sudo apt-get install pdfmod

and you will find a new PDF Mod launcher into the Accessories menu.

To get complete power on your pdf files we suggest pdfedit (PDF Editor) which allows you to “break” protected pdf files and modify them. To install pdfedit, use Synaptics Package Manager or the Ubuntu Software Center.

Don’t forget, when you use pdfedit you just have to open the “target” pdf file, save it using the Flatten feature you find into the Tool menu and open again the “new” file to modify it without any restriction.

Easy to install and simple to use, in few words the above described programs worth a try!  AddThis

Remastersys: the easy tool to backup your PC or to create a personalized Linux (Debian – Ubuntu) distribution

Everyday we improve the OS we usually use adapting it to our specific needs. Consequently, we are worried about major OS upgrades between one version to another because we know that bugs could affect our installation and indirectly corrupt our saved data. Usually backup software are the right solution for data but, if something goes wrong, we have to reinstall all our OS and reconfigure it. Better, we have to spend many hours to download and configure all the single software we had installed into our original OS.

This is always but annoying and time-wasting. To avoid this specific problem we can decide to install Remastersys on our Linux distribution and use it regularly. Remastersys is very simple to install. For example, if you use Ubuntu, you have just to download its pgp key and save it into the Home folder then you can go to Synaptic Package Manager –> Other Software –> Add and enter the apt line specific for your Ubuntu version:

deb http://www.remastersys.com/ubuntu precise main

or

deb http://www.remastersys.com/ubuntu quantal main

if you use quantal.

On Synaptic Package Manger go to Edit and click on Reload Package Information then look for remastersys. Now you have Remastersys launcher under System –> Administration.

Remastersys has a very intuitive menu and you will be able to powerfully use it after just few tests. Please, remember to set-up Remastersys using its Customize –> Configure menu and you avoid any beginner mistake. If your iso will be bigger than 4GB, and you want to save it in to a FAT disk, you have to back-up documents, pictures, videos, etc.. separately because FAT formatted disks don’t allow files bigger than 4GB.

Important, if you are creating a ISO to distribute it to friends, don’t forget to not include personal folders, documents or your sensible data. Enjoy it and, if you want to share with us your personal Debian – Ubuntu distribution, add the specific download link into a comment to this post!  AddThis

Repair GRUB on IBM Thinkpad – The best Linux solution

When you decide to add another OS to the usual OS on your PC you can potentially damage your grub package. The Grub (GNU GRand Unified Bootloader) is the “soul” of you hardware, the program which allows your PC to find the OS during the boot-up.

Today we will not discuss about the old and new malware that are able to influence the GRUB but we will focus our attention on how repairing your computer when you see grub rescue> on your black screen…

The first solution you can find on internet is a detailed command solution but it was unfortunately usefulness in my case because my PC was not able to correctly accept the insmod command. Consequently I decided to use a portable rescue CD-USB to fix the matter.

Normally, if you use an Ubuntu derived OS, you can use Boot-Repair and it will semi-automatically fix your Grub problem in just few minutes. In any case, it is moderately easy but you have to be 100% sure about what HD partition you want to repair. As usual, this wasn’t my case. I had to find something more generic -in term of serviced OS- but effective.

At the end I bumped into the Boot Repair Disk. I had just to burn the free iso on a RW DVD and I could start to test it on my “out of service” laptop. The Boot Repair live CD is a wonderful tool! As soon as you boot up the live CD, Boot Repair guides you to the best possible solution. You have just to follow the suggestion on the screen and, in few minutes, the Boot Repair Disk is able to fix the Grub and to perfectly restore your computer.

Easy, Fast, Effective!! AddThis

Link

How to Login into Ubuntu 12.10 Using USB Flash Drive  http://bit.ly/WtgNHI

How to fix monitor problems (bugs?) on Ubuntu 12.04 and later versions – Linux

Starting from Ubuntu 12.04 we observed different graphics problems with “old” computers. When I say “old” I don’t mean obsolete hardware but PC with not more than three years of usage.

Many problems were especially noticed in systems with dual monitors or involving laptops. In few words, Ubuntu was not able to keep and memorize the correct video settings and it was necessary to set-up monitors configuration almost each time you logged on your OS. If you have the same problem and you are surfing the net to fix this “bug” don’t forget to search for solutions strictly connected to the laptop or graphic card you are really using. In fact in our experience there are more than few solutions possible and what it’s resolving for some hardware could become a real mess for different (but similar) machines.

The risk of damaging Ubuntu graphical interface while you try to fix the laptop – dual monitors problem is high. Or it has been in our experience because after some tests we were just able to use Ubuntu through the old line way in its safe mode boot. In any way, in our experience (IBM Thinkpad T43 and a HP L1950g monitor using Ubuntu 12.04 LTS with MATE as graphical interface) we solved all the matter just using Terminal and typing:

 sudo apt-get update

and

sudo apt-get install ubuntu-desktop

We are not able to explain why it works but it really fixed the bug. Probably, in one of the previous update one or more libraries conflicted with Ubuntu 12.04 configuration generating all the mess we fought against during the past months.

So, if you want to test our solution on your PC, do it at your risk, and type:

sudo apt-get install --reinstall ubuntu-desktop

or

sudo apt-get install --reinstall xubuntu-desktop

or

sudo apt-get install --reinstall kubuntu-desktop

or

sudo apt-get install --reinstall lubuntu-desktop

If you want to reinstall all (k)ubuntu-desktop dependencies:

sudo apt-cache depends ubuntu-desktop | awk -F ":" '{print $2}' | sed '/^$/d' | xargs sudo apt-get install --reinstall --install-recommends --yes

Don’t forget to choose your favourite k-x-l-u-buntu-desktop when you type all the above code in just one line and !

Good luck!…. and touch wood while you fix this really annoying bug…..  AddThis

Solve audio troubleshooting on Ubuntu and start planning to migrate to another Linux OS

It was just a simple system update which dropped off audio on my Ubuntu 12.04. It was really strange to admit that I had experienced a crash (better: an audio crash) on a Linux but the 12.04 Ubuntu actually caused similar problems to a numerous bunch of long-term aficionados around the world.

The real problem with the last Ubuntu versions is that this OS is not supporting properly “old” hardware as it did previously during so many years. Reading some other bug reports on the web I discovered that these audio troubleshooting crashes happen principally to “old” IBM ThinkPad and Dell. I hope Ubuntu developers will consider to solve immediately these kind of issues or many users certainly migrate to other Linux version.

In any case the best and complete guide to solve audio troubleshooting has been developed by Ubuntu itself. The guide is very detailed but, if you want to definitively solve this bug, you have to spend more or less 40 (forty…. sic!) minutes and follow all the 17 (seventeen… sic!) steps.

In my case the audio was back after the first step and I decided not to follow the other instructions but the audio troubleshooting comes back, more or less, every two months. Just to you if you want to spend 40 minutes only one time or a couple of minutes every two/three months.

When I consider all the problems I had with Ubuntu on “old” hardware starting from the 12.04 version, my advice is to start thinking about a migration to another Linux OS. I am testing some Ubuntu alternatives and in the next weeks I will post something about the tests I’m doing on old laptops. Stay connected!   AddThis

How to install Ubuntu 12.04 on old computers with non PAE CPU

When I tried to install Ubuntu 12.04 on an old ThinkPad X40 I was surprised to discover this warning on my screen:

This kernel requires the following features not present on the CPU:
pae. Unable to boot - please use a kernel appropriate for your CPU.

In few words I wasn’t able to install Ubuntu 12.04 because the kernel on Ubuntu 12.04 was not supporting my CPU and I was really upset because I have always promoted Linux distributions as the most versatile and appropriate OS to keep using “old” hardware.

Sincerely, as described in an older post, I previously decided to install MATE desktop environment because the graphic cards on many laptops didn’t support Unity and Gnome 3 but this was the first time I had to renounce the installation of Ubuntu. I didn’t want to surrender to this difficulty (that appeared to me as a bug)!

First of all, I discovered that pae is “a feature to allow 32-bit x86 processors to access a physical address space (including random access memory and memory mapped devices) larger than 4 gigabytes“. After I clarified this point, I was not sure that my processor was totally inadequate to support Ubuntu 12.04.

After some web surfing I discovery that there are two easy solutions to avoid this problem.

1 – As first solution you can install Lubuntu (my choice) or Xubuntu on your computer then you can install the ubuntu-desktop using the Package Manager.

2 – If you prefer not to use the Package Manager you can install Ubuntu 11.04 or 11.10 and then upgrade Ubuntu to 12.04.

More in general, it is also possible to assume that if you have a non PAE CPU, your hardware could not be able to support the Unity desktop. For  this reason you can keep your Lubuntu – Xubuntu (based on the light but effective LXDE desktop) or switch your desktop environment to Gnome (the Classic, of course) installing the gnome package instead of ubuntu-desktop.

In any case, if you want to know if your CPU supports pae you have to open a Terminal and type:

grep --color=always -i PAE /proc/cpuinfo

If something like “flags: fpu vme de pse tsc msr pae mce cx8…” outputs on your Terminal, you have a pae CPU otherwise your CPU doesn’t support pae.  AddThis

The good third choice: MATE desktop environment. The traditional but rock solid solution for the Unity unhappy users (when also Gnome fails)…

My first Linux OS was a Knoppix but I had so many problems with the hardware drivers, the LAN configuration and the monitor settings that I was really discouraged. After many tests I decided that Ubuntu was the right OS for my notebooks and I continued to use it without any particularly matters till Unity.

Unity is nice to see, intuitive but if you use your OS in a stressful way (I mean doing three or four different tasks all together: reading emails, talking with Skype and writing on LibreOffice), you spend too much time looking for the icon you need to launch the right program. The vertical monitor space has not enough room to visually show all the icons related to programs I use everyday. Surely this is my personal matter but I actually prefer the “old” graphic interface. For this reason I decided to install Gnome 3 but my vetust IBM Thinkpad crashed a couple of time in a week.

To my surprise also the Gnome Classic option encountered some crashes due to the amount and diversity of the software I installed on my laptop during the last years.

As usual, after some web searches I found a solution: MATE. This particular desktop environment is a fork of Gnome 2 and it really looks very intuitive and easy to use. If some software conflicts with the MATE environment, a pop-up message will appear on your sceeen and, if you have the patience to read the Details contained in it, you will able to solve your problems. In my particular case (don’t ask me why) it helped me to focus my attention on Conduit which caused the crashes on Gnome.

To easily install MATE, on almost every Linux distribution, you can read its wiki dedicated page or directly follow the below instruction if you use Ubuntu 12.04.

– open Terminal and type these command lines:

sudo add-apt-repository "deb http://repo.mate-desktop.org/ubuntu oneiric main"
sudo apt-get update
sudo apt-getinstall mate-archive-keyring
sudo apt-get update
sudo apt-get install mate-core
sudo apt-get install mate-desktop-environment

When the Terminal finishes all the upgrade stuff, reboot your Ubuntu 12.04 and select MATE on the login screen (click on the upper right “gear” and choose MATE).

That’s all! Have a good week! AddThis