LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-17-2003, 12:02 PM   #1
hurricane
Member
 
Registered: Oct 2003
Distribution: College Linux 2.3
Posts: 43

Rep: Reputation: 15
Unhappy x wont start


when logging as root and starting X it loads ang goes through the motions, but then the screen goes blank and then i get back to the terminal screen with the "waiting for x server to shut down" line. im logged in as a normal user and it works fine for some reason

any ideas?
 
Old 10-17-2003, 12:33 PM   #2
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
read the log file: /var/log/XFree86.0.log, it might give a hint.
Can you start kdm as root?
Then try to login as root or normal_user and see where that gets you.

This page is an interesting read: file:///usr/X11R6/lib/X11/doc/html/xinit.1.html

HTH
 
Old 10-17-2003, 12:38 PM   #3
hurricane
Member
 
Registered: Oct 2003
Distribution: College Linux 2.3
Posts: 43

Original Poster
Rep: Reputation: 15
ran kdm and now im in... dunno y this works and startx dosnt.

just another quick question. how do i run kdm from bootup? so that when i boot into linux, kdm comes up instad of a terminal screen?
 
Old 10-17-2003, 01:06 PM   #4
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
Edit '/etc/initab' and set default runlevel to 4.

---------
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
---------
 
Old 10-17-2003, 02:09 PM   #5
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
or add a line to the end of rc.local:
/opt/kde/bin/kdm

BTW, to get back to command line without killing x, use key combo
ctrl-alt-F1, then ctrl-F7 to get back into x.

<begin preaching>
you really shouldn't need to go into x as root, with su, sudo, xhost
and whatnot, you'll avoid trouble if you avoid being root user
as much as possible.
<end preaching>
 
  


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
X wont start fester2001 Linux - Software 2 09-02-2004 12:12 AM
x wont start! Username[SWE] Debian 5 08-02-2004 04:17 PM
x wont start jsmarshall85 Debian 14 07-22-2004 04:41 PM
X Wont Start Avatar33 Linux - General 3 10-09-2003 04:15 PM
X wont start ..help dilbert Linux - Software 4 03-18-2002 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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