Tag Archives: ubuntu

Apache Error: (13)Permission denied: access to

If you got this error message in your Apache error log,  you could check if the reason of this is that it folder on which the server is trying get access is readable by Apache user (www-data in Ubuntu by default). In order to test this condition, you could try:

work as root user

sudo -s

#su – www-data

#cd /yourDirctory

#cat NameOfYourFileInYourDirectory

if you get “can’t cd to yourDirectory” or similar is due that Apache user can’t access to the file or directory.

See error log from console:
#tail -f /var/log/apache2/error.log




NetworkManager doesn’t manage the wired connections on Ubuntu

Today, I found that my computer deson’t connect correctly to Internet,  when I see the icons of network on Panel, this show “unmaneged” for wired connections, so, after see a post,  I read that you must change the line from managed=false to managed=true.


on the file:


After it, I did reboot my pc.


How to kill VNC Server (vino-server) remotely / Reiniciar el servidor VNC en Ubuntu

Top command using ssh client

Top command using ssh client

If  you access to you ubuntu remotely using a vnc client, like VNC-Viewer on Windows or other, probably sometimes you have issues with you connection or you miss it. So how you can fix it?  I access to ssh console using Putty.exe from Windows, then I check the process using the command:

sudo top

then,  you should look for your vnc-server process, in  my case it’s called “vino-server”, and then press K (Kill) key and write the PID of the vino-server daemon and then press Enter twice to confirm.  Ubuntu will re-start the service automatically, so you will able to connect again with you vnc-client.

Ahora en español…

Si te conectas a Ubuntu usando algún cliente de VNC, tal como VNC-Viewer, probablemente a veces tengas problemas de conexión y la pierdas, si esto ocurre, deberás acceder a tu computadora de una manera alternativa, por ejemplo, usando un cliente SSH, por ejemplo, desde Windows pueder usar Putty.exe. Una vez que lo descarges y accedes a Ubuntu, puedes ejecutar el comando

sudo top

para listar los procesos en ejecución, buscar en el listado el servidor VNC, que por defecto en Ubuntu es “vino-server” y presionar la tecla K para matar el proceso. Ingresa PID correspondiente al proceso y presiona Enter dos veces para confirmar. Esto reiniciará el servidor VNC.



First version of WeTwoo now “On Air”

WeTwoo on air

WeTwoo on Air

With several months delayed, we are launched a first beta version of WeTwoo.com (We-Two-o) which for the moment has few features available which are day to day improving …  May be you are asking, What hell is wetwoo?. WeTwoo is a facebook application which attempt to be a place to know information about  you friends that have some type of relationship. The current functionality are:

  • Know the status of relationship of all your friends. For this, you can see a pie-chat which show the distribution of relationship of your friends.
  • Show a List, in one place, the friends that have some type of relationship that is showed on facebook.
  • Make comments about the relation of your friends. Click on the name of you friend on the “Friends in Couple” page and the comment will appear on the wall of your friend.
  • Make comments about the application and these will be show on the wall of your friends.
  • Invite to friend to join wetwoo. In this way, the list of friends listed on “Friends in couple” will grow because only is show the couple that are accepted the application.
  • Available on English and Spanish (Español)

Other features that we hope add:

  • Save and help to remember the anniversary of couple to friends.
  • Save the comments that are done for some couples.
  • Suggest possibles couples as “Couple-friends”.

The application is developed using Ubuntu, Python, Django, Apache, Lighttpd, and PostgreSQL with the help of some libraries as MatPlotLib for graphs and PyFacebook which allow access to Facebook API.
I hope write more on the next months about technical issues to share this process with you.

Before end, I would like to invite to join to the site and make any comments or suggestion about it and help to spread with your contacts.

Best regards,


Installing HP LaserJet 1018 in Ubuntu Linux 8.04 and 8.10 with HPLIP 2.8.5

After a couple of unsuccessful attempts :(, I have Installed my laser printer in Ubuntu 8.04. And here I’ll show you the steps carried out to accomplish with this.

UPDATE TO THIS POST: I’ve Installed my printer in Ubuntu 8.10 but, for this release I made some changes that are commented ahead.

Download to HPLIP applications from HP Linux Imaging and printing web site, clicking in “Download the Automatic Installer”
After, execute installer running in console (into folder that you have the file)

sh hplip-2.8.5.run

Follow the instructions…

I selected automatic installation mode.

I confirmed my Linux distributions. Note: For Ubuntu 8.10 I selected “n” in order to indicate that version is not correct (despite it said the correct version). For details see next image

Select Distribution

Select Distribution

I entered my root password and so on….

To finish, the application will launch a Windows form..


  1. Select “USB..”
  2. Select you printer in the list show in “Select from Discovered Devices”
  3. Select recommended option in “Select/Confirm PPD File”
  4. and add details in “Enter Printer Information” such as pictured below. If see disable “Next” button, you should delete all field in form and add information again. I spent lot of time thinking what is the wrong field because, until you edit the field this will not show in red.



Enabling surround sound in ubuntu

Alsa Mixer

After a lot of attempts (edit files, up and down volume controls) I could enable sound in Ubuntu. To do this, I made the next:

  1. Re-install alsa-utils. I think that this is not necessary.
  2. Open volumen controls. (Alsa Mixer)
  3. Preferences, and check “Channel Mode”. This will visible a TAB “Options”, here you must select “6ch” and ready.

To test your surround system, you can write into Console:

speaker-test -Dplug:surround51 -c6 -l1 -twav
and this will allow listen a voice for every speaker.

root@konunantulinux:~# speaker-test -Dplug:surround51 -c6 -l1 -twav
speaker-test 1.0.15
Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Time per period = 8.449852

To know your sound card, you can write:
root@konunantulinux:~# sudo asoundconf list
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Names of available sound cards:

In this case, VT82xx is my card.

My surround system is a Genius SW-5.1 100

Good Luck. :)

Feel free to post to comment or get answer of comunity.