为什么我的默认改不了了
我是fc2,默认桌面改成kde后,我再改回gnome不能了,在桌面转换选项里,我改为gnome,重启后默认还是kde,请问怎么改啊 手动改一下/etc/sysconfig/desktop将里面的KDE改为GNOME试试。 看了,里面是gnome了,但是我启动后,还是直接进kde阿 再看看/etc/X11/prefdm的内容呢? #!/bin/shPATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
/usr/bin/rhgb-client -quit
fi
# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
fi
if [ -z "$preferred" ]; then
if which gdm >/dev/null 2>&1; then
preferred=gdm
elif which kdm >/dev/null 2>&1; then
preferred=kdm
elif which xdm >/dev/null 2>&1; then
preferred=xdm
fi
fi
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
exec `which $preferred` $* >/dev/null 2>&1
fi
if which gdm >/dev/null 2>&1; then
exec `which gdm` $* >/dev/null 2>&1
elif which kdm >/dev/null 2>&1; then
exec `which kdm` $* >/dev/null 2>&1
elif which xdm >/dev/null 2>&1; then
exec `which xdm` $* >/dev/null 2>&1
%
fi
# catch all exit error
exit 1 看不懂,好象默认是gnome 怎么没人回答了呢? 你重启后应该是kdm而不是kde吧?若你真是已把 /etc/sysconfig/desktop里的KDE改成GNOME,怀疑系统中找不到gdm。或你将 /etc/sysconfig/desktop加上可执行权限再试试。 kdm和kde什么区别?,怎么加上可执行权限? kdm是kde的登录管理器,通过它可以启动其他的桌面系统。kde是个桌面系统,象gnome那样。加可执行权限用chmod +x /etc/sysconfig/desktop
页:
[1]