LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-17-2004, 05:32 PM   #1
Chancelor
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Rep: Reputation: 0
Red face Lost Gui How do I get it Back


I was loading a SiS 315 Linux Driver so I could get the Video card working properly or should I say Better. anyway I had to copy a SiS_drv.o over the old one and when I tried it from My home directory it was denied so I logout out and booted into root and made the copy than not thinking I logged out and I couldn't Log back in. cuz I hadn't finished the install. I had just replaced a drivers file. anyhow being a green Newbie with a red face know. I need to know how I can recover from a command line (which I am not very good at actually I suck at it) I did make a backup before I changed the file. but I would just as soon try completing the install from the command line. I put the files in my home directory. and I copied the install instructions. from this web site winischhofer.net/linuxsisvga.shtml#download. Anyway any help would be great. I can untar and config, make those types of commands but that is about as far as it goes.

Thanks
Chancelor
 
Old 01-17-2004, 05:54 PM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
You can try to (from the command line) run 'xf86cfg -textmode' as the root user. This will bring you to the X config program, at which point you should set up your system as a pretty generic graphics card (svga at whatever resolution you're used to), which will work with any card. From there, you should be able to run gdm or kdm (gnome or kde, respectively) or startx, and use your gui again. Then, simply undo your mistake, and reset your video card to the proper type.

Your GUI config is /etc/X11/XFree86Config(-4). The -4 is sometimes optional, depending on the system. Simply copy your backup over it (with the 'cp' command as root), and you might fix the problem. On the other hand, if it's because you were updating a module, you might have to try the above solution, as the kernel module might be toast until you fix it, rendering it useless, unless that's got a backup as well, in which case you simply copy the old version over the new. As this is easier in a gui for many people, you'll probably prefer to use the above suggestion for anything more complicated than a simple copy. Also, you'll be able to use the GUI for popping in here to ask more questions, instead of dual booting or using another computer to do so.

Of course, <ctrl><alt><F1> will pop you out of a nonworking GUI into the command line, and <ctrl><alt><backspace> will unload a bad startx.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Login Account on Red Hat 9, How do I get it back? g0d Linux - Newbie 10 02-28-2004 05:37 PM
How do I bring back lost items in K menu? ihr bist weasel Mandriva 4 01-07-2004 04:36 PM
Lost passwords, how can I get back in? Skidlid Red Hat 10 09-22-2003 01:05 AM
can't get back to GUI Haldanite Linux - General 2 06-28-2003 10:10 PM
password lost, need to get back files moeminhtun General 10 01-09-2003 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration