can't setup Ubuntu on modyfided computer

Asked by Lech

After installation is running for a while it reach the point, when on the screen I was asking to install and run X server.
This happened when I replace and install new video card and new digital monitor. The video card is Nvidia GeForce Fx-5500.
And computer motherboard is Intel D845GVSR with 1 GB RAM memory and 160 GB HD.
Original video build in motherboard was disable and the new video card was install in PC slot.
And after that modification Ubuntu Linux failed to run and be install again.
I don't know what happened, and why installation failed and computer was asking to install X server, what it means, please help me.

          Lech

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Ok, seems that you cannot start the graphical interface.
You should have a command line prompt after this failure, right? First you should see a blue screen asking if you want to know more about this problem, and if you answer "no", you arrive on this black screen, right?

I don't remember if it's asking for a login. If that's the case, enter your login, then password.
Now let's modify your screen configuration.

enter:

sudo nano /etc/X11/xorg.conf

sudo means you are running this as an administrator
nano is the editor
/etc/X11/xorg.conf is the configuration file for your screen

It should ask for your password, enter it.

You will then see your configuration file. Look for this line:

Driver "nvidia"

Instead of "nvidia", you must have something else, depending on your previous video card.
Try to put this instead:

Driver "nv"

Type CTRL+X to quit, it should ask if you want to save, type Y to validate, then enter to agree with the file name.

Your file is modified, now you can try to reboot the graphical interface:

sudo killall gdm
sudo gdm

Tell me how it goes plz. It may not work, as you changed your screen as well. There are other solutions anyway. And the next version of Ubuntu should get rid of this complicated process to fix this kind of problem. But let's fix yours first.

Revision history for this message
Lech (lantczak) said :
#2

*Hi, this is Lech, and it didn't work.

OK, what happened after reaching blue screen asking if I want to know
more about the problem I said "no" and after that I was asking for my
login, so I did.

Now I applied sudo nano /etc/x11/xorg.conf

screen blinks couple of times and the black screen opens

and on top from the left to right it says

GNU nano 2.0.2 file:/etc/x11/xorg.conf modified

and on the bottom of this screen is the menu

^M help
^W exit etc.

and this is it. on the blank space of this black screen you can right
whatever I want, nothing is working. I try to escape (quit) using CTRL +
X and its not working either.

And no matter what, starting from HD or from starting disk Ubuntu 7.04,
after reaching the same point asking for the X server everything looks
the same......

            Lech

*
François Tissandier wrote:
> Your question #13219 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/13219
>
> Status: Open => Needs information
>
> François Tissandier requested for more information:
> Ok, seems that you cannot start the graphical interface.
> You should have a command line prompt after this failure, right? First you should see a blue screen asking if you want to know more about this problem, and if you answer "no", you arrive on this black screen, right?
>
> I don't remember if it's asking for a login. If that's the case, enter your login, then password.
> Now let's modify your screen configuration.
>
> enter:
>
> sudo nano /etc/X11/xorg.conf
>
> sudo means you are running this as an administrator
> nano is the editor
> /etc/X11/xorg.conf is the configuration file for your screen
>
>
> It should ask for your password, enter it.
>
> You will then see your configuration file. Look for this line:
>
> Driver "nvidia"
>
> Instead of "nvidia", you must have something else, depending on your previous video card.
> Try to put this instead:
>
> Driver "nv"
>
> Type CTRL+X to quit, it should ask if you want to save, type Y to
> validate, then enter to agree with the file name.
>
> Your file is modified, now you can try to reboot the graphical
> interface:
>
> sudo killall gdm
> sudo gdm
>
>
> Tell me how it goes plz. It may not work, as you changed your screen as well. There are other solutions anyway. And the next version of Ubuntu should get rid of this complicated process to fix this kind of problem. But let's fix yours first.
>
>

Revision history for this message
François Tissandier (baloo) said :
#3

Ok, I think I know why. With linux, file names are case sensitive. So /etc/x11/xorg.conf is different from /etc/X11/xorg.conf

A trick to avoid typing mistake: when you begin to type a file address in a terminal, you can just type the first letters of the folder name, then use TAB to let the system fill the rest when it's possible. That helps a lot to check if what you are typing exists.

Can you help with this problem?

Provide an answer of your own, or ask Lech for more information if necessary.

To post a message you must log in.