LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   errors after updating Red Hat 9.0 (https://www.linuxquestions.org/questions/red-hat-31/errors-after-updating-red-hat-9-0-a-86669/)

davynl 08-28-2003 01:07 PM

errors after updating Red Hat 9.0
 
i updated red hat 9.0 in the update program
i needed to reboot and when i rebooted
i get these errors about gnome and stuff i need help :confused:
i opened the site what was in the error dialog and someone said
to open telnet and delete yourself in telnet and he rebooted and it worked but i have no idea how to do that :confused:
help

trickykid 08-28-2003 01:27 PM

If you can provide the exact error messages, probably be of help. Other than that, were as clueless as you are as nothing really made sense to me in your post.

windowsrefund 08-28-2003 01:45 PM

reboot? I hope you're going to tell us that you upgraded the kernel. Otherwise, there is no reason to ever reboot a Linux box. Waiting for info...

Adam

kjcole 08-28-2003 02:20 PM

I'll hazard a guess at this... even though it's a stab in the dark.

I think what you may have read was something suggesting that you could try to gain access to your computer in a text-only, non-GUI mode. This would allow you to access the shell, bypassing GNOME. From text-only screen, you could then either (a) edit some file somewhere and fix the problem, or (b) delete all the .gnome* and other X-windows related files and directories, or (c) get REALLY radical, and delete yourself as a user, removing ALL your directories, then re-add yourself. (Option C seems a bit extreme to me, but it looks like that was what was being recommended by what you read.)

One way to access the text-only console shell, if you're on a network is to telnet into your computer from some other computer. This would only work if you had the telnet daemon installed, turned on, and not firewalled. NOT a good idea. Better would be to use ssh in place of telnet. (Again, you'd have to have the ssh daemon/server (sshd) installed, running, and not firewalled.)

davynl 08-28-2003 02:26 PM

i just installed it i didnt really have alot of files on it so i want to try C
but what is the command to delete myself in telnet ?:confused:

kjcole 08-28-2003 02:38 PM

Assuming you can successfully get into your machine with ssh (or if you must, with telnet), you will then want to become the super user with the command:
Code:

su --login
Then the command:
Code:

userdel -r username
will remove the user named username and delete the home directory and all files contained within it. Finally, you recreate an account for yourself and add a password with the commands:
Code:

useradd username
passwd username

Look at the man pages for userdel and useradd for more info. (At the shell prompt, type man userdel and man useradd. Man pages can be a bit cryptic to newcomers, so try looking at several different man pages to get the hang of reading them.

Now when you login nto the GUI, your computer should indicate that you're doing it for the first time and try to set up all the GNOME and other X-Windows files to some sort of logical default value.

davynl 08-29-2003 02:03 AM

thnx kjcole it worked =D
now the errors are gone


All times are GMT -5. The time now is 03:09 PM.