You are not logged in.
Pages: 1
Okay so the other day I accidently deleted /etc/passwd. Now everything is really screwly. One of the problems i've been facing latley is that now I cant get KDE to startup automaticly. Now I have to login through console, then i have to manually type "startx" in order for KDE to start.
Heres my /etc/inittab
\#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
#id:5:initdefault:
[...]
#x:5:respawn:/usr/bin/kdm -nodaemon
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file
root:x:0:0:Superuser:/:/bin/bash
tyler:x:1000:1001::/home/tyler:/bin/bash
hal:x:82:82:HAL daemon:/:/bin/false
Last edited by Kidfork (2011-01-12 23:09:03)
16-Year Old Linux User
Arch Linux AMD64, 4GB DDR2, 320HDD 2.7 Pentium Dual, Geforce 9500 GT
Former Ubuntu/Windows User
Offline
Your default run-level is commented out:
Offline
It is much easier to start your graphics with a daemon. Just add kdm to the end of your daemons in /etc/rc.conf
Offline
With either of the options, I still have to console login and "startx"
16-Year Old Linux User
Arch Linux AMD64, 4GB DDR2, 320HDD 2.7 Pentium Dual, Geforce 9500 GT
Former Ubuntu/Windows User
Offline
Post a copy of your rc.conf
Offline
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK=""
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond alsa kdm)
16-Year Old Linux User
Arch Linux AMD64, 4GB DDR2, 320HDD 2.7 Pentium Dual, Geforce 9500 GT
Former Ubuntu/Windows User
Offline
From what I understand if you want to use kdm as a daemon then you need to uncomment
#id:3:initdefault:
in /etc/inittab
Rauchen verboten
Offline
From what I understand if you want to use kdm as a daemon then you need to uncomment
#id:3:initdefault:
in /etc/inittab
Nope, still the same, still have to "startx"
16-Year Old Linux User
Arch Linux AMD64, 4GB DDR2, 320HDD 2.7 Pentium Dual, Geforce 9500 GT
Former Ubuntu/Windows User
Offline
You simply have to uncomment
#id:5:initdefault:
#x:5:respawn:/usr/bin/kdm -nodaemon
both lines. But this is well covered in the wiki (as usual....)
Offline
You simply have to uncomment
#id:5:initdefault:#x:5:respawn:/usr/bin/kdm -nodaemon
both lines. But this is well covered in the wiki (as usual....)
I've done this, and it unfourtunetly doesn't work.
16-Year Old Linux User
Arch Linux AMD64, 4GB DDR2, 320HDD 2.7 Pentium Dual, Geforce 9500 GT
Former Ubuntu/Windows User
Offline
why don't you have the dbus daemon running?
Offline
groupadd -g 135 kdm &>/dev/null
useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
Offline
Pages: 1