flarefox Posted January 22, 2012 Report Share Posted January 22, 2012 I want to just have bash show up when I start my machine, but it's not working. I have tried changing the inittab from 5 to 3. I selected "I do not want to automatically start X on boot" when configuring the graphics/display drivers and boot options. I also tried adding on the boot option "text" (sans quotes). Every time, kdm loads by default. What's going on? Is there some new/other option I should know about? I'm trying to get it to boot, auto loginto a shell, and then load a few programs that run in the background of my server box since using the graphical interface is way more than I need on this system right now. I still want it for if I decide to do something, but I don't want to use it. Help? Thank you! Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 23, 2012 Report Share Posted January 23, 2012 Maybe there is a service loading. Check: chkconfig --list | grep -i dm to see if any services are here relating to display manager. Could be kdm, gdm, xdm, or something similar. I forget how Mandriva might have it, as I'm not using it right now. Quote Link to comment Share on other sites More sharing options...
flarefox Posted January 26, 2012 Author Report Share Posted January 26, 2012 Thanks! I saw that mandriva is probably going to be closing soon. What version of linux does everyone recommend instead? What's close? Quote Link to comment Share on other sites More sharing options...
flarefox Posted January 26, 2012 Author Report Share Posted January 26, 2012 Or not....I tried that out. I searched for dm. I found the thing that launches the window manager and disabled it. It didn't change anything! This is crazy and stupid! Who would've thought it would ever be so difficult to disable the gui in linux? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 26, 2012 Report Share Posted January 26, 2012 Please provide the output of: chkconfig --list and also add here the /etc/inittab: cat /etc/inittab Quote Link to comment Share on other sites More sharing options...
flarefox Posted January 27, 2012 Author Report Share Posted January 27, 2012 Here is the full chkconfig --list output: o@localhost ~]$ sudo chkconfig --list Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overriden by native systemd configuration. abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off 7:off acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:on alsa 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off atd 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on avahi-daemon 0:off 1:off 2:off 3:on 4:off 5:on 6:off 7:off checkflashboot 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off cpufreq 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off dm 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off haldaemon 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on hddtemp 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off httpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off lm_sensors 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off lvm2-monitor 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off mandi 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on mdadm 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on mtinkd 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off mythbackend 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off netfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on network 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off network-auth 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off network-up 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off networkmanager 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off nfs-common 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off nfs-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off oki4daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off openl2tpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off openvpn 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off partmon 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on plexmediaserver 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off pppoe 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off pptp 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off preload 0:off 1:off 2:off 3:off 4:off 5:on 6:off 7:off resolvconf 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:on shorewall 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off smb 0:off 1:off 2:off 3:on 4:on 5:on 6:off 7:off sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off 7:off upsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off upsmon 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off vboxadd-timesync 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off vnstat 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off wlan 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off xl2tpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off And here is inittab: @localhost ~]$ cat /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 Mandriva Linux 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: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 1:2345:respawn:/sbin/mingetty --autologin dee --noclear 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 # Single user mode ~~:S:wait:/bin/sh It's also supposed to have a shell auto login, but that doesn't work, either. Sorry to be so much trouble! :( Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 27, 2012 Report Share Posted January 27, 2012 Try: systemctl disable dm Mandriva has systemd scripts and SysV also, so it could explain why it looks disabled, when in fact it's being controlled elsewhere. Also check what else is in /etc/init.d and post back if it doesn't work: ls /etc/init.d/ Quote Link to comment Share on other sites More sharing options...
flarefox Posted January 29, 2012 Author Report Share Posted January 29, 2012 It's still not working. I looked through the mandriva init.d scripts and couldn't find anything which would do that. localhost ~]$ ls /etc/init.d/ abrtd* ip6tables* network-auth* resolvconf* acpid* iptables* networkmanager* rpcbind* alsa* killall* network-up* rsyslog* apmd* lm_sensors* nfs-common* shorewall* atd* lvm2-monitor* nfs-server* single* avahi-daemon* mandi* ntpd* smb* checkflashboot* mandrake_everytime* oki4daemon* sound* cpufreq* mandrake_firstime* openl2tpd* sshd* crond* mdadm* openvpn* udev-post* cups* messagebus* partmon* upsd* dm* mtinkd* plexmediaserver* upsmon* functions mysqld* portreserve* vboxadd-timesync* haldaemon* mythbackend* pppoe* vnstat* halt* netconsole* pptp* wlan* hddtemp* netfs* preload* xl2tpd* httpd* network* reboot@ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.