Autoatischer kde start unterbrochen

Hallo werte gemeinde, erst einmal zu mir ich bin der chris und neu in der linux gemeinde. also habt nachsicht wenn ich nicht alles direkt verstehe. ich mus das erst alles noch lernen. (sorry eigentlich bin ich nen windwsler).

So zu meinem Problem.

Ich habe opensuse 12.2 erfolgreich installiert mit allen server erweiterungen. Nach ne update bleibt der rechner nach neustart in der Konsole stehen. sprich an mus sich in der konsole anmelden und hat dann die konsole als hintergrund.

wenn ich mich als root anmelde und den befehl startx eingebe startet auch ganz normal der kde.

meine frage wie kann ich das so einstellen das der direkt nach neustart in den kde bootet.

Schau mal im Yast -> Runlevel

Da sollte als Standardrunlevel 5 eingestellt sein und der Dienst für die graphische Oberfläche (ich glaube xdm oder kdm) aktiviert sein.

Nie wieder machen !!! Root ist für Systemanwendung, man soll nie eine Arbeitsoberflache starten als root.

Schick mal Ausfuhr von


cat /etc/sysconfig/displaymanager

zwischen CODE Tags (das # im Editor)

@Fruchtratte
im yast ist nur xdm und der ist auch mit runlevel 5 steht aber als dienst nicht gestartet.

@knurpht

cat /etc/sysconfig/displaymanager
## Path:        Desktop/Display manager
## Type:        string(Xorg)
## Default:     "Xorg"
#
DISPLAYMANAGER_XSERVER="Xorg"
## Path:        Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Type:        string(kdm,kdm3,kdm4,xdm,gdm,wdm,entrance,console)
## Default:     ""
#
# Here you can set the default Display manager (kdm/xdm/gdm/wdm/entrance/console).
# all changes in this file require a restart of the displaymanager
#
DISPLAYMANAGER="kdm"

## Type:        yesno
## Default:     no
#
# Allow remote access (XDMCP) to your display manager (xdm/kdm/gdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed. For gdm, values will be updated after change.
# XDMCP service should run only on trusted networks and you have to disable
# firewall for interfaces, where you want to provide this service.
#
DISPLAYMANAGER_REMOTE_ACCESS="no"

## Type:        yesno
## Default:     no
#
# Allow remote access of the user root to your display manager. Note
# that root can never login if DISPLAYMANAGER_SHUTDOWN is "auto" and
# System/Security/Permissions/PERMISSION_SECURITY is "paranoid"
#
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="no"

## Type:        yesno
## Default:     yes
#
# Let the displaymanager start a local Xserver.
# Set to "no" for remote-access only.
# Set to "no" on architectures without any Xserver (e.g. s390/s390x).
#
DISPLAYMANAGER_STARTS_XSERVER="yes"

## Type:        yesno
## Default:     no
#
# TCP port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Remote X service should run only on trusted networks and
# you have to disable firewall for interfaces, where you want to
# provide this service. Use ssh X11 port forwarding whenever possible.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"

## Type:    string
## Default:
#
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.
#
DISPLAYMANAGER_AUTOLOGIN="admin"

## Type:        yesno
## Default:     no
#
# Allow all users to login without password, but ask for the user, if
# DISPLAYMANAGER_AUTOLOGIN is empty.
#
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"

## Type:        yesno
## Default:     no
#
# Display a combobox for Active Directory domains.
#
DISPLAYMANAGER_AD_INTEGRATION="no"

## Type:    list(root,all,none,auto)
## Default: auto
#
# Determine who will be able to shutdown or reboot the system in kdm.  Valid
# values are: "root" (only root can shutdown), "all" (everybody can shutdown),
# "none" (nobody can shutdown from displaymanager), "auto" (follow
# System/Security/Permissions/PERMISSION_SECURITY to decide: "easy local" is
# equal to "all", everything else is equal to "root").  gdm respects the
# PolicyKit settings for ConsoleKit. Shutdown configuration can be done via
# the polkit-default-privs mechanism.
#
DISPLAYMANAGER_SHUTDOWN="auto"
## Path:        Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Config:      kdm3
## Type:    string
## Default: 
#
# space separated list of users for which icons should be shown in KDM
# if empty, then take system defaults
#
KDM_USERS=""

## Type:    string
## Default: 
#
# Special greeting words in kdm
#
KDM_GREETSTRING=""

## Type:        string
## Default: 
#
# Defines extra Server Arguments given to the kdm display manager when
# starting a local display. Useful to override e.g. the -dpi setting.
# 
DISPLAYMANAGER_KDM_LOCALARGS=""

## Type:        string
## Default:     openSUSE
#
# Define the theme to be used by kdm. If empty, the traditional login
# window is used (which lacks some features)
# 
DISPLAYMANAGER_KDM_THEME="openSUSE"

## Type:        yesno
## Default:     yes
#
# Allow local access of the user root to your display manager. Note
# that root can never login if DISPLAYMANAGER_SHUTDOWN is "auto" and
# System/Security/Permissions/PERMISSION_SECURITY is "paranoid".
# This settings currently works only with KDM.
#
DISPLAYMANAGER_ROOT_LOGIN_LOCAL="yes"

Noch was wenn ich mich als admin anmelde und startx eingebe kommt folgende fehlermeldung:


xauth: file /home/admin/.serverauth.2252does mot exist
xauth: /stdin):2: unknown command "71c459252813de9786303d447d699ce1"

Fatal server error:
Cannot move old log file"/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"

Please consult The X.org Foundation Support
at http://wiki.x.org
for help

xinit: giving up
xinit: unable to connect to x server: connection refused
xinit: server error
-------------------------------------------------------------------------------------
xinit: failed. /usr/bin/Xorg is not setuid, maybe that´s the reaseon
If so either use a display manager (strongly recommend) or adjust /etc/permissions.local



Was sagt “who -r” nach dem booten? Wenn er nicht bis run level 5 bootet, wird der Dienst nicht gestartet.