LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 休想

关于SUSE9.3运行级5出现的登录框是xdm的问题……

[复制链接]
发表于 2005-4-18 21:39:22 | 显示全部楼层
scout168@linux:~> ls /etc/rc.d/rc5.d/
K05alsasound       K12nfs           S01fbset         S12running-kernel
K05earlykdm        K12nfsboot       S01isdn          S12splash
K05hal             K14mdnsd         S01random        S12sshd
K05xdm             K14portmap       S02earlykbd      S13hwscan
K06resmgr          K14splash_early  S03dbus          S13powersaved
K07cron            K16syslog        S04boot.udev     S14nscd
K08nscd            K17network       S05network       S14postfix
K08postfix         K18boot.udev     S06syslog        S14smbfs
K08smbfs           K19dbus          S08mdnsd         S15cron
K09hwscan          K20earlykbd      S08portmap       S16resmgr
K09powersaved      K21earlysyslog   S08splash_early  S17alsasound
K10cups            K21fbset         S10nfs           S17earlykdm
K10running-kernel  K21isdn          S10nfsboot       S17hal
K10splash          K21random        S12cups          S17xdm
K10sshd            S01earlysyslog   S12kbd
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-18 21:56:40 | 显示全部楼层
你确定系统默认的运行级是5吗?
回复 支持 反对

使用道具 举报

发表于 2005-4-18 22:31:21 | 显示全部楼层
#
# /etc/inittab
#
# Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany.  All rights reserved.
#
# Author: Florian La Roche, 1996
# Please send feedback to http://www.suse.de/feedback
#
# This is the main configuration file of /sbin/init, which
# is executed by the kernel on startup. It describes what
# scripts are used for the different run-levels.
#
# All scripts for runlevel changes are in /etc/init.d/.
#
# This file may be modified by SuSEconfig unless CHECK_INITTAB
# in /etc/sysconfig/suseconfig is set to "no"
#

# The default runlevel is defined here
id:5:initdefault:

# First script to be executed, if not booting in emergency (-b) mode
si::bootwait:/etc/init.d/boot

# /etc/init.d/rc takes care of runlevel handling
#
# runlevel 0  is  System halt   (Do not use this for initdefault!)
# runlevel 1  is  Single user mode
# runlevel 2  is  Local multiuser without remote network (e.g. NFS)
# runlevel 3  is  Full multiuser with network
# runlevel 4  is  Not used
# runlevel 5  is  Full multiuser with network and xdm
# runlevel 6  is  System reboot (Do not use this for initdefault!)
#
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
#l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6

# what to do in single-user mode
ls:S:wait:/etc/init.d/rc S
~~:S:respawn:/sbin/sulogin

# what to do when CTRL-ALT-DEL is pressed
ca::ctrlaltdel:/sbin/shutdown -r -t 4 now

# special keyboard request (Alt-UpArrow)
# look into the kbd-0.90 docs for this
kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."

# what to do when power fails/returns
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
#pn::powerfail:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# for ARGO UPS
sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING

# getty-programs for the normal runlevels
# <id>:<runlevels>:<action>:<process>
# The "id" field  MUST be the same as the last
# characters of the device (after "tty").
1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
#
#S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102

#
#  Note: Do not use tty7 in runlevel 3, this virtual line
#  is occupied by the programm xdm.
#
#

#  This is for the package xdmsc, after installing and
#  and configuration you should remove the comment character
#  from the following line:
#7:3:respawn:+/etc/init.d/rx tty7


# modem getty.
# mo:235:respawn:/usr/sbin/mgetty -s 38400 modem

# fax getty (hylafax)
# mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem

# vbox (voice box) getty
# I6:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6
# I7:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7

# end of /etc/inittab
回复 支持 反对

使用道具 举报

发表于 2005-4-18 23:16:28 | 显示全部楼层
解决了,我的xdm原来是等级5,改为等级2就行了,但suse的 字符界面的login:还会出现,等了十几秒然后出现kdm ,,,,
回复 支持 反对

使用道具 举报

发表于 2005-4-18 23:17:45 | 显示全部楼层
谢谢楼主!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-19 04:39:56 | 显示全部楼层
Suse 里面xdm要在启动的时候运行应该是5阿,不明白为什么改成2就行了……
回复 支持 反对

使用道具 举报

发表于 2005-4-19 12:08:37 | 显示全部楼层
我也不懂阿,只是试试,谁知道竟然可以了。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表