I think I killed X - Is it possible to repair without reinstalling everything?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 think I killed X - Is it possible to repair without reinstalling everything?
To make a long story short, I was forcing the installation of some RPMs earlier, and now I cannot even get to a login prompt: all I receive is the little wristwatch cursor. The package that caused this, I think, was 'xshared,' as things stopped working properly once I installed this.
I can get as far as the shell prompt using "linux rescue," but I have no idea what to do from there, if that's even where I want to be. And I have yet to see anything remotely useful on Google, either.
So what I really need to know is:
1) Assuming I wrecked X, can I reinstall it without having to reinstall Red Hat?
2) Failing the above, is there any way I can *easily* pull my bookmarks, music and documents off the drive before I lose everything?
I can expound on this if more information is needed to diagnose. TIA.
you can certainly do it. But first try to get to a command prompt. Boot up and when you see that watch, press ctrl-alt-f1. You'll get to a text terminal. Login and then become root with
su
and then do
init 3
this will stop X. Now do
startx
this will attempt to start X. You can see messages on ctrl-alt-f1. If you can post the error messages, maybe someone can tell you an easier fix.
If you want to reinstall X, it's a matter of reinstalling all the X related rpms. I wouldn't know which ones they are for RH but I'm sure someone knows.
First, thanks for the jumping off point.
Unfortunately, 'init 3' (or any variant thereof) doesn't work--command not found error. Trying startx "works" inasmuch as it executes, but of course throws an error because X is still running (I get a large paragraph about reporting bugs, and a single line about X being active).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.