Enter your email address:

Delivered by FeedBurner

To help Linux users, achieve their goals in administration, and enjoying their linux boxes

VMware Server 1.05 fails to start with version 2:1.1.4-2 of libx11-6

Some days ago I have updated my Lenny and VMware stop working, this time it was not a problem of a new kernel usually solved reconfiguring vmware, this time the problem was the new version of libx11-6 does not work with vmware, so the solution is to downgrade it to the Etch version.

First create a file called

/etc/apt/preferences

put this content inside:

Package: libx11-6
Pin: release a=stable
Pin-Priority: 1001

Package: *
Pin: release a=testing
Pin-Priority: 500

Then modify your /etc/apt/sources.list

at - command to schedule actions

One of the most uses I give to this command is to turn the PC off after some time, sure there are other ways.

I like the way you may execute batch jobs at a given time, all you need is:

1. Write your shell script

Which actually is a list of commands in a text file

2. Execute the at command

at now + 5 minutes < $HOME/listofcommands.txt

You can use times like "now", "noon", "midnight", or a date in the format of DD.MM.YY

check man at in order to have more details

Nice IBM adverticing about Linux

Hi,

I have found this video on Youtube, take a look at it.


Installing and uninstalling .deb package

Debian uses .deb binary packages and you manually install and uninstall them using dpkg tool.

dpkg has lots of options but maybe the most important or used ones are:

-i
Installs and configures a package
-r
Removes the package but keeps the configuration files on your systems, thus you may reinstall it later and does not need to configure it again
-p
Purges a package, meaning it will remove the package and also all configuration files

How to use it

Moving a window in GNOME

If you someday have a window out of your screen or at least the title bar out of your screen as I had today, I was surfing the web using Opera and when I pressed CTRL+F to look for a text in the page the little window appeared too high in the screen that I could not click on the title bar and move it a little down.

Well the solution for this is to press the and hold the ALT key, and click any place on the window to move it.

Tip: If you use the righ button of the mose you can resize it without need to click on the border of the window.

Hope this may help you.

du - Shows the disk space a file or directory is using in your disk

This is a very useful command you may use to find which file or directory is filling you disk.

So if you need to check the file and directory size in your home directory you can enter

cd

to switch to your home directory

du -S * | sort -n

How to play a DVD video ISO image

I have this new video camera Sony that records on mini DVDs, and I got a video from my daughter dancing for the mother's day, I copied it as an image to the hard disk of my Linux Operating System machine

cat /dev/dvd/ > $HOME/video.iso

But now how to play that iso image from my disk with out using my DVD player?

These are the simple commands needed.

sudo mkdir /media/iso

To create a mount point

sudo mount -t iso9660 -o loop /home/ggarron/dvd_video.iso /media/iso

How to delete / purge an email from postfix queue

Today I sent an email to a person with an attachment that was not supposed to be sent, so I had to log into my postfix server and delete it from the queue before it leaves the server.

Fortunately, I realized before it leaves, and thanks God the email was big enough for me to have time to log in, find the message and delete it.

If you ever need to delete an email from Postfix queue, you have to follow this steps.

Once logged in your server find the message you are looking for.

sudo postqueue -p

Gmail Manager - Firefox Extension

I want to write a little about this good Firefox extension, maybe lots of you already know it, but for those who does not, here it goes.

As its name says, this extension lets Firefox access your Gmail account, install it from:

Gmail Manager Firefox extension once installed you will have it located at the bottom of your screen, you can manage lots of accounts, which is great, you can see how many emails you have unread, which labels they have, all of that at a glance.

How to find files, using command line (locate)

Continuing reviewing some of my old posts, I found this one Examples of find command, now I want to show you a faster and easier way to find files.

We are going to use the commands updatedb and locate

updatedb

Which runlevel are you in?

I wrote a little runlevel explanation, now I will show you how to know in which runlevel your Linux Operating System is actually running.

Which runlevel are you in?

Enter the following command:

sudo runlevel

My output is:

N 2

Switch to other runlevel

To do that enter:

telinit [number of runlevel]

1001 RSS readers

Hi, this post is to thank you all for reading this blog, I want to celebrate with you "my readers" because today we surpassed the line of 1000 readers, we are now 1001 readers of this blog.

These are the statics from feedburner.

Go2Linux Subscribers, Feedbuner statics

Thanks again to all of you, and hope you continue reading the posts, and more important that what I write could be useful for your

Automatic Login - Gnome

I think this should work for any Linux operating system using Gnome, I have tested on Debian and Ubuntu.

Well, automatic login will let you avoid to enter your login and password each time you turn on your PC, this could be insecure, but if your computer is physically secured it is Ok to enable this, that could make your booting more smooth.

How to do it?

On Gnome go to:

Showing line numbers on vim

Sometimes you really need to see the number of the line where you are while editing a text file, if you like vi / vim, this will help you how to turn on and off the numbering of lines.

How to find which service is listening on a given port

It is really important to know which ports are open in your PC, this is not only useful for Linux, but also for other operating systems, Linux has a lot of tools to check which ports are open, the most common is nmap which is a command line tool, but also exist a Graphical frontEnd for it if you prefer that way.

So to scan you own PC and find open ports you can enter:

sudo nmap -T Aggressive -A -v 127.0.0.1 -p 1-65000

Another way to populate your apt-cacher

If you have some Debian machines already installed, and you plan to install some others, you maybe are going to use the net-install CD, which is the most common way to install Debian.

That may take a long time, to install all the Desktop Gnome or KDE, all the applications or servers, etc, and if you have just installed your apt-cacher server as me, you will not be able to use it this first time .... unless you populate it.

The "Ubuntu Story" site

I just stumbled on this site, it is a promotional site devoted to Ubuntu, you might be thinking, "well yet another Ubuntu site" but I think this one deserves a visit, it does not have how-tos, or such kind of info, it is mainly promotional, it has some information about Ubuntu's, Flexibility, Speed, Simplicity, Appearance, Stability, Freedom, Security and Community, which are the columns where Ubuntu rests.

How did Ubuntu end up so popular?

As a matter of fact, I made myself that question more than a few times, but never took the time to try to find an answer, because Ubuntu is a relatively new Distro, it comes from Debian when Mark Shuttleworth, who was part of the Debian project decided that Debian was not focused on the final user as it should, and made its own distribution.

Well, I have found an article which touches some facts about why is Ubuntu so popular today, and we have to say that, in less time than RedHat, Suse, or Debian.

wget - Resume downloads, limit the speed and much

wget is a command line tool used to download files, or complete webpages, it is a great utility with lots of options, as you can see if you read the wget man page

Some months ago, I have written about how to download files with wget, now I want to add some other tips to those already explained that day.

Resume a download

The /etc/default/rcS file

There is some behavior of your Linux Operating System which is easy to change, but not too common to know how.

The things you can change are:

  • Frequency to erase /tmp/ directory
  • Use UTC or local time
  • How Verbose are the boot messages of your Linux
  • If a disk error should be always repaired while booting automatically

There are more than those, but I will touch only those, for the rest, you can enter:

man /etc/default/rcS

Syndicate content

This site is proudly hosted at Bluefur Hosting