LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2003, 01:24 PM   #1
andyvan4866
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
no x windows on bootup


Hi,

I installed RH9 and had no problems for a couple weeks until I messed around and tried to install LTSP on my machine.

Something happened so that X wouldn't start -- although, I can log in to the text screen and then type "startx" and things work normally after that.

here is a copy of my /etc/inittab

#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# 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:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf:owerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345owerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
#
# The following 'xdm' line was added Thu Aug 7 20:23:22 PDT 2003
# by the ltsp installation script
#
#x:5:respawn:/usr/X11R6/bin/xdm -nodaemon

i commented the last line (seems like that might be part of the problem) and uncommented the line after "run xdm in runlevel 5" but still no graphical login like i used to have...

any ideas, or other places to check for error messages, etc.?

thanks
andy
 
Old 08-11-2003, 01:27 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
for X error messages you'll usually find them in :
/var/log/xfree86.0.log
 
Old 08-11-2003, 02:11 PM   #3
andyvan4866
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
but i dont see any problems there. (not that i know what i am looking for)

x starts up just fine.

the problem seems that i cant get the graphical login to start in runlevel 5. i can log in in a window that looks like runlevel 3 and then type startx and then i get everything.


here is the last line from the XFree86.0.log (it seems to be the only line that might be suspect)
AUDIT: Mon Aug 11 11:54:45 2003: 2855 X: client 4 rejected from local host

is there somewhere else i can look to see why the prefdm program isnt running?
 
Old 08-11-2003, 08:46 PM   #4
andyvan4866
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
any chance anyone knows what

x:5:respawn:/etc/X11/prefdm -nodaemon

does?

thanks
 
  


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
programs and windows launching on bootup ergo_sum Linux - Newbie 6 05-03-2005 09:18 PM
I Fedora Core 2 (windows bootup problem) not in grub but in partions setup fromFedora maximalred Fedora 0 01-15-2005 10:39 PM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 03:28 AM
Bootup Mikewitt DamnSmallLinux 4 01-24-2004 09:49 AM
GRUB hanging at bootup (Fedora Linux, dual boot Windows XP) Forezt Linux - Software 4 12-07-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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