Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.