LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDE wont start after installing apache2 in Suse 9.1 (https://www.linuxquestions.org/questions/linux-newbie-8/kde-wont-start-after-installing-apache2-in-suse-9-1-a-255841/)

SpikeyRob 11-16-2004 11:33 PM

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.

PenguinPwrdBox 11-17-2004 12:03 AM

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....


All times are GMT -5. The time now is 11:20 PM.