Results 1 to 4 of 4

Thread: Can't get to GUI login screen on previously working system.

  1. #1
    Join Date
    Sep 2011
    Beans
    10

    Can't get to GUI login screen on previously working system.

    OS: Ubuntu 18.04 desktop (with standard issue Gnome desktop)
    GPU: nVidia GeForce GTX 770


    Background:
    Installed Ubuntu 18.04 with full-disk encryption and LVM. Installed nVidia proprietary drivers. Everything appeared to work fine for over two weeks after this clean install. This included installing and playing Steam games like Kerbal Space Program, Rocket League, and From the Depths; all ran fine and with excellent performance. Then yesterday, Friday June 15, 2018, the machine stopped showing the GUI login screen for GDM. Machine boots fine, just hangs in tty1 with no graphical shell. I can log in and perform many functions in the other virtual terminals, even SSH in from another machine.


    Some hopefully useful details:

    sudo cat /proc/cmdline yields:
    BOOT_IMAGE=/vmlinuz-4.15.0-23-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1

    sudo cat Xorg.0.log | grep EE yields:
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 37.745] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
    [ 37.745] (EE) open /dev/dri/card0: No such file or directory
    [ 37.745] (EE) open /dev/dri/card0: No such file or directory
    [ 37.746] (EE) Screen 0 deleted because of no matching config section.
    [ 37.752] (EE) AIGLX: reverting to software rendering


    I haven't opened a bug report on launchpad yet, because I am not sure how to classify it yet...

    Any ideas how to proceed in troubleshooting/diagnosing this would be greatly appreciated.

  2. #2
    Join Date
    Sep 2011
    Beans
    10

    Re: Can't get to GUI login screen on previously working system.

    I think I am closer to finding the main issue. Using systemctl status after booting my machine, shows that gdm service is up. But one of the log entries it displays indicates that the child process it spawned to show the desktop died shrotly after it was spawned. Stopping the gdm service and checking the status appears to indicate an issue with some encrypted/authenticated session. Going back to look at the status for when gdm service is running leads me to believe that a PAM module is being shutdown while it is still needed?

    I any case if someone could take a look at this and tell me if it makes sense that I would think that gdm3 is being held-back from displaying due to a PAM-related issue? If my hunch is correct, I should be able to prove it by regressing the version of one or more of the recently updated packages on my system, question is - which package?

    I have highlighted the interesting bits for the sake of convenience:

    sudo systemctl status gdm[sudo] password for william:
    ● gdm.service - GNOME Display Manager
    Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
    Active: active (running) since Sun 2018-06-17 17:46:51 EDT; 2h 30min ago
    Process: 1331 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
    Main PID: 1340 (gdm3)
    Tasks: 3 (limit: 4915)
    CGroup: /system.slice/gdm.service
    └─1340 /usr/sbin/gdm3


    Jun 17 17:46:51 little-black-box systemd[1]: Starting GNOME Display Manager...
    Jun 17 17:46:51 little-black-box systemd[1]: Started GNOME Display Manager.
    Jun 17 17:46:52 little-black-box gdm-launch-environment][1355]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    Jun 17 17:46:52 little-black-box gdm-launch-environment][1355]: pam_unix(gdm-launch-environment:session): session closed for user gdm

    Jun 17 17:46:52 little-black-box gdm3[1340]: GdmDisplay: display lasted 0.396631 seconds
    Jun 17 17:46:52 little-black-box gdm3[1340]: Child process -1376 was already dead.
    Jun 17 17:46:52 little-black-box gdm3[1340]: Child process 1355 was already dead.

    Jun 17 17:46:52 little-black-box gdm3[1340]: Unable to kill session worker process
    Jun 17 17:46:52 little-black-box gdm-launch-environment][1438]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    william@little-black-box:~$ sudo systemctl stop gdm
    william@little-black-box:~$ sudo systemctl status gdm
    ● gdm.service - GNOME Display Manager
    Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
    Active: inactive (dead) since Sun 2018-06-17 20:17:33 EDT; 2s ago
    Process: 1340 ExecStart=/usr/sbin/gdm3 (code=exited, status=0/SUCCESS)
    Process: 1331 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
    Main PID: 1340 (code=exited, status=0/SUCCESS)


    Jun 17 17:46:52 little-black-box gdm-launch-environment][1355]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    Jun 17 17:46:52 little-black-box gdm-launch-environment][1355]: pam_unix(gdm-launch-environment:session): session closed for user gdm
    Jun 17 17:46:52 little-black-box gdm3[1340]: GdmDisplay: display lasted 0.396631 seconds
    Jun 17 17:46:52 little-black-box gdm3[1340]: Child process -1376 was already dead.
    Jun 17 17:46:52 little-black-box gdm3[1340]: Child process 1355 was already dead.
    Jun 17 17:46:52 little-black-box gdm3[1340]: Unable to kill session worker process
    Jun 17 17:46:52 little-black-box gdm-launch-environment][1438]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    Jun 17 20:17:33 little-black-box systemd[1]: Stopping GNOME Display Manager...
    Jun 17 20:17:33 little-black-box gdm3[1340]: GLib: g_hash_table_find: assertion 'version == hash_table->version' failed
    Jun 17 20:17:33 little-black-box systemd[1]: Stopped GNOME Display Manager.
    william@little-black-box:~$ sudo systemctl start gdm
    william@little-black-box:~$ sudo systemctl status gdm
    ● gdm.service - GNOME Display Manager
    Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)
    Active: active (running) since Sun 2018-06-17 20:17:51 EDT; 2s ago
    Process: 2865 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
    Main PID: 2867 (gdm3)
    Tasks: 4 (limit: 4915)
    CGroup: /system.slice/gdm.service
    └─2867 /usr/sbin/gdm3


    Jun 17 20:17:51 little-black-box systemd[1]: Starting GNOME Display Manager...
    Jun 17 20:17:51 little-black-box systemd[1]: Started GNOME Display Manager.
    Jun 17 20:17:51 little-black-box gdm-launch-environment][2871]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
    Jun 17 20:17:51 little-black-box gdm-launch-environment][2871]: pam_unix(gdm-launch-environment:session): session closed for user gdm
    Jun 17 20:17:51 little-black-box gdm3[2867]: GdmDisplay: display lasted 0.217362 seconds
    Jun 17 20:17:51 little-black-box gdm3[2867]: Child process -2888 was already dead.
    Jun 17 20:17:51 little-black-box gdm3[2867]: Child process 2871 was already dead.
    Jun 17 20:17:51 little-black-box gdm3[2867]: Unable to kill session worker process
    Jun 17 20:17:51 little-black-box gdm-launch-environment][2914]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)

    Last edited by 0c-bill; June 18th, 2018 at 01:55 AM.

  3. #3
    Join Date
    Sep 2011
    Beans
    10

    Re: Can't get to GUI login screen on previously working system.

    *SOLVED*

    Found a file left over from an attempt fix the ubiquitous screen-tearing problem. It had a nomodeset entry.
    Lesson learned: some changes made can lurk around through many restarts and only cause an issue if a specific update is initiated.

  4. #4
    Join Date
    Jul 2018
    Beans
    1

    Re: Can't get to GUI login screen on previously working system.

    I have exactly the same issue. Could you please explain what you have done so solve this problem? Thanks in advance!

Tags for this Thread

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
  •