LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-30-2003, 01:17 PM   #1
Rudebr00d
Member
 
Registered: Jun 2003
Posts: 34

Rep: Reputation: 15
shutdown command -> x11 error


I'm posting this from a computer lab away from home so the details may be a little sketchy.

I am currently running Mandrake 9.1.

In a rush to shutdown my linux box I was frantically trying different commands, forgetting that halt was what I was looking for. I was familiar with using shutdown -r now to reboot the computer, so without looking at the man pages to reference shutdown, I just used "shutdown now". Of course, instead of going through the shutdown process I was sent into single user mode and in runlevel 1 (I think). I then remembered that halt was the command I was looking for and then used that and left for a few days.

I come back to the box yesterday and boot it up to my command prompt login. I login and then try to start up X/KDE and it tries momentarily and then brings up an error. The error was similar to "screens not available". I rebooted and checked to ensure that I was booting into runlevel 5, which is the Mandrake default (I think). I'm pretty much at a loss as to why I'm unable to start up X and KDE and I don't have the first idea where to begin looking to correct my error. Also, while booting the initial process of checking for new hardware now fails everytime, although this one is a minor issue until I have new hardware .

Any help or advice would be appreciated. Thanks in advance.
 
Old 07-30-2003, 01:35 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Look into /var/log directory, for file XFree86.0.log. It's X WIndow log, all errors and warnings go there. If unsure, post a part of the file (what you think is important).
 
Old 08-04-2003, 12:04 PM   #3
Rudebr00d
Member
 
Registered: Jun 2003
Posts: 34

Original Poster
Rep: Reputation: 15
After checking the logs the error is actually related to the NVIDIA kernel module. When X is starting it is unable to open the module and thus I am sent back to the command prompt.

However, I still believe this problem is related to the fact I used the shutdown command and was switched out to single user mode. I understand that X cannot start in single user mode and this error did not occur until I used that command. What are some steps I can take to get rid of this problem.
 
Old 08-04-2003, 03:53 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
To switch to multiuser mode use
init 3
(console multiuser) or
init 5
(multiuser with X)
 
Old 08-04-2003, 09:41 PM   #5
Rudebr00d
Member
 
Registered: Jun 2003
Posts: 34

Original Poster
Rep: Reputation: 15
The system boots into runlevel 5 by default.

I tried using both init 3 and 5 and neither resolved the problem.
 
Old 08-06-2003, 08:53 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
What ahppens when you run:
modprobe nvidia
and then 'startx' (in runlevel 3)?
 
Old 08-06-2003, 09:06 PM   #7
Rudebr00d
Member
 
Registered: Jun 2003
Posts: 34

Original Poster
Rep: Reputation: 15
That did the trick Mara.

Thanks a ton for your help
 
  


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
killing x11 from the command line Kaamoss Slackware 9 10-16-2005 06:57 AM
x11 hangs on shutdown todd_seiler Linux - General 2 10-17-2004 06:47 PM
shutdown command mikedelo Linux - Software 7 03-15-2004 08:37 AM
shutdown command nelly_boy Linux - Software 11 08-03-2003 06:04 AM
Shutdown Command? AMDPwred Linux - General 1 01-25-2002 08:43 PM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration