Gå til innhold

Arch vil ikke starte KDM automatisk


Anbefalte innlegg

Har brukt Arch Linux med KDM lenge, og tenkte jeg skulle teste Slim(login manager´en), men fikk ikke helt til og funke, og ville tilbake til KDM.

 

Jeg fjernet Slim fra systemet, og la tilbake KDM i /etc/rc.conf. Men når jeg starter maskinen kommer ikke kdm opp. Det står heller ingenting. Men når jeg starter X også kdm, så fungerer det.

 

#

# /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"

# 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="no_NO.ISO-8859-15"

LOCALE="nb_NO  ISO-8859-1"

HARDWARECLOCK="localtime"

TIMEZONE="Canada/Pacific"

KEYMAP="no"

CONSOLEFONT=

CONSOLEMAP=

USECOLOR="yes"

 

#

# -----------------------------------------------------------------------

# HARDWARE

# -----------------------------------------------------------------------

#

# Scan hardware and load required modules at bootup

MOD_AUTOLOAD="yes"

# Module Blacklist - modules in this list will never be loaded by udev

MOD_BLACKLIST=()

#

# Modules to load at boot-up (in this order)

#  - prefix a module with a ! to blacklist it

#

MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM

USELVM="no"

 

#

# -----------------------------------------------------------------------

# NETWORKING

# -----------------------------------------------------------------------

#

HOSTNAME="GakkBox"

#

# 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

#

# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")

#

lo="lo 127.0.0.1"

eth0="dhcp"

INTERFACES=(lo 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

#

gate

 

Noen som veit hva som kan være feil?

Lenke til kommentar
Videoannonse
Annonse

Legger ved default rc.conf

 

Skjult tekst: (Marker innholdet i feltet for å se teksten):

#

# /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"

# 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/unimaps

# USECOLOR: use ANSI color sequences in startup messages

#

LOCALE=

HARDWARECLOCK="localtime"

TIMEZONE=Canada/Pacific

KEYMAP=no

CONSOLEFONT=

CONSOLEMAP=

USECOLOR="yes"

 

#

# -----------------------------------------------------------------------

# HARDWARE

# -----------------------------------------------------------------------

#

# Scan hardware and load required modules at bootup

MOD_AUTOLOAD="yes"

# Module Blacklist - modules in this list will never be loaded by hwdetect

MOD_BLACKLIST=()

#

# Modules to load at boot-up (in this order)

# - prefix a module with a ! to blacklist it

#

MODULES=(!usbserial)

# Scan for LVM volume groups at startup, required if you use LVM

USELVM="no"

 

#

# -----------------------------------------------------------------------

# NETWORKING

# -----------------------------------------------------------------------

#

HOSTNAME="myhost"

#

# 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

#

# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")

#

lo="lo 127.0.0.1"

eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"

INTERFACES=(lo 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

# - prefix an entry with a ! to disable it

#

# Network profiles are found in /etc/network-profiles

#

#NET_PROFILES=(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 !hotplug !pcmcia network netfs crond)

 

# End of file

 

Den linja som starter med DAEMONS=... legger du inn kdm på slutten av.

Endret av wiley
Lenke til kommentar

Prøvde med orntlig rc.conf fil, men ingen endring.

 

Prøvde med how-toen fra wiki.archlinux.org, men da fikk jeg myyye errors på skjermen når jeg starta Linux. Orka ikke og skrive ned noe av de, men gjør det i en mere våken tilstand i morgen.

Endret av Gakkakk
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...