Skip navigation

Category Archives: Linux

Ok, I have decided to include my views about this simply because many have do so and i haven’t managed to find anyone with whom i really agree. I am going to be straight to the point here.

  1. Windows should be the choice for desktops.
  2. Linux should not be a choice for desktops.
  3. Windows should not be in a server environment.
  4. Linux should be in a server environment.
  5. Windows is less time consuming to configure. (desktops)
  6. Linux – how much time to you think i have on my hands to get everything to work for a system which will need to be upgraded due to the so many kernel releases / distribution updates?
  7. Windows is easy to setup but final product is no way rewarding – slow downs experienced too early.
  8. Linux is not easy to setup but final product is very rewarding – it does not slow down – ever.
  9. Windows has a good GUI.
  10. Linux has an amazing GUI – BUT ..if not configured correctly can be very problematic – Linux should have never touched GUI – keep it CLI.

TrueCrypt is a wonderful piece of software which i recommend everyone to make use of to protect every mobile workstation. This freeware provides full or dynamic hard disk encryption. By dynamic i mean, that it can be used to encrypt flash drives, hard drives or partitions etc, depending on what you fancy. It makes use of the well known AES, 128 block size, 256 bit encryption cipher. Its is relatively easy to use since it also offers a rescue disk and software administration feels solid. I tested it on XP and Window 7 beta and there were no issues. I think I will give it a go at ubuntu too. I do suggest though that if you have a dual boot workstation you test it out prior to installation, since i have to say i managed to mess up my XP bootup after encrypting Windows 7.


This weekend i decided to try Ubuntu 8.10. In one word –  WwwwooOOoohh ! Finally my dual display is working as it should and i must say that this version is the one which gave me least problems to configure. I ran into the same “Connect to a Server” (Samba) issue with this version but the workaround is easy:

(smb://<ipaddress of windows share>/<windows shared folder’s name>)

AllTray seems to be finally working as it should also, and the rest, movies, audio all worked out of the box –  or rather, out of the ubuntu installation disk!

There was an issue with Flash pluggin, (no sound was given once installed, but a fix has been issued already)

Since i required IE for a particular site and personally i prefer Office 2007 to OpenOffice, I thought this was the opportunity to try Crossover ( It worked perfectly. I will probably add this one to my “to purchase list”

Well done Ubuntu, you are heading in the right direction, world domination is getting closer! 😀

I wanted to mount my windows Shares onto my VMware Sever (linux ubuntu) so that i can use it as an NFS and boot by VMs from the Windows Sever (since my windows server has a Raid Array) I tried several samba combinations but none seemed to work. CIFS seemed to do the trick.

Install smbfs

sudo aptitude install smbfs

Use the below command

mount.cifs //<ip address> </win_share> /mount/in/linux -o username=<username>,password=<password>


mount.cifs //$ /media/sdc1/ -o username=xxxxxxx,password=xxxxxxxxxxxx

To unmount use:


To mount it permanently:

vi /etc/fstab

add this entry:

//Server_ip>/share_name /path_to/mount_in_linux username=server_user,password=server_password,netdev 0 0

It is days like this that get on my nerves. Linux simply gives me issues –  ridiculous issues!!

1) A lock was created on a file which i wanted to get rid of. Empty trash in Ubuntu 8.04 simply gave up on me. Eventually i found the bash which did it right!   sudo rm -rf /home/kirk/.local/share/Trash/

2) Vmware console Add-on does not work with firefox 3 (damn it was automatically updated) I reinstalled firefox 2 and guess what…. plugin does not want to install anyway! For the time being i can forget using vmware console on my ubuntu! 😦

Ahhh… found the solution here:;jsessionid=BE54E753044C7DC49EFCB6ED49D8DA1F?tstart=0

” It looks like you’re running Linux on the client. I’ll assume that’s what your server is as well.

On the server-side, go to (adjust as necessary):

There, you’ll find several .xpi packages. Unzip the one you want to a temporary directory:

$ mkdir /tmp/xpi-out && cd /tmp/xpi-out
$ unzip /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi

Edit the install.rdf file in the unzipped output, and change the compatibility (there’s a field that says 3.0.0., you should change that to 3.0. – or 3.0.1.*).

Then zip up the file again and replace the original (making a backup first):
$ cp /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi \
$ zip -r /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi * ”
Problem solved once again!

This is something i added onto my VMware Server, but obviously it can be used for any Debian distribution. I was not the one which came up with bash scripts, so below you may find the source.

This post can be used in conjunction with the VMware Server post. I wanted my Linux host to have the clock synchronised with an NTP server so doing propagating it onto the VM Machines.

These are the steps required.

  1. run: sudo aptitude install ntpd
  2. run: vi /etc/ntp.conf (assuming you have vim tools installed)
  3. locate “server” and added the address of the NTP server instead of
  4. run: cp /usr/share/zoneinfo/Europe/Malta /etc/localtime (amend this according to your timezone)
  5. run: /etc/init.d/ntp restart (to restart the service)
  6. Next we have to check if the NTP server was picked up and the status of the synchronization, run: ntpq
  7. run: peers (see first screenshot)
  8. Check that the Peer Remote has been populated with the NTP server address inserted in the ntp.conf previously , ref id: is the high order stratum NTP server. What is most important here is the reach, since this increments accornding to how reliable the NTP (local) server is, and the poll, which will increase polling time if servers is reliable.
  9. run: association, and check the status. If you just restarted the NTP service, and the polling and reach values are low, than the condition would be rejected.
  10. After some time, when the reach values increase (meaning server is reliable and therefore also the poll interval increases) running once again the command association will return a different output. (see second screenshot). The condition will change to sys.peer
  11. Running peers once again will now output  reach 377 which means the data connection is good and an * which means preferred server. The Poll interval will also increase from 64 to any larger number over time.

Further details can be found here:

“To watch the status of the ntpd process, run:

"ntpq -p"

Press Ctrl-c to stop watching the process.

Note the information in the following columns:

  • The character in the first column indicates the quality of the source.
  • The asterisk ( * ) indicates the source is the current reference.
  • remote lists the IP address or host name of the source.
  • when indicates how many seconds have passed since the source was polled.
  • poll indicates the polling interval. This value increases depending on the accuracy of the local clock.
  • reach is an octal number that indicates reachability of the source. A value of 377 indicates the source has answered the last eight consecutive polls.
  • offset is the time difference between the source and the local clock in milliseconds”