LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1311|回复: 12

新安装的系统,登录不进去

[复制链接]
发表于 2003-6-6 18:20:56 | 显示全部楼层 |阅读模式
不知我在以前安装的redhat9.0中更改了什莫,重启后,在启动进程的过程中,先后出现了两个对话框(全都是乱码,但含xwindows的字样),先后选两次no才可继续下面的进程启动,否则画面一黑.出现:
redhat release (shrinke)
sonic(主机名) login:
循环如此..............
以后,我重装了系统,格了/分区,安装过程正常,安装结束显示start xwindows successfully...............但就是登录不进去,正确输入root,password(或其他帐户密码)都是画面一闪,又是如此:
redhat release (shrinke)
sonic(主机名) login:
"'''''''''''''''''''''''''''无奈啊!!!!!!!!!!!!!!!!!
但是single模式可进入!
我该怎莫办才可登录入系统?:mad:
发表于 2003-6-6 19:45:57 | 显示全部楼层
再添加一个普通用户来试试,在text模式下。
 楼主| 发表于 2003-6-6 23:11:37 | 显示全部楼层
:help 我的系统连text模式都登录不进去,原来有一个普通用户,也登录不上.现在只好在single模式下adduser一个新用户,还是登录不上,但选graphic模式却可出现登的图形界面,有时我再'会话'中选failsafe登录,屏幕出现蓝白条道...........我不知道怎莫办???????
 楼主| 发表于 2003-6-6 23:15:37 | 显示全部楼层
xfe86config文件如下看能否有帮助(我已编译过nvidai驱动):
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        # Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        # Load  "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us_intl"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "SyncMaster"
        DisplaySize  320        240
        HorizSync    30.0 - 71.0
        VertRefresh  50.0 - 160.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 2 GTS (generic)"
        VideoRam    32768
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
发表于 2003-6-7 14:25:30 | 显示全部楼层
我的系统连text模式都登录不进去,原来有一个普通用户,也登录不上.现在只好在single模式下adduser一个新用户,还是登录不上,但选graphic模式却可出现登的图形界面,有时我再'会话'中选failsafe登录,屏幕出现蓝白条道...........我不知道怎莫办???????


加入用户的同时,要把密码也设定好了。

是不是用KDM引导的?进入的是哪个桌面环境??KDE还是GNOME??
 楼主| 发表于 2003-6-7 22:47:23 | 显示全部楼层
不太清楚,好象是xdm,在安装rh9配置xwindows时没让我选默认的是gnome还是kde(rh7.2有).我在single模式下执行/sbin/telinit 5(或3)都不
能登入,添了两个user,一个root组,另一新组,都设了密码,仍不行~~~~~~~~
南北楼主,如何选kdm启动,谢谢!!!!!!!
发表于 2003-6-8 22:53:46 | 显示全部楼层
 楼主| 发表于 2003-6-17 21:32:03 | 显示全部楼层
北南大哥:真的十分感谢你的热情,我想是我描述的不清楚,我成功装rh9.0后,启动了各种进程.在登录界面出现后,正确输入了用户和密码,然后画面就一黑一黑的,又回到了登录时的界面......但我又重装了rh7.2,首先默认的图形界面为gnome,仍旧登陆不进去~~~~~~~~当我又一次换为kde时却可以了???????印象中这问题在我机器上(用的是rh7.2)出现过,不过那次是kde不行,gnome可以~~~~~~~~~~~要知道,k与g的登陆界面可大不相同!!!!!!

我在一个不怎莫好的大学读计算机科学与技术专业(现该大三),但还好我挺感兴趣.
有时了解接触linux单凭兴趣与好奇是不行的,还要有毅力和科学系统的学习方法,不精通c和perl是不会在linux下有多大的前景的........在计的任何一方面,众多前辈都可以给我莫大的帮助,望大家多多指教!!!!!!:thank
发表于 2003-6-18 21:26:42 | 显示全部楼层
共同努力,对于大多数的问题 ,我是无能为力的,我也在学习,感觉自己快要入门了。现在进入系统学习阶段了。我不会程序,我是学科的

我在一个不怎莫好的大学读计算机科学与技术专业(现该大三),但还好我挺感兴趣.


兄弟不能这么说,等毕业后,兄弟会发现自己的母校是最好的。可能再过两年,台兄就看要收回今天所说的话了。

印象中这问题在我机器上(用的是rh7.2)出现过,不过那次是kde不行,gnome可以~~~~~~~~~~~要知道,k与g的登陆界面可大不相同!!!!!!


就看我们用KDM还是GDM来引导的了,如果KDM,是不允许root用户通过KDM登入桌面系统的。不过能通过在字符启动直接时入text模式,用startx来登入。如果出错的信息。

我感觉还是盘的来源有关,如果是下载的,我感觉是没有问题的,如果是从国内的发行商买来的,我感觉是他们修改坏了,比如里仁出版的Redhat。

有时了解接触linux单凭兴趣与好奇是不行的,还要有毅力和科学系统的学习方法,不精通c和perl是不会在linux下有多大的前景的........在计的任何一方面,众多前辈都可以给我莫大的帮助,望大家多多指教!!!


对,加油
 楼主| 发表于 2003-6-23 01:11:31 | 显示全部楼层
昨天,我又去联邦连锁了一套安装盘,重装了还是不行~~~~~~~
看来只好等安了宽带下载了!
等待中......................................


还有,我修改了/etc/inittab中
x:respawn /etc/X11/pre???? --nodano??
为 x:respawn /etc/X11/xdm/Xsession
出现错误:INIT: id "x" respawning too fast : disabled for
5 minutes
何解? 谢谢!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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