Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Mandrake 8.2/PPC on my iBook, and for some reason, XWindows has stopped launching after startup. I instead get a prompt and have to login through the shell and then do 'startx' to get into GNOME (I had to make a .xinitrc file to stop it from starting into KDE automatically). I have checked /etc/inittab and it is set to use runlevel 5, and when Linux is starting up, it even says "Switching to runlevel 5". But it just doesn't open X.
I do have a line like that. Here is what I think you meant by "the program it is running",
5:2345:respawn:/sbin/mingetty tty5
I guess that would mean that it is running tty5 in runlevel 5 (which I don't believe is graphical). So I commented that line out and put in "5:2345:respawn:/usr/bin/gdm" to check that out. It does let me graphically log in (which is nice), but that is the GNOME Desktop Manager. My "old" login screen was a Mandrake login screen, not specific to any WM. Of course, until we get it back to the Mandrake screen, I'll leave gdm in there because it is certainly nicer than text .
moses ():
There were some errors in the log,
(EE) RADEON(0): Cannot read V_BIOS (5)
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch. [dri] radeon.o kernel module version is 1.1.1 but version 1.2.x is needed. [dri] see http://gatos.sf.net/ for an updated module [dri] Disabling DRI.
(EE) RADEON(0): [drm] failed to remove DRM signal handler
Any ideas if those errors are the cause of the no-x problem?
Thanks for the help, all!
Last edited by mackie_lin; 11-25-2002 at 06:03 AM.
# Things to run in every runlevel.
ud::once:/sbin/update
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/bin/false
# 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::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/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
s2:2345:respawn:/sbin/mgetty /dev/ttyS0
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
I'm not sure what you would like me to do that with that inittab file. I tried copying it into my own (I backed up my copy and just pasted what you posted into a new one and restarted), but all that succeeded in doing was forcing me into a text login again.
I'm not sure where to look for this "program to start the login manager" that you were referring to in the post before your latest one. It worked fine before. I have no idea what happened to make it stop.
Btw, if you couldn't already tell, I am really a newbie at this, so you have to be really specific when giving me instructions.
And thanks for the help you have been providing so far.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
David's inittab defaults to runlevel 3, which is the console. You can't just
copy and paste to your file, you need to change the default runlevel to 5,
id:3:initdefault:
should be
id:5:initdefault:
When I copied his file into mine, I did change the runlevels to 5 (except sysinit which I made 3). It didn't work.
My original inittab file already had the prefdm command at the bottom, the exact same one as in your file, David. This is really confusing me as to why it won't start graphically.
You mean run them when I have to log in via shell? I would think they wouldn't work when I am already in GNOME, correct? I'll have to do that when I get home this evening.
I have kdm, but it didn't want to load up. GDM is what I have been using for the time being (because the normal startup screen stopped working). I ever tried XDM, but there is no way that is right (and there is no way I would ever use that).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.