Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: Leap 15.0 , Console login problem

Hybrid View

  1. #1

    Default Leap 15.0 , Console login problem

    Hi,

    I have a very strange problem and i can not find anything for my situation.
    The problem is that i can not login as user or root in run level 3. I enter username and when i am prompted
    for password , i give it but nothing happens, after 60 sec it is timing out and i am prompted for user name again.
    In kde i can login ok. Also in run level 1 i can login as root ok. I am using nvidia drivers from nvidia site compiled for the kernel.

    uname -a
    Linux xxxxxx 4.12.14-lp150.12.25-default #1 SMP Thu Nov 1 06:14:23 UTC 2018 (3fcf457) x86_64 x86_64 x86_64 GNU/Linux

    the driver is
    NVIDIA-Linux-x86_64-340.107.run

    Nvidia card is
    VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)

    Some errors i found with journalctl are the following.

    systemd[1]: getty@tty1.service: Service has no hold-off time (RestartSec=0), scheduling restart.
    systemd[1]: Stopped Getty on tty1.
    systemd[1]: Started Getty on tty1.
    -----------------------
    [ 11.531029] NVRM: Your system is not currently configured to drive a VGA console
    [ 11.531032] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
    [ 11.531034] NVRM: requires the use of a text-mode VGA console. Use of other console
    [ 11.531036] NVRM: drivers including, but not limited to, vesafb, may result in
    [ 11.531037] NVRM: corruption and stability problems, and is not supported.
    --------------------------------------------------
    systemctl cat getty@tty1.service

    # /usr/lib/systemd/system/getty@.service
    # This file is part of systemd.
    #
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.

    [Unit]
    Description=Getty on %I
    Documentation=man:agetty(8) man:systemd-getty-generator(8)
    Documentation=http://0pointer.de/blog/projects/serial-console.html
    After=systemd-user-sessions.service plymouth-quit-wait.service
    After=rc-local.service

    # If additional gettys are spawned during boot then we should make
    # sure that this is synchronized before getty.target, even though
    # getty.target didn't actually pull it in.
    Before=getty.target
    IgnoreOnIsolate=yes

    # IgnoreOnIsolate causes issues with sulogin, if someone isolates
    # rescue.target or starts rescue.service from multi-user.target or
    # graphical.target.
    Conflicts=rescue.service
    Before=rescue.service

    # On systems without virtual consoles, don't start any getty. Note
    # that serial gettys are covered by serial-getty@.service, not this
    # unit.
    ConditionPathExists=/dev/tty0

    [Service]
    # the VT is cleared by TTYVTDisallocate
    # The '-o' option value tells agetty to replace 'login' arguments with an
    # option to preserve environment (-p), followed by '--' for safety, and then
    # the entered username.
    ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
    Type=idle
    Restart=always
    RestartSec=0
    UtmpIdentifier=%I
    TTYPath=/dev/%I
    TTYReset=yes
    TTYVHangup=yes
    TTYVTDisallocate=yes
    KillMode=process
    IgnoreSIGPIPE=no
    SendSIGHUP=yes

    # Unset locale for the console getty since the console has problems
    # displaying some internationalized messages.
    Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=

    [Install]
    WantedBy=getty.target
    DefaultInstance=tty1

    # /usr/lib/systemd/system/getty@tty1.service.d/noclear.conf
    [Service]
    # ensure tty1 isn't cleared (bnc#804158)
    TTYVTDisallocate=no

    i must also say that i have configured 2 screens and working as expected, first main screen is a 1920x1080 and the second is a 1680x1050

    I also have a look at https://doc.opensuse.org/documentati...a.trouble.html but did not find something relevant
    Any help would be appreciated.
    thank you.

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,610

    Question Re: Leap 15.0 , Console login problem

    @akarako:
    Have you checked the “System Keyboard layout”?

    The culprit may well be the value of the “KEYTABLE=” parameter defined in the file ‘/etc/sysconfig/keyboard’ …
    • Your ‘root’ user's password may well be incorrectly mapped by the system's keyboard configuration …


    To repair this issue, the only reliable method is to boot an installation DVD or USB-stick and enter the “system repair” mode …
    The openSUSE instructions are here: <https://doc.opensuse.org/documentati...recover.rescue>.

  3. #3

    Default Re: Leap 15.0 , Console login problem

    Quote Originally Posted by dcurtisfra View Post
    @akarako:
    Have you checked the “System Keyboard layout”?

    The culprit may well be the value of the “KEYTABLE=” parameter defined in the file ‘/etc/sysconfig/keyboard’ …
    • Your ‘root’ user's password may well be incorrectly mapped by the system's keyboard configuration …


    To repair this issue, the only reliable method is to boot an installation DVD or USB-stick and enter the “system repair” mode …
    The openSUSE instructions are here: <https://doc.opensuse.org/documentati...recover.rescue>.
    Hi dcurtisfra,

    Thanks for replying..
    I have no parameter KEYTABLE= in file /etc/sysconfig/keyboard

    cd /etc/sysconfig/
    wakarako:/etc/sysconfig # cat keyboard
    ## Path: Hardware/Keyboard
    ## Description: Keyboard settings for the text console
    ## ServiceRestart: kbdsettings
    #

    ## Type: integer
    ## Default:
    #
    # Keyboard delay time in ms (250, 500, 750, 1000)
    KBD_DELAY=""

    ## Type: string(2.0,2.1,2.3,2.5,2.7,3.0,3.3,3.7,4.0,4.3,4.6,5.0,5.5,6.0,6.7,7.5,8.0,8.6,9.2,10.0,10.9,12.0,13.3,15.0,16.0,17.1,18.5,20.0,21.8,24.0,26.7,30.0)
    ## Default:
    #
    # Keyboard repeat rate (2.0 - 30.0)
    KBD_RATE=""

    ## Type: list(bios,yes,no)
    ## Default: bios
    #
    # NumLock on? ("yes" or "no" or "bios" for BIOS setting)
    # This setting may interfere with GNOME /org/gnome/settings-daemon/peripherals/keyboard/remember-numlock-state DConf key.
    KBD_NUMLOCK="bios"

    ## Type: yesno
    ## Default: no
    #
    # ScrollLock on? ("yes" or "no")
    KBD_SCRLOCK="no"

    ## Type: yesno
    ## Default: no
    #
    # CapsLock on? ("yes" or "no")
    KBD_CAPSLOCK="no"

    ## Type: yesno
    ## Default: no
    #
    # Disable CAPS LOCK and make it a normal Shift key?
    # (Ctrl Caps Lock will still toggle Caps Lock functionality)
    # Note that you need to tweak the xkb maps or use xmodmap
    # if you want to do the same under X-Windows. In ~/.Xmodmap:
    # keycode 0x42 = Shift_L Shift_L
    #
    KBD_DISABLE_CAPS_LOCK="no"

    ## Type: string
    ## Default:
    #
    # ttys for the above settings
    # Example: "tty1 tty2"
    # "" for tty's 1-6
    #
    KBD_TTY=""

    # The YaST-internal identifier of the attached keyboard.
    #
    YAST_KEYBOARD="english-us,pc104"

  4. #4

    Default Re: Leap 15.0 , Console login problem

    I don't know if this is relevant

    https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15/
    section 3.2.12

    wakarako:/etc/sysconfig # cat /etc/vconsole.conf
    KEYMAP=us
    FONT=eurlatgr.psfu
    FONT_MAP=none
    FONT_UNIMAP=

    wakarako:/etc/sysconfig # cat console
    ## Path: Hardware/Console
    ## Description: Text console settings (see also Hardware/Keyboard)
    #

    ## Type: string
    ## Default: ""
    #
    # Console settings.
    # Note: The KBD_TTY setting from Hardware/Keyboard (sysconfig/keyboard)
    # also applies for the settings here.
    #
    # Load this console font on bootup:
    # (/usr/share/kbd/consolefonts/)
    #
    CONSOLE_FONT=""

    ## Type: string
    ## Default: ""
    #
    # Some fonts come without a unicode map.
    # (.psfu fonts supposedly have it, others often not.)
    # You can then specify the unicode mapping of your font
    # explicitly. (/usr/share/kbd/unimaps/)
    # Normally not needed.
    #
    CONSOLE_UNICODEMAP=""

    ## Type: string
    ## Default: ""
    #
    # Most programs output 8 bit characters, so you need a table to
    # translate those characters into unicode. That one can be specified
    # here. (/usr/share/kbd/consoletrans/)
    # (Note: If your console is in utf-8 mode you don't need this.)
    # If your code does not use a unicode mapping at all (because you
    # e.g. explicitly specified UNICODEMAP="none") you may circumvent
    # the translation via unicode, but load a map which directly maps
    # 8 bit output of your program to a font position.
    #
    CONSOLE_SCREENMAP=""

    ## Type: string
    ## Default: ""
    #
    # for some fonts the console has to be initialized with CONSOLE_MAGIC.
    # CONSOLE_MAGIC can be empty or have the values "(B", ")B", "(K" or ")K".
    # Normally not needed (automatically handled by setfont).
    #
    CONSOLE_MAGIC=""

    # Encoding used for output of non-ascii characters.
    #
    CONSOLE_ENCODING="UTF-8"

  5. #5
    Join Date
    Nov 2011
    Location
    Seville, Spain
    Posts
    4

    Default Re: Leap 15.0 , Console login problem

    I have the same exact problem after last system upgrade. Prior to that I was running Leap 15 without problem. I have run strace on the service and it seems the terminal stops working. The read system call does not return despite typing on the console:

    To see which process is got tty1

    desktop32:~ # fuser /dev/tty1
    /dev/tty1: 14361


    desktop32:~ # strace -p 14361
    strace: Process 14361 attached
    select(5, [0 4], NULL, NULL, NULL


    When I go to console 1 and type user and password I get lots of output, and finally stops at read

    ...
    ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
    ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
    rt_sigprocmask(SIG_BLOCK, [TSTP], [], 8) = 0
    ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
    write(2, "Password: ", 10) = 10
    read(0,


    Note that at this point I have already typed the password, but it seems read call is blocked. Then After 1 minute:

    read(0, 0x7ffcaf3c13f0, 511) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
    --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
    rt_sigaction(SIGALRM, {sa_handler=0x55a7daa72640, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f275c23f160}, {sa_handler=0x55a7daa72680, sa_mask=[ALRM], sa_flags=SA_RESTORER, sa_restorer=0x7f275c23f160}, 8) = 0
    alarm(10) = 0
    write(2, "login: timed out after 60 second"..., 33) = 33
    rt_sigaction(SIGALRM, {sa_handler=SIG_IGN, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f275c23f160}, {sa_handler=0x55a7daa72640, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f275c23f160}, 8) = 0
    alarm(0) = 10
    ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
    ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
    exit_group(0) = ?
    +++ exited with 0 +++

  6. #6

    Default Re: Leap 15.0 , Console login problem

    I have the same problem. I will not be able to log in from any tty (tty1-tty6).
    I made a strace to the agetty command on tty1 and when it is asking for the password from fd 0, it will not receive it. So, it times out and restarts.
    Doing strace on other PC with an older kernel the password is received by agetty.
    So, I rebooted with the previous kernel and it works fine. I was able to log on.
    THere is a problem with kernel 4.12.14-lp150.12.25-default. I guess it is the keyboard driver

  7. #7
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: Leap 15.0 , Console login problem

    I have the same problem and am unable to login on tty1 - tty6 with kernel-default version 4.12.14-lp150.12.25.1, however, everything works fine with the previous kernel(s).

    This must be a kernel bug.

    FYI,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  8. #8
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    115

    Default Re: Leap 15.0 , Console login problem

    I have the same problem and am unable to login on tty1 - tty6 with kernel version 4.12.14-lp150.12.25, however, everything works fine with the 4.12.14-lp150.12.22 and earlier kernels. You type in the password and nothing returns - no error - no prompt - dead terminal.

    I have the same problem with the new released kernel and am unable to login on tty1 - tty6 with kernel version 4.12.14-lp150.12.28, this version auto enters the password ( you cannot type anything ) and it says it cannot log you in and try again.

    Makes you wonder if they test anything before releasing it to the masses.
    Opensuse 15.1 with VirtualBox VM's (Windows 98, XP, 7, 8.1, 10 & OpenSUSE 15.0)

    Unix since 1974 (pdp-11 in "B" , Interdata 7/32 in "C") (AT&T, Tandy, Convergent, IBM, NCR, HP flavors)
    Linux since 1995 (mandrake, redhat, fedora, centos, now OpenSUSE)

  9. #9
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: Leap 15.0 , Console login problem

    Quote Originally Posted by larryr View Post
    I have the same problem with the new released kernel and am unable to login on tty1 - tty6 with kernel version 4.12.14-lp150.12.28, this version auto enters the password ( you cannot type anything ) and it says it cannot log you in and try again.
    I just updated to 4.12.14-lp150.12.28 and experienced the same problem as reported by larryr. That is, the behavior has changed but still fails. Once I enter the user name then the password prompt appears to be auto-entered (user cannot enter a password) and the login fails.

    FYI,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Leap 15.0 , Console login problem

    On Sat 15 Dec 2018 02:46:03 PM CST, gldickens3 wrote:


    larryr;2888898 Wrote:
    > I have the same problem with the new released kernel and am unable to
    > login on tty1 - tty6 with kernel version 4.12.14-lp150.12.28, this
    > version auto enters the password ( you cannot type anything ) and it
    > says it cannot log you in and try again.


    I just updated to 4.12.14-lp150.12.28 and experienced the same problem
    as reported by larryr. That is, the behavior has changed but still
    fails. Once I enter the user name then the password prompt appears to
    be auto-entered (user cannot enter a password) and the login fails.

    FYI,

    Gordon


    Hi
    Is this an external keyboard? Maybe hardware info may be applicable;
    Code:
    hwinfo --keyboard
    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


Page 1 of 5 123 ... LastLast

Posting Permissions

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