LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-21-2008, 05:45 AM   #1
Jags_FL
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: OpenSUSE 11 Alpha 2 / Fedora 8 / Debian 4.0
Posts: 6

Rep: Reputation: 0
Exclamation KDE won't start; system starts in tty1


I just installed Slackware Current from the DVD installer. Installation went just fine.


After the first reboot and at each system startup afterwards, instead of KDE, I get this:

::::::

Welcome to Linux 2.6.23.16-smp (tty1)

xpc login:

::::::


And after log in as root, when I type " startx ", KDE loads just fine.


Afterwards I even installed latest nVIDIA drivers ( I've a 128MB nVIDIA GeForce 5200 card ) too but still at each system startup I have to enter startx in order to start KDE.


Any help is highly appreciated, many thanks in advance. - Jags
 
Old 02-21-2008, 06:18 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Edit /etc/inittab and change runlevel (from 3 to 4):
Quote:
id:3:initdefault:
to
Code:
id:4:initdefault:
 
Old 02-21-2008, 06:21 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You have to edit /etc/inittab and change
Code:
id:3:initdefault:
to
Code:
id:4:initdefault:
Edit: beaten to the answer
 
Old 02-21-2008, 06:44 AM   #4
Jags_FL
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: OpenSUSE 11 Alpha 2 / Fedora 8 / Debian 4.0
Posts: 6

Original Poster
Rep: Reputation: 0
Smile Thank you Guys !

"bathory" and "reddazz"


Thanks a million guys. It worked like a charm


You guys were very quick with your replies.


Now, is this normal ( that you have to change " id:3 to id:4 " ) or did I mess something up during installation ?


Thanks again, - Jags
 
Old 02-21-2008, 07:04 AM   #5
rutgerw
Member
 
Registered: Jun 2004
Location: Leiden, The Netherlands
Distribution: Slackware 10.2, SmoothWall Express v3, Kubuntu 7.04, Mac OS X.4
Posts: 69

Rep: Reputation: 15
It is normal in Slackware to change that line. By default Slackware starts in runlevel 3 (multi-user, text mode), whereas most other distributions start in a runlevel with a GUI.

Last edited by rutgerw; 02-21-2008 at 07:04 AM. Reason: Typo
 
Old 02-21-2008, 08:37 AM   #6
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
Also worth noting that, by default, run-level 4 only loads a console on tty6

I just can't live that way, and so I enable consoles on 2,3,4,5&6 like this:

Code:
$ diff /etc/inittab /etc/inittab.old

24c24
< id:4:initdefault:
---
> id:3:initdefault:
52,55c52,55
< c2:12345:respawn:/sbin/agetty 38400 tty2 linux
< c3:12345:respawn:/sbin/agetty 38400 tty3 linux
< c4:12345:respawn:/sbin/agetty 38400 tty4 linux
< c5:12345:respawn:/sbin/agetty 38400 tty5 linux
---
> c2:1235:respawn:/sbin/agetty 38400 tty2 linux
> c3:1235:respawn:/sbin/agetty 38400 tty3 linux
> c4:1235:respawn:/sbin/agetty 38400 tty4 linux
> c5:1235:respawn:/sbin/agetty 38400 tty5 linux
 
Old 02-21-2008, 03:06 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Quote:
Originally Posted by Jags_FL
And after log in as root, when I type " startx ", KDE loads just fine.
As a side note, running as root is a bad idea (as stated about 3 million times on these forums and elsewhere). It would be best to add a normal user and use that. You can then "su" to root whenever you need to perform administrative tasks (like installing programs).
 
Old 02-22-2008, 07:59 PM   #8
Jags_FL
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: OpenSUSE 11 Alpha 2 / Fedora 8 / Debian 4.0
Posts: 6

Original Poster
Rep: Reputation: 0
Smile Many Thanks

hi rutgerw, zordrak, and T3slider


Many thanks for your replies guys.



About Log in as a Root:

Thanks guys I know about that. This PC I have bought purely for experimental purpose, to learn Linux and Solaris, and hence there is not a single byte of data whatsoever on it. Moreover I format both HDs completely, almost every other day and start all over again for one or another reason.


Right now I have like 9 OSes installed on this PC along with Vista Ultimate and few weeks back I knew nothing of Linux / Multi Booting, and I also know I have a looooong way to go.



Thanks again guys. I highly appreciate your help. - Jags
 
Old 02-22-2008, 09:41 PM   #9
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Well, I would still suggest learning to create and use a normal user if you want to learn Linux (in case you ever need to use it for anything non-experimental, whether it's on a machine you own or not).
 
  


Reply

Tags
booting, current, init, kde, multi, root, slackware, tty1, x11


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
How to ensure that a script start before kde starts? adityavpratap Slackware 3 06-03-2007 04:42 AM
KDE starts on :0.0 and :0.1, to start only on :0.0 ..? RedDwarf Linux - Software 1 02-13-2005 01:36 AM
How do I start a program automatically when KDE starts up? zmaint Linux - Software 8 12-21-2004 05:52 PM
How to start programs when KDE starts CodeWarrior Linux - Software 5 02-09-2004 05:54 PM
Programs start when KDE starts face_master Linux - Software 1 07-20-2003 02:36 AM


All times are GMT -5. The time now is 01:41 PM.

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