Tag Archives: Ubuntu

Enabling remote desktop on a VirtualBox Machine

To enable remote desktop on a VirtualBox machine, you have to follow these steps:
VBoxManage modifyvm MachineName -vrdp
This command enables rdp on the virtual machine
VBoxManage startvm MachineName -type vrdp

It starts virtual machine, listening for rdp request on port 3389 (default port)
rdesktop-vrdp localhost

Connects virtual machine with rdp (You can use rdesktop too).
If you want to change rdp port, use this command:
VBoxManage modifyvm MachineName -vrdpport

Also, enabling authentication for rdp is possible:
VBoxManage modifyvm MachineName -vrdpauthtype null | external | guest

VBoxManage is the command line interface of the VirtualBox.
You can make these settings with GUI: Settings -> Remote Display -> Enable VRDP Server
If you want to use your virtual machine with vrdp only, you can use this command simply:
VBoxHeadless -startvm MachineName

Note: RDP server is not included in Open Source Edition of the VirtualBox. If you want to use this feature, you have to use closed-source edition. AddThis mp3 link

Using iPhone internet sharing over bluetooth under Linux

To use your iPhone’s internet connection through a Linux notebook over bluetooth, you have to open Tethering option on your iPhone device, under the Settings->General->Network section.

After that you can install Blueman (a simple and intuitive bluetooth manager) for easily configuring bluetooth PAN network:

apt-get install blueman

Start blueman-manager and find your mobile device and connect to it. When connection completed successfully, select Device->Add->Network Access Point in blueman-manager.
And the last step, configure the network interface:

dhclient bnep

AddThis mp3 link

Logwatch on Ubuntu Desktop/Server

Logwatch is an Ubuntu modular log analyzer that runs every night and mails you the results. It can also be run from command line. The output is by service and you can limit the output to one particular service. The subscripts which are responsible for the output, mostly convert the raw log lines in structured format.
Logwatch generally ignores the time component in the output, that means, you will know that the reported event was logged in the requested range of time, but you will have to go to the raw log files to get the exact details.
Install logwatch using the following command:

sudo apt-get install logwatch

This will install all the required packages

Configuring Logwatch:

first you need to make sure you server is able to send the mails outside you can do this using postfix with SMTP server configuration.

Now you need to edit logwatch.conf file:

sudo nano /usr/share/logwatch/default.conf/logwatch.conf

Change the following information:

Output = mail
Format = html
MailTo = test@gmail.com

Save and exit the file

If you want to know more available options check logcheck manpage using the following command from your terminal:

man logcheck

Now edit the 00logwatch file

sudo nano /etc/cron.daily/00logwatch

add the following line:

/usr/sbin/logwatch –mailto test@gmail.com

Save and exit the file

This tool is very useful, give it a try! AddThis mp3 link

Maximize internet speed connection in Ubuntu via sysctl

Do you want to maximize your bandwidth? Here are few important settings you should do to speed up your internet and it works in Ubuntu and all Linux operating system via sysctl.
First open a Terminal via Applications->Accessories->Terminal
Type:

sudo gedit /etc/sysctl.conf

Then Paste the Following at the end of the file:

# increase TCP max buffer size setable using setsockopt()
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
# set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
# don’t cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
# recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500
# for 10 GigE, use this, uncomment below
# net.core.netdev_max_backlog = 30000
# Turn off timestamps if you’re on a gigabit or very busy network
# Having it off is one less thing the IP stack needs to work on
#net.ipv4.tcp_timestamps = 0
# disable tcp selective acknowledgements.
net.ipv4.tcp_sack = 0
#enable window scaling
net.ipv4.tcp_window_scaling = 1

Press Ctrl-S to save, then alt-F4 to exit and then type:

sudo sysctl -p

to apply the settings.

Now, check your speed using speed-test site or download files in the net.

You can disable all these settings by removing these lines you added via:

sudo gedit /etc/sysctl.conf

AddThis mp3 link

Ubuntu to Windows XP folder sharing

Computer networks are sometimes comprised of various methods, and while operating a network made up fully of  Ubuntu desktop and server computer systems would definitely be enjoyable, some community environments must consist of both Ubuntu and Microsoft Windows systems working collectively in harmony.
When making an Ubuntu shared folder that was created with NTFS be accessible to Windows XP steps. Run the NTFS configuration tool on the drive.
It is advisable have admin rights to do that modification.
Select: Application –> Accessories –>Terminal
then type the following:

