Saturday, December 15, 2007

Hard time installing Ubuntu 7.10

While I can easily install Ubuntu 7.10 on my Thinkpad R52 laptop and got it to work out of the box. I had hard time installing it on my Desktop PC. There are many difficulties I came across which I short-note them here for future references and for those who might have the same problem.

The Black Screen after GRUB Issue

I am not sure how could this happened. But when I chose to boot into Ubuntu (generic) from GRUB boot menu, for the first time. My screen goes blank and nothing happened.

I tried to diagnose the problem by pressing Ctrl-Alt-F1 right after you GRUB disappeared. This will let you see the boot sequences in text mode.

It amazed me since It finally brought me to login screen at that moment. I tried to login but got some message like GTK+ failed and a permission denied message indicating that it cannot create the ~/username/.gnome2/accels directory.

could not create gnome accelerators directory `/home/m3rlinez/.gnome2/accels': Permission denied

So I quit and change the session type of Fail-Safe Command line mode and login again.

There was a big white rectangle appeared on the right of my screen and I could use it as a terminal. I type the following command to remove some directories of gnome.

WARNING:
This command will permanently delete the directories passed as parameter and their contents. Use this at your own risk.

rm -rf .gnome .gnome2 .gconf .gconfd

After that I typed exit and logged in again. I could then get to the desktop.

The Cannot Start Firefox Issue


When I tried to start Firefox, there was a tab indicating "Starting Firefox Web Browser" appeared at my task bar for some seconds before it finally disappeared and nothing happened.

I tried to run Firefox from terminal to see if there might be some sorts of error message output to the terminal. But there was not.

Some guys at Ubuntu forums suggested the readers to run Firefox using strace utility. I then use the following command to start Firefox.

strace firefox


The strace program really gives me some clues on why Firefox failed to started. There is something like a permission problem at the end of strace output. So, I tried to run Firefox using sudo firefox command. And it worked!

Finally, I changed the Firefox folder and theif contents permissions to 777. I could then start Firefox as a normal user. Firefox folder is located at /usr/lib/firefox. A little weird place for Windows user like me :(

cd /usr/lib
chmod -R 777 firefox


The Thai Keyboard Issue

This is easy. Go to System -> Preferences -> Keyboard and add a new Thai Keyboard layout. After that you need to configure the layout switching method, click the Layout Options tab and expand the Group Shift/Lock behavior mode node then tick the Alf-Shift changes group.



The ATi Graphics Display Driver Issue


WARNING: The following instructions are OUTDATED. You can find clear and concise instructions on this page: http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide

I heard from many sources that ATi graphics hardware is hard to use with Linux OS. I have ATi Radeon HD 2600 XT which works fine with Windows Vista. Unfortunately, It did not work well with my Ubuntu.

After logged into X-session for the first time. The screen resolution was set to certain size which was not native resolution of my LG 19'' 1440 x 900 model. I cannot enable the Desktop Effects too. There was a little dialog that suggested me to enable the Restricted Driver from ATi. So I enabled it and reboot.

When I booted into Ubuntu again, my screen got messed up to a resolution like 800 x 600. And there is a message box indicating that I am using a Low Graphics Mode. I tried to change the resolution to my native resolution (1440 x 900) but it does not work. So I clicked the cancel button and logged into X-session using the Low Graphics Mode.

To undo the changes made by Restricted Driver, I loaded up the terminal and type this command to revert the video drivers back to auto-detected one again.

sudo dpkg-reconfigure xserver-xorg


I followed the instructions on the screen, leave every choices as default, and reboot. Everything goes back to normal with Restricted Driver disabled. But, still, I cannot enable the Desktop Effects.

So I went googling and found many suggestions. I finally goes to official ATi website to download a drivers for my graphics card. After made some selections about my system, the website brought me to a page the let my download the ATi Catalyst Drivers for Linux. So I downloaded it. Its name is ati-driver-installer-7-11-x86.x86_64.run.

I started the installer using sh ./ati-driver-installer-7-11-x86.x86_64.run command. I then restarted the X-server by pressing Ctrl-Alt-Backspace key combination. You can simply reboot the machine at this point too but it would takes more time. I finally now got the screen resolution to my native LCD resolution at 1440 x 900. But, again, I still cannot enable the Desktop Effects.

The last step is to install the xserver-xgl package.

sudo aptitude install xserver-xgl command


Here is a short description of what the package does, taken from http://packages.ubuntu.com/hardy/x11/xserver-xgl.

Xgl provides a GL-based X server, performing its drawing through a GL stack. In combination with a GL-based compositing manager, this allows for high-speed transformations of windows.


After the installation, I rebooted the machine again. And I can now finally enable the Desktop Effects :) You can also install the Custom Desktop Effects config tool using this command

sudo aptitude install compizconfig-settings-manager


So, that is anothor story of ATi with Ubuntu Linux of mine. Hope this helps.



My desktop


Another great window management tool

10 comments:

Anonymous said...

ho!,Good howto install ubuntu.I using 22'inc monitor can't set graphic mode,but can using default graphic mode T_T.

Unknown said...

Mine is 19' :)

Soni. nivedita said...

If you are searching for best rehab in san diego then you need to visit our website because we have experince expert team to know more click below link
drug rehab in san diego
alcohol treatment centers san diego

anup prasad said...

Nowadays, everyone want to good looking stand so people will attarct toward product and services so we are the one of contractor to know more visit below link
exhibition stand contractors dubai
exhibition stand makers in dubai

anup prasad said...

Our quality standards apply also in terms of service, technical expertise and advice. Our dedicated employees are happy to assist you with know-how and experience in your daily business to know more visit our website
offshore company formation dubai
company formation in dubai

anup prasad said...

Internet marketing is a rapidly changing environment and is based on specific foundational principles. The perennial principles in Internet search optimization are the need for a website so you need an expert for your dental marketing services to know more about your website ranking click on dental seo

Soni. nivedita said...

If you are dentist and looking for new patient in your clinic then you need to try our dental seo service to getting new patient.

Soni. nivedita said...

If you are looking for the daily Satta result then visit our website, also you will get to know the tricks to win the Satta and become a Satta king

anup prasad said...

if you want to know the result of satta matka then visit the website satta king. Here you will get exact result of satta game.
satta king
satta record

johnbartlet said...


We are leading exhibition stand designers and builders based in Dubai. We are involved in designing the exhibition booth and marketing display stalls for running trade fairs, marketing campaigns, promotional events, presentations in various Dubai trade fairs.
exhibition stand design companies in dubai