LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-17-2004, 12:33 AM   #1
SpikeyRob
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
KDE wont start after installing apache2 in Suse 9.1


I am a complete noob, but I had suse 9.1 running perfectly. Then I used yast to install apache2 and now kde wont start. The kernel spits out its usual messages and says everything passed, but then instead of launching kde, I am now prompted in the kernel for a user name and password. I enter that, and it accepts the password, then displays the message "Have lots of fun". Then it sits in the kernel and does nothing. I uninstalled apache2 in yast text mode, it didn't help.

Please keep in mind I am a noob.
 
Old 11-17-2004, 01:03 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You can reinstall apache, if you like.
Firstly, a bit of info........

You are not "in the kernel" - you are in linux.
Here is what happens....

The way that linux works, is there are several different states of operation. The differences between them, are what state the machine is in, what the kernel is doing, etc.. These are called runlevels.
You can control them with the command init as root. For more info, try:
Code:
user@machine$ man init
At any rate, you are now in runlevel 3, which is usually the default.
This will boot the kernel, launch any daemons and services needed to run your apps, hardware, etc, and then bring you to a login prompt. You can then login to the machine, and you are staring at a prompt.
This is in the operating system. It's the same, as starting XP, and looking at your desktop. At the command prompt, the operating system is ready to work, and it assumes you are too.

However, if you need a GUI, or simply prefer to use one, you have the option of doing so. You can either run startx, or you can edit the default runlevel, to boot you straight into your GUI. This, I assume, is what you were doing before yast messed it up.

You can change your default runlevel by editing one file: /etc/inittab as root

When you do, it will come up, and look something like this:
Code:
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:
You want to make sure that your runlevel 5, is X11 (it is 4 for some), and if it is, change the last line, from a 3 to a 5, so that it reads like this:
Code:
id:5:initdefault:
Save your change, logout, reboot, and you should be fine....
 
  


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
kde wont even start (libqt-mt.so.3 error) Goo Slackware 4 10-24-2004 09:54 AM
KDE wont start with autologin petermcp Linux - Software 5 07-03-2004 08:19 AM
Kde wont start openGL screensavers Timeturtle Linux - Software 2 07-02-2004 07:10 PM
apache2 wont start after upgrade mdk10 gungner Mandriva 0 04-25-2004 12:11 PM
KDE 3.1 wont start at login, but only for one user nudeatom Mandriva 1 01-07-2004 05:26 PM

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

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