sudo gedit /etc/samba/smb.conf

In the [global] section, add the following line:

usershare proprietor only = false

AddThis mp3 link

2010 in review – Not bad…

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

Upload, store and download files with no limits! (up to 2GB single file, no space or time limitations) December 2010

2

How to unzip and install a tar.gz file in Linux October 2006
76 comments

3

SoundConverter: the best (and the simpliest) audio converter for Ubuntu! August 2007
8 comments and 1 Like on WordPress.com,

4

Linux August 2006
124 comments

5

How to add a cool “MAC OS X” dock in your Linux: two different solutions for Kubuntu. May 2007
6 comments

AddThis

Get Kindle for PC to Ubuntu (if you really don’t like Calibre)

Amazon’s Kindle a popular portable e-book reader device, lately made Kindle for PC application that allows you to download and have books on your computer rather than having a portable e-book reader device. There’s only Kindle Windows version but the nice thing is you can have this application in Linux.
This is tested in Ubuntu 9 running Gnome. You can use different version of Linux, but first you must have Wine HQ installed to you computer. Then download the EXE file of Kindle for PC application in Amazon.
Install this with Wine HQ software loader and proceed to the normal installation, the same thing that you do in Windows environment.
Note:

– At your first run you won’t see anything at all

– Configure Wine first and add Kindle for PC as an application and make it run in Windows 98 mode

– If it won’t work, change to other mode

– When it opens successfully you have to input you Amazon email add and password to register the software.

But, please, don’t forget that if you prefer open source software, you can directly use Calibre, a powerful free software we posted a while ago. AddThis

LuckyBackup: Copias de Seguridad Sin Complicaciones

En estos días he estado buscando un programa que permita hacer Copias de Seguridad y que sea de uso practico, sencillo y muy intuitivo. Después de ver varios programas me he decantado sin lugar a duda para LuckyBackup. Para instalarlo es posible directamente desde los repositorios de nuestro sistema (Ubuntu y derivados) o directamente desde su propia Web y bajar la ultima versión 0.4.4 . Yo he instalado esta ultima versión y tengo que confirmar que es el mejor programa de Copias de Seguridad que he encontrado hasta el momento. LuckyBackup es muy fácil de configurar y permite efectuar diferentes sincronizaciones y mantener a salvo nuestros datos y todos los archivos. También he echo diferentes pruebas pasando carpetas a memorias USB, Disco Duro Externo y Disco Duro Interno, todo sin ningún problema (Descarga LuckyBackup).

AddThis mp3 link

Como arreglar la conexión de red en Kubuntu 10.04

Hace unos días tuve un problema con mi Kubuntu 10.04 y la conexión de red. Cuando fui por apagar el PC, en lugar de apagarlo le dí a hibernar por error y cuando fui otra vez a encenderlo no tenia conexión de red disponible. Mirando en el icono que informa respecto a la conexión de red tenia un único mensaje que decía: Gestión de Redes Desactivada. Por tanto que yo intentara de buscar la forma de activar el gestor de redes, no encontraba nada y ninguna opción disponible. Después de varios intentos tuve que ponerme a buscar en la Web con mi portátil para ver si encontraba la forma de solucionar el problema. Afortunadamente encontré que el problema surge en cuanto se apague el PC de forma instantánea o como en mi caso por hibernar, por esos motivos parece que NetworkManager no borra el archivo de estado y cuando se vuelve a reiniciar el PC se genera este error. Para solucionar el problema hay que escribir una serie de comandos en el Terminal para borrar e archivo y volver a reactivar el Gestor de Redes. Os añado las líneas de comandos porque puedo garantizar que es una solución realmente efectiva:

sudo service network-manager stop

cd /var/lib/NetworkManager/

sudo rm NetworkManager.state

sudo service network-manager start

AddThis mp3 link

How to repair the missing upper panel on Ubuntu 10.04 Netbook

After my last update I was not able to visualize my upper panel on Ubuntu 10.04 Netbook. After some internet searches and tests I found these two solutions which were useful to me:

Solution A

– right click on the background and choose Change Desktop Background

– go to Visual Effects and click on Normal

Solution B

– ALT + F2 and when in Terminal type

gnome-panel

If you want to save the configuration and visualize the upper panel for the next time you use Ubuntu, please type in terminal:

gnome-session-save

I am sure there are better ways to solve this problem, so if you have suggestion you are free to comment this post. Thanks.

AddThis mp3 link