Tuesday, April 17, 2012

Ubuntu - slow browser experience


Fix by doing the folowing:

From a terminal window, type in:
sudo gedit /etc/nsswitch.conf

Change your hosts config to look like this:
hosts:          files dns

Save the file and then reboot Ubuntu.


Thursday, March 8, 2012



rsync and backup files
rsync -r -t -v --progress -o -g -p -x -u -l  /fromdir/ /backupdir/

-r copies also all subdirectories within main directory
-t preserves modification times
-v verbose mode, shows more information
--progress shows progress during transfer
--delete deletes files in destination which are not present in the source
-c compares files contents by checksum
-l copies symbolic links
-z compresses files for faster transfer
-x don’t cross filesystem boundaries
-o preserves owner
-g preserves group
-p preserves permissions
-u update

Friday, March 2, 2012

Ubuntu 11.10 - VirtualBox working headless

I have the version 4.1.8.r75467 with it's extpack installed currently.

to start from command prompt:
>VBoxHeadless --startvm "VMName" &

to save and stop from  command prompt:
>VBoxManage controlvm "VMName" savestate

to lauch the remote desktop viewer from command prompt
>rdesktop -u bob -p bobpass -z -f 10.129.52.53

where bob is username and bobpass is the password and ip address of the VM machine is : 10.129.52.53

Thursday, January 26, 2012

Ubuntu 11.04 VirtualBox 4.1.2 Startup headless

Regardless of if you create a new VM or import an old one, you can start it with the command:
VBoxHeadless --startvm "Ubuntu 11.04 Server"

To stop a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" poweroff

To pause a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" pause

To reset a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" reset

To learn more about VBoxHeadless, take a look at
VBoxHeadless --help

Star headless on terminal with nohup  command:
nohup VBoxHeadless --startvm "Ubuntu 11.04 Server" &