LinuxQuestions.org
Help answer threads with 0 replies.
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 08-18-2002, 04:01 PM   #1
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Rep: Reputation: 0
GUI Login


Hi, I know this question has been asked before, but I can't seem to fix it. I get the command line when I boot up Linux, but I want to start with the GUI. The weird thing is my runlevel is already set at 5. What should I do?
 
Old 08-18-2002, 04:06 PM   #2
racecardude14
LQ Newbie
 
Registered: Aug 2002
Posts: 26

Rep: Reputation: 15
well if you think its been asked befpre, do a search
 
Old 08-18-2002, 04:10 PM   #3
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
I have searched; that's what I meant when I said I can't seem to fix it. The stuff in other threads hasn't helped.
 
Old 08-18-2002, 04:20 PM   #4
racecardude14
LQ Newbie
 
Registered: Aug 2002
Posts: 26

Rep: Reputation: 15
sorry man, i did the same for my "obvious" question and it didnt work either
 
Old 08-18-2002, 07:46 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If you're booting to RL5 and still getting to the text prompt, perhaps there's something wrong with your X setup. Since you're at the command prompt, try running startx and see what happens. If the screen does weird stuff and then drops you back to the prompt, examine the output on screen and also what is in the log files (/var/log/XFree86.?.log). If all seems well, then try manually dropping back to RL3 and then going back to RL5 and see if X starts then.
 
Old 08-18-2002, 10:32 PM   #6
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
startx has always worked fine.

I tried setting the RL to 3 and back to 5 (I assumed you meant by editting /etc/inittab) but it didn't work.
 
Old 08-18-2002, 11:24 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Is it slackware you are using? For slackware the X runlevel is 4
 
Old 08-18-2002, 11:32 PM   #8
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Nope, Red Hat.
 
Old 08-18-2002, 11:47 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
see if you have this line in your /etc/inittab
x:5:respawn:/etc/X11/prefdm -nodaemon
Should be the last line in the file
 
Old 08-19-2002, 12:05 AM   #10
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Yep, I have it.
 
Old 08-19-2002, 01:18 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
How's about this, paste a copy of your /etc/inittab file here, and then someone might be able to help you dig it out of there.

Cool
 
Old 08-19-2002, 10:50 PM   #12
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
#
# 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

# Things to run in every runlevel.
ud:nce:/sbin/update

# 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
# xdm is now a separate service
:5:respawn:/etc/X11/prefdm -nodaemon
 
Old 08-19-2002, 11:52 PM   #13
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
jellopudding, the last line of your inittab file doesn't match what neo77777 gave you. The ' x ' is missing at the begining of the line.

Your line:

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

neo77777's line:

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

Try putting the ' x ' in your line.
 
Old 08-20-2002, 12:07 AM   #14
jellopudding
LQ Newbie
 
Registered: Aug 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Hmm, I'm pretty sure I had the x in there before, and I don't remember taking it out... that's weird. Anyway, it still doesn't work when I put it back in.
 
Old 08-20-2002, 03:17 AM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well then, what does prefdm return for you? it should be xdm, gdm or kdm, if that falls out presumably that would be a point of failure
 
  


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
login with GUI josefh Debian 3 10-12-2005 10:25 PM
Login GUI ?? 999 Linux - Newbie 2 05-13-2005 04:26 PM
Text Login to GUI Login stakhous Linux - Newbie 6 02-14-2005 10:11 PM
login GUI redknight LinuxQuestions.org Member Success Stories 1 06-22-2004 01:14 PM
GUI Login gone??? thiamhong Linux - General 5 12-12-2002 11:42 AM

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

All times are GMT -5. The time now is 02:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration