LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-16-2008, 06:53 AM   #1
sanriver12
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Help me get the GUI back


i have a nvidia 7300 graphic card (mandriva recognized it as GeForce 8 series) but compiz fusion wouldnt run so i downloaded the latest nvidia drivers following this instructions:

as root typed "telinit 3" then "sh NVIDIA-Linux-x86-169.12-pkg1.run"
but then i got an gcc error "check cc is in your path"

anyways, now when i boot i only get the command line, i tried doing "init 5", "telinit 5" and "ctrl alt F7"

please help me out
 
Old 03-16-2008, 07:13 AM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
startx?

Look at the xorg.conf:

$ sudo nano /etc/X11/xorg.conf.

If it sais: "Nvida", replace it with "nv"...

For what you tried to work you need compilation tools and the kernel headers. There ought to be an easier way though. When I was still using suse, I always looked at the jem report:
http://www.softwareinreview.com/linu...suse_10.3.html

There's a paragraph about installing the nvidia drivers.
 
Old 03-17-2008, 09:17 AM   #3
sanriver12
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
yeah i tried startx, no good either
i'm going to reinstall
 
Old 03-17-2008, 01:04 PM   #4
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 31

Rep: Reputation: 15
If it's not too late

Try [HTML]yum groupinstall "GNOME Desktop Environment"[/HTML] if you have a Red Hat or like distro. Worked for me. You'll need an internet connection.
 
Old 03-17-2008, 02:24 PM   #5
clsgis
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Rep: Reputation: 1
file a bug report

Quote:
Originally Posted by sanriver12 View Post
i have a nvidia 7300 graphic card (mandriva recognized it as GeForce 8 series) but compiz fusion wouldnt run so i downloaded the latest nvidia drivers following this instructions:

as root typed "telinit 3" then "sh NVIDIA-Linux-x86-169.12-pkg1.run"
but then i got an gcc error "check cc is in your path"

anyways, now when i boot i only get the command line, i tried doing "init 5", "telinit 5" and "ctrl alt F7"

please help me out
You broke your X Window System server by halfway installing a driver. Edit the file /etc/X11/xorg.conf. Find the line that says something like 'Driver "nv"' or 'Driver "Nvid"' and change the Nvid or nv to vesa. startx should work properly now. You're using your graphics system as a dumb frame buffer, no hardware acceleration.

When you get your system back, check the support forums for that Nvidia driver. Their installer should have tested for gcc, and refused to run if the GNU C Compiler wasn't working, and left your system alone. If you followed their instructions correctly and it broke your machine, do us all a favor and file a bug report with them. That's the only way these things get fixed. Don't assume one of the other thousand people it happened to is going to do it.

But if it turns out they warned you you needed GCC and you just skipped that step, post back here.
 
Old 03-17-2008, 05:07 PM   #6
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
You probably have the last working xorg.conf file in the /etc/X11, but renamed to xorg.conf.backup
or something similar. Applications or scripts that make changes to the xorg.conf file usually makes a backup copy. If you see xorg.conf.backup as an example, just rename it to xorg.conf and then run startx.

But in future scenarios, always make a backup of any system configuration file you edit and copy xorg.conf before any program makes changes to it. This saves headaches in the long run.

good luck
 
Old 03-17-2008, 05:28 PM   #7
larryfroot
LQ Newbie
 
Registered: Feb 2008
Location: I am a United Kingdom penguin
Distribution: Ubuntu / PClinuxOS
Posts: 22

Rep: Reputation: 15
this may sound tragic or merely sensible...but I keep a copy of my working xorg.conf on my pen drive. Especially as I have had the pleasure of trying to get my ubuntu (as it was then) laptop working with compiz with a FireGL 9000 radeon. It was not an edifying experience. When I finally achieved it I discovered I had screwed up the playback on my video players! Aaaargh is I think the term I used. But be a good boy scout. Keep your essential (and working) files - xorg.conf - fstab et all backed up on external media.

To be honest, it could get a little confusing doing a LOT of hacking on xorg.conf as the system backed up the different xorg.conf each time. At least with the original file in my pocket I could cut through the oooh was it xorg.conf.backup or xorg.conf.bak or was it xorg.conf.backup2....

Last edited by larryfroot; 03-17-2008 at 05:30 PM.
 
Old 03-17-2008, 05:45 PM   #8
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Why external?
When the hd is screwed, the backup will be of no use anyway...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to get back GUI in OpenSuse 10.2? montylee SUSE / openSUSE 2 01-02-2007 06:01 AM
I can't get from gui back to console nutbag Slackware 11 07-24-2005 09:16 AM
Lost Gui How do I get it Back Chancelor Linux - Hardware 1 01-17-2004 06:54 PM
can't get back to GUI Haldanite Linux - General 2 06-28-2003 11:10 PM
back up GUI software p_murugappan Linux - General 0 08-15-2001 03:13 PM


All times are GMT -5. The time now is 10:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration