LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 04-05-2008, 05:43 AM   #1
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Rep: Reputation: 0
Unhappy I Screwed up X and cannot get it back !!!!


I made the mistake of typing "telinit 3" and cannot restart the X server on Mandriva 2008...

Please, I had this working great and now I am totally screwed.

I have tried telinit 5 with no luck and I am on tty1 fullscreen with seemingly no way out. :-(


Thanks In Advance

Last edited by zurkeyon; 04-05-2008 at 05:49 AM.
 
Old 04-05-2008, 06:10 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
just reboot your default run level should be 5 and you should get in telint cannot change your X configuration
 
Old 04-05-2008, 06:13 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well typically you'll change the runlevel like this, as you did:
Code:
init 2
the runlevel numbers ("normal" multiuser runlevels, or "unreserved") are 2-5, so try those out. On many systems one or two are used for graphical login (i.e. on those runlevels the graphical login manager is launched) and the rest are text login consoles. Runlevel 0, 1 and 6 are "special" - reboot, single-user and shutdown, so those you shouldn't try with init unless you're playful.

If none of the numbers 2-5 bring you back to X, you can always restart and the machine ought to boot up normally. You haven't done nothing permanent: to change the default runlevel (permanently) you would need to be root and edit /etc/inittab (or equivalent). Another option to get X running is to run 'gdm' (if Gnome; kdm if KDE or xdm else, or whatever you use) as root, which brings you the graphical login manager. You could also run 'startx' if you have a .xinitrc file which starts something (terminal, window manager, ...) as a regular user and have X that way.

Changing runlevels with init is nothing dangerous, don't panic
 
Old 04-05-2008, 06:21 AM   #4
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Whatever I did I cannot get X working again.
I tried to install the Nvidia drivers but they failed, did that do this ?
 
Old 04-05-2008, 06:38 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
That sounds more than probable. What error message(s) does X give you when you try to run 'startx' ? You can see the same messages by reading the logfile:
Code:
less /var/log/Xorg.0.log
Did the installation fail or succeed, what do you think?

I'd say you should reconfigure your X, and if that doesn't help, try to reinstall the gfx driver again and then reconfigure X. Note that to install the gfx driver, you need to 'init 3' (like you did), because if X is running, the setup doesn't probably want to start..

There are usually some configuration scripts for X that create a configuration semi-automatically, after you answer a few questions. Actually the nvidia driver might have installed one for you (see README for that), but even if it didn't, try running 'xorgconfig' or 'xorgconf' or 'xconfig' or something similar (as root; before doing that, make a backup of our current configuration just in case: 'cp /etc/X11/xorg.{conf,conf.backup}').

Also read the README file again that should have come with the nvidia driver.

Last edited by b0uncer; 04-05-2008 at 06:40 AM. Reason: typos; damn new keyboard
 
Old 04-05-2008, 03:01 PM   #6
zurkeyon
LQ Newbie
 
Registered: Apr 2008
Posts: 20

Original Poster
Rep: Reputation: 0
The install failed... Pulled the drivers.... still no X

Thanks 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
Please help me get back into WinXP. I screwed up Grub Boot Loader deived Linux - Newbie 8 10-31-2008 09:23 PM
Have I screwed it? Jongi SUSE / openSUSE 6 10-20-2005 11:15 AM
I screwed something up NobodyImportant Linux - Newbie 1 09-17-2004 09:10 PM
X is all screwed up...Please help. bshelton Mandriva 2 06-16-2004 01:05 PM
I Screwed Myself Sathe Linux - General 6 02-08-2002 02:32 PM


All times are GMT -5. The time now is 06:48 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