Проблема в следующем. На ноутбуке стоит система SLED 11 SP2. Изначально при установке системы устанавливал рабочий стол Gnome. Потом решил посмотреть как будет выглядеть рабочий стол KDE4.Переключился нормально. Только вот теперь на Gnome не переключается. Т.е. выбираю Gnome но включается снова KDE 4.
Переключение между Gnome и KDE4
А как переключаете? Средствами менеджера входа в систему KDE - KDM? Там есть возможность выбрать одно из установленных DE.
Да, при входе в систему выбираю Gnome, а грузится все равно KDE.
Bugor29,
Покажите:
cat /etc/sysconfig/displaymanager
cat /etc/sysconfig/windowmanager linux-enterprise:/home/home # cat /etc/sysconfig/displaymanager
## Path: Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Type: string(kdm,kdm3,kdm4,xdm,gdm,wdm,console)
## Default: ""
#
# Here you can set the default Display manager (kdm/xdm/gdm/wdm/console).
# all changes in this file require a restart of the displaymanager
#
DISPLAYMANAGER="gdm"
## 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="home"
## 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="yes"
## 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
# and gdm. 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"). Note
# that remote user can never shutdown in GDM.
#
DISPLAYMANAGER_SHUTDOWN="auto"
## Type: string
## Default: ""
#
# Mode to configure on output devices by default
# (RANDR 1.2 compatible drivers only).
#
# If set to "auto", DISPLAYMANAGER_RANDR_MODE_auto is used on laptops, and
# the empty string on workstations.
#
# The output is not explicitly enabled (read: disabled) if set to an empty
# string.
# If the variable contains a fully configured modeline (see default of
# DISPLAYMANAGER_RANDR_MODE_auto), the mode is defined and set.
# If the variable contains a mode name only, the mode has to be defined
# already.
#
# If a monitor is attached during Xstartup, or when invoking "xrandr --auto"
# during runtime, the output is correctly configured and a mode is
# automatically selected if none has been used so far.
#
# Variables are checked according to their extension for
# VGA DVI_I DVI_D DVI_A Composite S_Video Component LFP Proprietary
#
DISPLAYMANAGER_RANDR_MODE_VGA=""
## Type: string
## Default: "1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
#
# Mode to use for laptops for DISPLAYMANAGER_RANDR_MODE_* on laptops only,
# when the according variable is set to "auto".
# (RANDR 1.2 compatible drivers only).
#
DISPLAYMANAGER_RANDR_MODE_auto="1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
## Path: Desktop/Display manager
## Type: string(Xorg)
## Default: "Xorg"
#
DISPLAYMANAGER_XSERVER=Xorg
## 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: SUSE
#
# Define the theme to be used by kdm. If empty, the traditional login
# window is used (which lacks some features)
#
DISPLAYMANAGER_KDM_THEME="SUSE"
## 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".
linux-enterprise:/home/home # cat /etc/sysconfig/windowmanager
## Type: string
## Default:
## Path: Desktop
## Description: default mouse cursor theme
#
# Name of mouse cursor theme for X11. Possible themes can be found
# in /usr/share/icons/
#
X_MOUSE_CURSOR="DMZ"
## Path: Desktop/Window manager
## Description:
## Type: string(gnome,startkde,startkde3,startxfce4,twm)
## Default: kde
## Config: profiles,kde,susewm
#
# Here you can set the default window manager (kde, fvwm, ...)
# changes here require at least a re-login
DEFAULT_WM="gnome"
## Type: yesno
## Default: yes
#
# install the SuSE extension for new users
# (theme and additional functions)
#
INSTALL_DESKTOP_EXTENSIONS="yes"
## Type: yesno
## Default: yes
KDE_USE_IPV6="yes"
## Path: Desktop
## Description: prepare global sycoca database for faster first startup
## Type: list(yes,initial,no)
## Default: initial
#
# building a global sycoca database, which can be used at first user
# login in KDE
#
KDE_BUILD_GLOBAL_SYCOCA="initial"
## Type: yesno
## Default: yes
#
# IDN support can get disabled to avoid DNS phishing for example.
#
KDE_USE_IDN="yes".
Bugor29,
Покажите (от пользователя):
$ cat ~/.dmrchome@linux-enterprise:~> cat ~/.dmrc
[Desktop]
Session=kde4
home@linux-enterprise:~>
Снесите GDM, поставьте KDM и с выбором DE всё сразу волшебно станет хорошо!
Bugor29,
Замените
Session=kde4на:
Session=gnomeВариант с заменой gdm на kdm вполне имеет место быть (правда если будете удалять КДЕ, то не очень хороший).
Снесите GDM, поставьте KDM и с выбором DE всё сразу волшебно станет хорошо!
Зачем сносить? Нельзя что ли
DISPLAYMANAGER="gdm"изменить на
DISPLAYMANAGER="kdm"и от этого волшебно не станет хорошо?
Смотря где. На Дебиане канает, а на Убунте иногда какие-то ваще левые конфиги начинают ссориться. Поэтому я посоветовал 100% рабочее.
Вариант с заменой gdm на kdm вполне имеет место быть (правда если будете удалять КДЕ, то не очень хороший).
И что такого страшного в сносе KDE при оставлении KDM? Вона у мну висит KDM сам по себе, никому не мешает, только как триггер - LXDE/Openbox и никакого KDE близко не лежало.
Замените
Session=kde4
на:
Session=gnome.
Спасибо, все получилось