X server??
I accidently deleted some file and now my system will not boot in Gnome oR Kde...how can i reinstall them?? I can log into my system from commandline
thanks:confused: |
you'll need to post a specific error message and your
version of linux for specific instructions., but you can uninstall gnome or kde, and reinstall them without messing up much. i assume this isn't an important system, or you wouldn't be messing around like this. |
I am using Mandrake 9.1 , this is the error message I get
[root @localhost root] kde execve failed for /etc/X11/X (errno 2) giving up xinit : No such file or directory (errno 2) : Unable to connect to X server xinit : No such process (errno 3) : server error |
do you think you may have deleted some of your
Xfree files? in /usr/X11R6/ ? you can reinstall X. i don't know if there is a mandrake add remove package tool, but you can mount the cdrom, and rpm -Uvh filename --force if you want to reinstall something. you should be able to rpm -qa to list all the rpm's that are supposed to be currently installed you could also rpm -qa|grep xfree to look for installed rpm's with xfree in the name. |
Actually I was trying to remove kde from my system (I was using gnome) and the system froze. When I rebooted it ...it booted into commandline and apparently deleted files in /etc/X11
Mandrake uses RPM add and remove package tool . Another question is that if i reinstall kde or gnome will it also fix /etc/X11 files? much thanks |
you did try typing startx, right?
were you using kdm to login? that might be where it is stopping. |
yes i did and i got same error messages upon typing startx
|
the file .xinitrc in your home directory determines
which window manager X starts with. if it is set to kde and you uninstalled most of kde, it will not work. you can edit that file and change what's there to gnome-session or blackbox or something else. also answer something before, uninstalling software will rarely delete config files or data files you have created. So, if you reinstall what you dumped, the system will most likely act just as before. |
All times are GMT -5. The time now is 02:44 AM. |