LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-06-2004, 12:13 PM   #1
t3___
Member
 
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
PC Hangs when going from runlevel 3 to 5


Suse 9.0 - KDE 3.1

PC boots to runlevel 5 - I can log into the GUI sucessfully, and can drop to runlevel 3 (to save resources for running Daemons/ftp/etc) by entering init 3 at the command line.

However, when I try to go back to runlevel 5 (by entering init 5 at the command prompt) the computer loads the GUI login box and allows me to complete the GUI login again, but hangs immediatly thereafter at a blank blue (graphical) screen.... what you would see just before the KDE loading window appears. restarting the X server (cntrl+alt+backspace) takes me back to a frozen command prompt.

Am I going about changing runlevels the wrong way? If not, what logs should I check / where should I begin the troubleshooting process?

Any help would be greatly appreciated!

Tom
 
Old 02-06-2004, 12:58 PM   #2
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
/var/log/messages might be a good place to start
You could also try from command line:
startx > xlog.txt 2>&1
and then see what's in xlog.txt

I think there was a debugging option for startx, but I don't remember what it was.
 
Old 02-06-2004, 05:16 PM   #3
t3___
Member
 
Registered: Sep 2003
Posts: 240

Original Poster
Rep: Reputation: 30
nothing in the messages file, and my box does not have an xlog.txt file???

any other suggestions....

thanks
 
Old 02-11-2004, 02:49 PM   #4
t3___
Member
 
Registered: Sep 2003
Posts: 240

Original Poster
Rep: Reputation: 30
bump...

any other suggestions? Im trying to resolve this on a production server!

Thanks everyone in advance - Tom
 
Old 02-13-2004, 10:07 AM   #5
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
Quote:
Originally posted by t3___
my box does not have an xlog.txt file???
It won't have one until you execute startx like I suggested in prior post
Code:
startx > xlog.txt 2>&1
this launches X and saves any messages it generates, including potential error messages in xlog.txt file. The name is arbitrary, could use why_my_stpd_x_wont_boot if you like
 
Old 02-13-2004, 10:26 AM   #6
t3___
Member
 
Registered: Sep 2003
Posts: 240

Original Poster
Rep: Reputation: 30
ooopps... that was a rather stupid oversight... my bad.

lemme try that and I'll let you know what happens.
 
  


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
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
runlevel 3 aquaboot Debian 5 09-11-2005 09:54 PM
net driver causes system hangs (keyboard hangs) yjchen Linux - Networking 0 10-21-2004 10:12 PM
fedora hangs just before entering runlevel 5 (fresh install) daveiro Fedora 3 03-03-2004 03:46 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration