On 6/11/05, Ken Caldwell <[EMAIL PROTECTED]> wrote: > On Sat, 2005-06-11 at 10:35 +1000, Adam W wrote: > > Hi, > > > > Got a problem getting my machine to automatically boot into X. I can > > get it to boot into a console and then use 'startx' to get into X. but > > everytime i tell it to boot into X it just gives me a black screen > > when its meant to give me a logon screen. > What happens if you do > /etc/init.d/kdm start > or something like that (I'm not sure how Mandrake does things nor which > display manager you are running)
Will give it a try... currently using GDM... but i've tried changing between kdm, gdm and xdm and it does the same thing each time. > > It could possibly be a video card problem. I cannot switch between X > > (once started) and a console ( doing ctrl-alt-F1) and then back to X > > (doing ctrl-alt-F7). Gives me this same black screen. Looks like it > > has a problem switching. > Doing ctrl-alt-F7 assumes that there are gettys running on VTs 1 to 6 > but if, for example, you have only VTs 1 to 3 as I have on some of my > setups you would see this. What is in /etc/inittab? I know ctrl-alt-F7 works on this edition of MDK because i used to do it on another machine. here is my /etc/inittab: <snip> id:3: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::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 </snip> Thanks Adam. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html