Powered By Blogger

Wednesday, January 20, 2010

Install From an ISO File

In Ubuntu, determining the mount point of an ISO file is very difficult. Unlike windows, we cannot use the setup option for most cases in Ubuntu. Here's a simple way to install from an ISO Image:

1. Create a folder in a suitable location.
2. Right click the ISO Image and click "Open with Archive Manager".
3. Extract it to the folder which you have created.

This solves the initial phase of the problem. Now, we need to install it. If you look at the contents of the extracted ISO in the folder, you will find a binary with a name install.bin or setup.bin or something of this kind. Now do the following

1. Open the terminal.
2. Login as root(su -).
3. Change your path to the folder path(Suppose the path is /home/user/extract then type " cd /home/user/extract " without the quotes).
4. Then type ./filename.bin.

There you go!!! Installing from an ISO made simpler!!!

Friday, January 8, 2010

GTK+- Error

Many new ubuntu user will face this problem. This happens when you try to run an application from the terminal. The error is usually this:

Gtk-WARNING **: cannot open display:

Follow the following steps to correct this problem. Do all this on the terminal.

1. sudo apt-get install sux
2. sux - (give super user password)
3. xauth list
4. exit
5. xauth list
  ( you will see something like this
    Kaushik/unix:0  MIT-MAGIC-COOKIE-1  d4271cb3efeb1b70b0e980bfd6126a50
    copy that)
6. xauth add Kaushik/unix:0  MIT-MAGIC-COOKIE-1  d4271cb3efeb1b70b0e980bfd6126a50 ( you paste what you had copied)



Now everything should work fine!!!!