tela de login lightdm quase inutilizável com drivers NVidia

1

Não consigo usar lightdm para fazer login, enquanto uso drivers NVIDIA. Acabei de ver uma pequena área no canto esquerdo com os ícones e o campo de texto da senha. Embora eu possa fazer o login, não posso escolher minha sessão ou login. My unity greeter errors (/var/log/lightdm/seat0-greeter.log) Eu não tenho nenhum erro em .xession-errors ou /var/log/lightdm/lightdm.log

  (unity-greeter:1662): Gtk-WARNING **: Allocating size to Background 0x55dae3d5c1f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
    [+0.30s] DEBUG: background.vala:485: Regenerating backgrounds
    [+0.30s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 0x0
    [+0.30s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/xfce/xfce-teal.jpg at 0x0
    [+0.31s] DEBUG: unity-greeter.vala:227: starting system-ready sound
    [+0.37s] CRITICAL: gdk_pixbuf_new: assertion 'width > 0' failed
    [+0.37s] CRITICAL: gdk_pixbuf_scale: assertion 'GDK_IS_PIXBUF (dest)' failed
    [+0.38s] CRITICAL: gdk_pixbuf_new: assertion 'width > 0' failed
    [+0.38s] CRITICAL: gdk_pixbuf_scale: assertion 'GDK_IS_PIXBUF (dest)' failed
    [+0.38s] CRITICAL: gdk_pixbuf_new: assertion 'width > 0' failed
    [+0.38s] CRITICAL: gdk_pixbuf_scale: assertion 'GDK_IS_PIXBUF (dest)' failed

    (nm-applet:1696): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

    (nm-applet:1696): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

    (nm-applet:1696): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

    (nm-applet:1696): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

    (nm-applet:1696): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

    (nm-applet:1696): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

    (nm-applet:1696): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

    (nm-applet:1696): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
    [+6.24s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/xfce/xfce-teal.jpg complete
    [+6.24s] DEBUG: background.vala:138: images[0] was null for /usr/share/backgrounds/xfce/xfce-teal.jpg
    [+6.24s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/xfce/xfce-teal.jpg complete
    [+6.24s] DEBUG: background.vala:138: images[0] was null for /usr/share/backgrounds/xfce/xfce-teal.jpg
    [+6.24s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
    [+6.24s] DEBUG: background.vala:138: images[0] was null for /usr/share/backgrounds/warty-final-ubuntu.png
    [+6.26s] DEBUG: user-list.vala:1030: Adding/updating user swadnerkar ()
    [+9.65s] DEBUG: Providing response to display manager
    [+9.65s] DEBUG: Wrote 24 bytes to daemon
    [+9.72s] DEBUG: Read 8 bytes from daemon
    [+9.72s] DEBUG: Read 22 bytes from daemon
    [+9.72s] DEBUG: Authentication complete for user swadnerkar with return code 0
    [+9.72s] DEBUG: Starting session i3
    [+9.72s] DEBUG: Wrote 14 bytes to daemon
    upstart: indicator-bluetooth main process (1702) killed by TERM signal
    upstart: indicator-power main process (1703) killed by TERM signal
    upstart: indicator-datetime main process (1704) killed by TERM signal
    upstart: indicator-session main process (1707) killed by TERM signal
    upstart: indicator-application main process (1717) killed by TERM signal
    upstart: indicator-messages main process (1701) killed by HUP signal
    upstart: indicator-keyboard main process (1705) killed by HUP signal
    upstart: indicator-sound main process (1706) killed by HUP signal

Eu não tenho nenhum problema com o lxdm. Meu lançamento do Ubuntu:

   $ cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=17.04
    DISTRIB_CODENAME=zesty
    DISTRIB_DESCRIPTION="Ubuntu Zesty Zapus (development branch)"

Eu tenho enfrentado esse problema desde o Xenial. Então, não é sobre o último lançamento do Ubuntu.

    
por Salil 29.11.2016 / 22:14

1 resposta

0

Eu acidentalmente encontrei a solução. Eu instalei o lubuntu-core, que instalou o pacote lubuntu-default-settings que instalou a configuração correta para o lightdm-gtk-greeter em / etc / lightdm, após o qual o lightdm começou a funcionar. Para o GNOME, há o ubuntu-gnome-default-settings, e para o xubuntu, xubuntu-default-settings. Então, parece que precisamos apenas ter certeza de que um dos pacotes * -default-settings esteja instalado.

Anteriormente, eu não tinha nenhum ambiente de desktop instalado (eu estava usando apenas o i3 como o WM). Assim, parece que no Ubuntu, precisamos ter pelo menos um ambiente de desktop instalado, caso contrário, algumas coisas não funcionarão corretamente. Em casa, estou feliz em usar o Arch sem nenhum ambiente de desktop com lightdm. O Ubuntu é meu desktop de trabalho.

    
por Salil 01.12.2016 / 16:17