Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: login only works through recovery mode.

  1. #1
    Join Date
    Jun 2017
    Beans
    49

    login only works through recovery mode.

    Hello! This morning I was trying to launch Steam and the screen went black and got stuck (No tty2,3,4,...). I restarted the hard way and got to the login screen, put my password and then the black screen again. If before entering my password y go to tty2 and put my username it gets stuck.
    The funny thing is that everything works ok if I start in recovery mode (but not the graphics).
    I have not done any modification this week, so I dont know what is happening. The system is at date.


    Linux RyzenKDE 5.4.0-49-generic #53-Ubuntu SMP Fri Sep 18 09:54:57 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    RX 580, Ryzen 1400, 16GB Ram.


    The hardware is allright as I dual boot and gpu and everything works ok on WIN10.


    lshw -short:
    Code:
    H/W path            Device      Class          Description 
    ========================================================== 
                                    system         AB350M-Gaming 3 (Default string) 
    /0                              bus            AB350M-Gaming 3-CF 
    /0/0                            memory         64KiB BIOS 
    /0/26                           memory         16GiB System Memory 
    /0/26/0                         memory         Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012- 
    /0/26/1                         memory         4GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2800 MHz (0,4 ns) 
    /0/26/2                         memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2800 MHz (0,4 ns) 
    /0/26/3                         memory         4GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2800 MHz (0,4 ns) 
    /0/28                           memory         384KiB L1 cache 
    /0/29                           memory         2MiB L2 cache 
    /0/2a                           memory         8MiB L3 cache 
    /0/2b                           processor      AMD Ryzen 5 1400 Quad-Core Processor 
    /0/100                          bridge         Family 17h (Models 00h-0fh) Root Complex 
    /0/100/0.2                      generic        Family 17h (Models 00h-0fh) I/O Memory Management Unit 
    /0/100/1.3                      bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge 
    /0/100/1.3/0                    bus            300 Series Chipset USB 3.1 xHCI Controller 
    /0/100/1.3/0/0      usb1        bus            xHCI Host Controller 
    /0/100/1.3/0/0/1                input          USB Keyboard 
    /0/100/1.3/0/0/5                input          USB Receiver 
    /0/100/1.3/0/0/6                generic        BCM920702 Bluetooth 4.0 
    /0/100/1.3/0/1      usb2        bus            xHCI Host Controller 
    /0/100/1.3/0.1      scsi0       storage        300 Series Chipset SATA Controller 
    /0/100/1.3/0.1/0    /dev/sda    disk           240GB SanDisk SDSSDA24 
    /0/100/1.3/0.1/0/1  /dev/sda1   volume         162GiB Windows NTFS volume 
    /0/100/1.3/0.1/0/2  /dev/sda2   volume         563MiB Windows NTFS volume 
    /0/100/1.3/0.1/0/3  /dev/sda3   volume         60GiB EXT4 volume 
    /0/100/1.3/0.1/1    /dev/sdb    disk           3TB WDC WD30EZRZ-00G 
    /0/100/1.3/0.1/1/1  /dev/sdb1   volume         1084GiB Windows NTFS volume 
    /0/100/1.3/0.1/1/2  /dev/sdb2   volume         1706GiB EXT4 volume 
    /0/100/1.3/0.1/1/3  /dev/sdb3   volume         3502MiB Linux swap volume 
    /0/100/1.3/0.2                  bridge         Advanced Micro Devices, Inc. [AMD] 
    /0/100/1.3/0.2/0                bridge         300 Series Chipset PCIe Port 
    /0/100/1.3/0.2/0/0  enp3s0      network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
    /0/100/1.3/0.2/1                bridge         300 Series Chipset PCIe Port 
    /0/100/1.3/0.2/4                bridge         300 Series Chipset PCIe Port 
    /0/100/1.3/0.2/4/0  wlp5s0      network        BCM4360 802.11ac Wireless Network Adapter 
    /0/100/3.1                      bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge 
    /0/100/3.1/0                    display        Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
    /0/100/3.1/0.1                  multimedia     Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
    /0/100/7.1                      bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B 
    /0/100/7.1/0                    generic        Zeppelin/Raven/Raven2 PCIe Dummy Function 
    /0/100/7.1/0.2                  generic        Family 17h (Models 00h-0fh) Platform Security Processor 
    /0/100/7.1/0.3                  bus            Family 17h (Models 00h-0fh) USB 3.0 Host Controller 
    /0/100/7.1/0.3/0    usb3        bus            xHCI Host Controller 
    /0/100/7.1/0.3/0/1              multimedia     USB PnP Sound Device 
    /0/100/7.1/0.3/0/3              multimedia     EyeToy USB camera Namtai 
    /0/100/7.1/0.3/1    usb4        bus            xHCI Host Controller 
    /0/100/8.1                      bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B 
    /0/100/8.1/0                    generic        Zeppelin/Renoir PCIe Dummy Function 
    /0/100/8.1/0.2                  storage        FCH SATA Controller [AHCI mode] 
    /0/100/8.1/0.3                  multimedia     Family 17h (Models 00h-0fh) HD Audio Controller 
    /0/100/14                       bus            FCH SMBus Controller 
    /0/100/14.3                     bridge         FCH LPC Bridge 
    /0/101                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/102                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/103                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/104                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/105                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/106                          bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge 
    /0/107                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 
    /0/108                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 
    /0/109                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 
    /0/10a                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 
    /0/10b                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 
    /0/10c                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 
    /0/10d                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 
    /0/10e                          bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 
    /0/1                            system         PnP device PNP0c01 
    /0/2                            system         PnP device PNP0c02 
    /0/3                            system         PnP device PNP0b00 
    /0/4                            system         PnP device PNP0c02 
    /0/5                            printer        PnP device PNP0400 
    /0/6                            communication  PnP device PNP0501 
    /0/7                            communication  PnP device PNP0501 
    /0/8                            system         PnP device PNP0c02 
    /1                  virbr0-nic  network        Ethernet interface 
    /2                  virbr0      network        Ethernet interface
    
    Any help is appreciated
    Last edited by deadflowr; October 6th, 2020 at 08:16 PM. Reason: switched tags from quote to code

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: login only works through recovery mode.

    A troubleshooting technique is to create a new userid, then login using that new userid. If the GUI works with the new userid, we know the problem is with the normal userid, not the system. There are lots and lots of settings for each individual userid. Sometimes those can get screwed up.

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: login only works through recovery mode.

    Another common problem for people new to linux/unix is to mess with permissions in a way that breaks things.
    Using sudo with GUI programs can break things, usually permissions.
    I don't think that matches with the description above, but may help someone in a few months seeking an answer who finds this thread.
    The fix for this issue often is
    Code:
    sudo chown -r $LOGNAME ~/
    Lots of assumptions with that command. It only works for a user in the sudo group and only for that 1 userid. It doesn't fix other accounts.

  4. #4
    Join Date
    Jun 2017
    Beans
    49

    Re: login only works through recovery mode.

    Quote Originally Posted by TheFu View Post
    A troubleshooting technique is to create a new userid, then login using that new userid. If the GUI works with the new userid, we know the problem is with the normal userid, not the system. There are lots and lots of settings for each individual userid. Sometimes those can get screwed up.
    You are right, I created another user and it works ok, glxgears gives 15.000fps on that user, whereas on my regular user on recovery mode I only get 2.000fps.
    What can I do??
    I havent mess with anything about permissions

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: login only works through recovery mode.

    I said,
    There are lots and lots of settings for each individual userid. Sometimes those can get screwed up.
    So, you need to figure out which settings screwed things up. I use a very simple GUI, not gnome and not kde and not LXQt and not Mate or any other DE, so I doubt I can help. For my GUI, there is 1 directory that controls all the settings used. The settings are contained in plain text files. I have daily backups, so I can use those backups to compare all the changes made over the last .... let me see ... from today going back to ... Sun Jun 7 01:35:05 2020. Do you have versioned backups?

    A quick search of the backup areas:
    Code:
    ./increments/u/thefu/.fvwm.2020-09-07T01:35:04-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-08T01:35:07-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-06T01:35:04-04:00.missing
    ./increments/u/thefu/.fvwm.2020-09-19T01:35:05-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-09T01:35:04-04:00.dir
    shows only a few changes to my GUI settings all this time. Doing manual compares for 6 differences wouldn't take long.

    I have no idea how to accomplish that with gnome which stores settings inside a DB. Maybe get the DB backups and dump the DB to text, then compare that? You do have versioned backups, right?

  6. #6
    Join Date
    Jun 2017
    Beans
    49

    Re: login only works through recovery mode.

    Quote Originally Posted by TheFu View Post
    I said,

    So, you need to figure out which settings screwed things up. I use a very simple GUI, not gnome and not kde and not LXQt and not Mate or any other DE, so I doubt I can help. For my GUI, there is 1 directory that controls all the settings used. The settings are contained in plain text files. I have daily backups, so I can use those backups to compare all the changes made over the last .... let me see ... from today going back to ... Sun Jun 7 01:35:05 2020. Do you have versioned backups?

    A quick search of the backup areas:
    Code:
    ./increments/u/thefu/.fvwm.2020-09-07T01:35:04-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-08T01:35:07-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-06T01:35:04-04:00.missing
    ./increments/u/thefu/.fvwm.2020-09-19T01:35:05-04:00.dir
    ./increments/u/thefu/.fvwm.2020-09-09T01:35:04-04:00.dir
    shows only a few changes to my GUI settings all this time. Doing manual compares for 6 differences wouldn't take long.

    I have no idea how to accomplish that with gnome which stores settings inside a DB. Maybe get the DB backups and dump the DB to text, then compare that? You do have versioned backups, right?
    I use Kubuntu so I dont think I have that option. Is there a way to log whatever happens to see the error?? I am getting crazy

  7. #7
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: login only works through recovery mode.

    Quote Originally Posted by adelpozoman-f View Post
    I use Kubuntu so I dont think I have that option. Is there a way to log whatever happens to see the error?? I am getting crazy
    Kubuntu is just KDE. I haven't touched KDE in about 18 yrs. Sorry. The errors are probably in the system logs. Did you check those already? Google found these:


    Backups are a completely different thing. If you want them, they must be setup. They are never automatic. The way I do it seems to be a method that people without significant Unix skills cannot replicate, unfortunately. Sorry. I was disappointed with all the "easier" methods, since they didn't actually meet my needs. I tried a bunch and each failed at some level, but none failed as bad as the Windows backup tool. All would backup data just fine, but most didn't also capture permissions, ACLs, and xattrs as those change over time too.

  8. #8
    Join Date
    Jun 2017
    Beans
    49

    Re: login only works through recovery mode.

    I know how to see Ksystemlog and some of the others you linked, but they dont log the information of the crashed session, or at least I dont know which one.

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: login only works through recovery mode.

    Quote Originally Posted by adelpozoman-f View Post
    I know how to see Ksystemlog and some of the others you linked, but they dont log the information of the crashed session, or at least I dont know which one.
    Have you tried logging in using the other account then using su - {original account} from a terminal to see if that shows any issues?

    You can try moving the ~/.config/ directory for the original account - say to ~/.config-old/ and see if you can login then. I don't know where kde keeps settings. Sorry.

  10. #10
    Join Date
    Jun 2017
    Beans
    49

    Re: login only works through recovery mode.

    Will try tomorrow.
    By the moment I tried adding nomodeset at grub and I can use my main account but graphics doesnt work...

    EDIT: glxinfo shows that I'm using vmware llvmpipe, is that because my user isnt loading the graphics driver?? what can I do about that?? Or is that because of nomodeset?
    Last edited by adelpozoman-f; October 7th, 2020 at 12:30 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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