LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gnome died (HELP PLEASE!!!) :( (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-died-help-please-320049/)

dolny 05-04-2005 09:46 AM

Gnome died (HELP PLEASE!!!) :(
 
I wanted to install Azureus BT client, so I had to install java and followed the tutorial steps here:

stanton-finley.net/fedora_core_3_installation_notes.html#Java

At this moment:

Code:

Be sure to enter a carriage return after these lines. Click on the "save" icon in gedit and exit gedit. In the terminal (which should still be open) type:

source /etc/profile.d/java.sh
Hit enter. Type:

which java
Hit enter. You should see:

/usr/java/jre1.5.0_03/bin/java
Type:

alternatives --install /usr/bin/java java /usr/java/jre1.5.0_03/bin/java 3

...I entered the 'source' command and then 'alternatives' didn't work. (no such file or directory). Almost all commands stopped working (only source wasn't showing an error). Maybe it's because of that 'carriage return' - i pressed enter after the lines only.

OK. The bash commands didn't work so I decided to reboot the system and see what happens. After logging in I get the msg that my session didn't even last for 10 seconds and that something seems to be wrong. Gnome died.

That is probably because I tried to install new Radeon 9600 drivers through yum: fedorafaq.org/#radeon - and after this command:

Code:

yum install kernel-module-fglrx-`(rpm -q --queryformat="%{version}-%{release}\n" kernel | tail -n 1)`
...it said something like 'no fglr for this kernel' or smth like that If I remember correctly. It didn't install correctly as far as I remember.

Because of that bash thing I can't even try to fix the X server/Gnome. When I try to launch the terminal from 'sessions' on the Gnome login screen the terminal starts with such msgs:

Code:

bash: grep: command not found
id: command not found
[: =: unary operator expected

and any command I tried didn't work: command not found (source worked)

I spent 2 days on installing new kernel, new packages, changing the gnome look etc. and I will be very frustrated if it turns out that I can't do nothing to get the system to work. I will have to switch to Windows :(((((((((((((((((((((((((( Please help.

dolny 05-04-2005 12:42 PM

help :( ?

masonm 05-04-2005 12:42 PM

This is what is commonly referred to as borking your system and I think we've all done it once or twice. :)

While I'm not sure exactly what you've done or how, your only recourse may be to reinstall your Linux. Perhaps someone else may have a better solution for you but from the information provided and the desription of the current behavior, it may be the easiest fix.

Why would you "have to go back to Windows"? Worst case you just reinstall.

Anyone who has used Linux for a while has borked our system at some point in time. It's usually early on when we're just learning, but even the most experienced of us can screw up once in a while. Don't feel too bad, you're in good company. Chalk it up to experience (that thing you get when you didn't get what you wanted) and move on.

dolny 05-04-2005 01:09 PM

Well, I spent 2 days on reinstalling my Fedora... and now again... installing all the packages etc. I don't have enough patience and time :( Why did it happen. I don't understand... I followed the tutorial and bash stopped working. I also followed the steps from fedorafaq to install the drivers... I will bork my system again so it has no sense...

Eh... If nobody will come up with a better solution, I may get back to Linux in about a week, right now I'm too nervous and little depressed;)

mrcheeks 05-04-2005 01:43 PM

I think you messed up your ~/.bash_profile and your bash scripts. Check the syntax and correct it(path, environment variables, etc.).

dolny 05-04-2005 01:50 PM

I'm a newbie so I would be grateful for specific commands.

I'm running (or was running ;) ) Fedora Core 3 with the latest kernel.

mrcheeks 05-04-2005 02:08 PM

Quote:

Originally posted by dolny
I'm a newbie so I would be grateful for specific commands.

I'm running (or was running ;) ) Fedora Core 3 with the latest kernel.

we don't know what you messed up and how you did it :-). I use tcsh not bash(ie the shell you are probably using). I believe you can find websites with linux commands using the search function of this site.

dolny 05-04-2005 03:57 PM

I understand. Anyways I managed to ressurect my Fedora a while ago :) My memory sucks, so I don't know how but i:
rpm -e jre (removed the Java rpm)
deleted the java.sh file
did some other minor things (using the Rescue thing from Fedora DVD)
Thanks for the replies!

My Penguin is alive and kickin' (at the moment) ;)


All times are GMT -5. The time now is 02:19 AM.