Results 1 to 8 of 8

Thread: Only mouse cursor on black screen when GDM should load

  1. #1

    Default Only mouse cursor on black screen when GDM should load

    Hi

    I'm running openSUSE 42.3, with gnome on my laptop. Yesterday I had a glitch in a gnome extension, I tried to restart gnome using Alt+F2, but this freezed gnome.
    I forced shutdown my PC (using the power button). When I started my laptop it boots correctly but instead of GDM I only get a black screen with a mouse cursor.

    I have a Lenovo Thinkpad x250, with integrated intel graphics (no amd/nvidia).

    I tried booting into an old kernel, reinstalling packages reported by rpm -Va, reinstalling gnome and moving my removing my .gnome files from my home directory, but nothing helps.

    Here is the output for journalctl -u display-manager:

    Code:
    -- Logs begin at Tue 2018-05-22 14:53:21 CEST, end at Wed 2018-05-23 08:12:20 CEST. --
    May 23 08:02:41 tobia-laptop.local systemd[1]: Starting X Display Manager...
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: /etc/vconsole.conf available
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: KEYMAP: uk
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: Command: localectl set-keymap uk
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: I: Using systemd /usr/share/systemd/kbd-model-map mapping
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: Starting service lightdm..done
    May 23 08:02:42 tobia-laptop.local systemd[1]: Started X Display Manager.
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: (lightdm:3116): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: (lightdm:3116): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    May 23 08:02:42 tobia-laptop.local lightdm[4358]: pam_unix(lightdm-autologin:session): session opened for user tobia by (uid=0)
    And my /var/log/Xorg.0.log file can be found here: https://transfer.sh/WyBtB/Xorg.0.log


    I can provide my full journal, but it seems to contain some sensitive values.

    Do you have an idea what's wrong, or how I can debug this?

    Thanks in advance!

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,238

    Default Re: Only mouse cursor on black screen when GDM should load

    Quote Originally Posted by LEDfan View Post
    Hi

    I'm running openSUSE 42.3, with gnome on my laptop. Yesterday I had a glitch in a gnome extension, I tried to restart gnome using Alt+F2, but this freezed gnome.
    I forced shutdown my PC (using the power button). When I started my laptop it boots correctly but instead of GDM I only get a black screen with a mouse cursor.

    I have a Lenovo Thinkpad x250, with integrated intel graphics (no amd/nvidia).

    I tried booting into an old kernel, reinstalling packages reported by rpm -Va, reinstalling gnome and moving my removing my .gnome files from my home directory, but nothing helps.

    Here is the output for journalctl -u display-manager:

    Code:
    -- Logs begin at Tue 2018-05-22 14:53:21 CEST, end at Wed 2018-05-23 08:12:20 CEST. --
    May 23 08:02:41 tobia-laptop.local systemd[1]: Starting X Display Manager...
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: /etc/vconsole.conf available
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: KEYMAP: uk
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: Command: localectl set-keymap uk
    May 23 08:02:41 tobia-laptop.local display-manager[2884]: I: Using systemd /usr/share/systemd/kbd-model-map mapping
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: Starting service lightdm..done
    May 23 08:02:42 tobia-laptop.local systemd[1]: Started X Display Manager.
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: (lightdm:3116): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    May 23 08:02:42 tobia-laptop.local display-manager[2884]: (lightdm:3116): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    May 23 08:02:42 tobia-laptop.local lightdm[4358]: pam_unix(lightdm-autologin:session): session opened for user tobia by (uid=0)
    Hi, apparently you are running lightdm, not GDM at the moment. Since Gnome is dependent on GDM, no wonder you are left with a black screen...
    Check /etc/sysconfig/displaymanager by logging in via a console (CTRL+ALT+F3 should do it, for instance), it should read as in the following:
    Code:
    bruno@LT_B:~> cat /etc/sysconfig/displaymanager
    ## Path:        Desktop/Display manager
    ## Type:        string(Xorg)
    ## Default:     "Xorg"
    #
    DISPLAYMANAGER_XSERVER="Xorg"
    ## Path:    Desktop/Display manager
    ## Description:    settings to generate a proper displaymanager config
    ## Type:    string(kdm,xdm,gdm,wdm,entrance,console,lightdm,sddm)
    ## Default:    ""
    #
    # Here you can set the default Display manager (kdm/xdm/gdm/wdm/entrance/console).
    # all changes in this file require a restart of the displaymanager
    #
    DISPLAYMANAGER="gdm"
    <snip>
    If not so, change the line "DISPLAYMANAGER="lightdm"" to DISPLAYMANAGER="gdm" with your favourite editor, then reboot.

    Hope This Helps.
    Tumbleweed Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.3

  3. #3

    Default Re: Only mouse cursor on black screen when GDM should load

    Thanks for your answer, the change to lightdm was for testing purposes, I changed it back but still the same problem.

    I also tried to install the XFCE pattern and setup xfce as default using sysconfig and then xdm loads (although gdm is setup as displaymanager in sysconfig).

  4. #4

    Default Re: Only mouse cursor on black screen when GDM should load

    Quote Originally Posted by LEDfan View Post
    Thanks for your answer, the change to lightdm was for testing purposes, I changed it back but still the same problem.
    GNOME should actually work fine with lightdm, but AFAIK screen locking won't work.

    I see nothing wrong in your Xorg.0.log.

    But GNOME requires working OpenGL, maybe that's where the problem lies? (although I think you should get an "Oh no, something went wrong" error message in that case)
    Please install Mesa-demo-x and post the output of this command (run in IceWM or XFCE e.g.):
    Code:
    glxinfo
    Also, try to create a fresh user account and login to GNOME as that, to rule out a problem with some user files.
    Btw, .gnome is not used anymore since years (GNOME1?) AFAIK, so deleting that won't have any effect of course.

    I also tried to install the XFCE pattern and setup xfce as default using sysconfig and then xdm loads (although gdm is setup as displaymanager in sysconfig).
    There is no displaymanager called "xfce", so it falls back to xdm if you set xfce.
    Last edited by wolfi323; 23-May-2018 at 11:08.

  5. #5

    Default Re: Only mouse cursor on black screen when GDM should load

    Quote Originally Posted by wolfi323 View Post
    GNOME should actually work fine with lightdm, but AFAIK screen locking won't work.

    I see nothing wrong in your Xorg.0.log.

    But GNOME requires working OpenGL, maybe that's where the problem lies? (although I think you should get an "Oh no, something went wrong" error message in that case)
    Please install Mesa-demo-x and post the output of this command (run in IceWM or XFCE e.g.):
    Code:
    glxinfo
    Output is here: http://paste.opensuse.org/0c027750.

    Also, try to create a fresh user account and login to GNOME as that, to rule out a problem with some user files.
    Btw, .gnome is not used anymore since years (GNOME1?) AFAIK, so deleting that won't have any effect of course.
    Just created a fresh account, and still the same issue. Note that GDM doesn't show the login screen. I also removed the .gnome2, .config etc directories.

  6. #6

    Default Re: Only mouse cursor on black screen when GDM should load

    Quote Originally Posted by LEDfan View Post
    Hm, I see nothing wrong there either.

    I don't know much about GNOME.
    But try to uninstall xf86-video-intel to use the generic modesetting driver, and/or try to uninstall drm-kmp-default which contain backported drivers from kernel 4.9 that may cause problems on some (older) intel chips.
    Try all possibilities, i.e. without intel but with drm-kmp-default, with intel but without drm-kmp-default, and without both.
    Maybe one combination might work for you.

    Note that GDM doesn't show the login screen.
    I suppose that's to be expected if GNOME doesn't work, as it has similar requirements.
    Last edited by wolfi323; 23-May-2018 at 14:22.

  7. #7

    Default Re: Only mouse cursor on black screen when GDM should load

    So I solved this. I have some extra repos (from software.opensuse.org) setup, and somehow a newer version of gdm was installed which is probably incompatible with the gnome version.

    I know this really is a stupid mistake of me, especially since I have had this exact same issue in the past. (But of course I only remember that when I asked it here).

    Thanks for your help and thanks for Leap 15.0!

  8. #8
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    4,029

    Default Re: Only mouse cursor on black screen when GDM should load

    Quote Originally Posted by LEDfan View Post
    So I solved this. I have some extra repos (from software.opensuse.org) setup, and somehow a newer version of gdm was installed which is probably incompatible with the gnome version.

    I know this really is a stupid mistake of me, especially since I have had this exact same issue in the past. (But of course I only remember that when I asked it here).

    Thanks for your help and thanks for Leap 15.0!
    ... and, thanks to you, too, for coming back and letting us know you fixed the problem, what the cause was, and how you fixed it. Sure to help someone else at some time.
    "Take a Walk on a Sunny Day, Greet everyone along the way, and Make Somebody Smile, Today"
    Gerry Jack Macks"Walk On A Sunny Day" GerryJackMacks.net

Posting Permissions

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