Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, I am noob in Opensuse as well as Linux world & this forum too. As you see this my first post here. Last week I first install Open SUSE ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    6

    Login screen problem,Plz help me

    Hi,
    I am noob in Opensuse as well as Linux world & this forum too.
    As you see this my first post here.

    Last week I first install Open SUSE 10.2 from a Comp Magazine's companion DVD, all things are just work fine...until yesterday, due to my excessive curiosity is almost killing my SUSE installation.

    I install/uninstall some program and after that my SUSE start at CLI mode and every time I need the command 'startx' to get the GUI (KDE).
    I can't get the Login screen.

    When I want to turn off...and click the 'Logout' only one option is there i,e "End Current Session".
    It return to the CLI mode and then from there I can turn off the system.

    Where in normal many option available there like shutdown,restart ....etc ...etc.

    I strongly belive there is a way directly log in to the X.....i,e login screen.
    So what is command/procedure to start X window system and Login in GUI mode ?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi dissel,

    Welcome to the LinuxForums.

    log in as root and open /etc/inittab file. look for line
    Code:
    id:3:initdefault:
    replace it wirh
    Code:
    id:5:initdefault:
    save file and reboot.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    6
    Here is the file

    #
    # /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
    The line is there

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    initdefault is set to 5 already. did you edit it?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Mar 2007
    Posts
    6
    ^^^
    No, I first heard from you and went to check it.

    May I post the rest of the file ?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    inittab file is correct. post the contents of menu.lst file.
    Code:
    less /boot/grub/menu.lst
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Mar 2007
    Posts
    6
    Here is the file

    # Modified by YaST2. Last modification on Fri Mar 9 11:16:40 IST 2007
    default 2
    timeout 8
    gfxmenu (hd0,7)/boot/message

    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1

    ###Don't change this comment - YaST2 identifier: Original name: floppy###
    title Floppy
    rootnoverify (hd0,0)
    chainloader (fd0)+1

    title Kernel-2.6.18.8-0.1-default
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.18.8-0.1-default root=/dev/sda8 vga=0x317 resume=/d
    initrd /boot/initrd-2.6.18.8-0.1-default
    /

  8. #8
    Just Joined!
    Join Date
    Mar 2007
    Posts
    6
    Ok

    I watched carefully when it boot it...
    here are the lines
    ++++++++++++++++++++++++++++++++++++++++++++++
    opensusue login: reached (prompt in white color)
    Failed services in runlevel 5: network
    skipped services in runlevel 5: irq_balancer nfs smbs

    +++++++++++++++++++++++++++++++++++++++++++++++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...