• LightDm does not save any default session


    Hi,

    I use an Antergos Installation with Cinnamon. After updating some packages, the lightDm login dialog does not show any default session. The dropdown menu with sessions is ok; but I do not want to select the “Cinnamon” session on every login. But I have to, otherwise it does not login. See screenshot [http://www.directupload.net/file/d/3636/cklsu3y2_png.htm][0]">[http://www.directupload.net/file/d/3636][1] … y2_png.htm.

    [0]: <a href=
    [1]: http://www.directupload.net/file/d/3636

  • Hi,

    I use an Antergos Installation with Cinnamon. After updating some packages, the lightDm login dialog does not show any default session. The dropdown menu with sessions is ok; but I do not want to select the “Cinnamon” session on every login. But I have to, otherwise it does not login. See screenshot [http://www.directupload.net/file/d/3636/cklsu3y2_png.htm][0]">[http://www.directupload.net/file/d/3636][1] … y2_png.htm.

    [0]: <a href=
    [1]: http://www.directupload.net/file/d/3636

  • Hi,

    Please verify that this file exists in your home directory:
    [b:1i4vudku][u:1i4vudku]~/.dmrc[/u:1i4vudku][/b:1i4vudku]

      
    Session=cinnamon
    

    Let us know the result.

    Cheers!

  • I’m having the same problem here, except I have both Gnome and Cinnamon installed; installed Cinnamon after Gnome. LightDM always defaults to Gnome, and the appropriate ~/.dmrc is present in both sessions.

  • It seems that ~/.dmrc is no longer sourced. See here for details and a way to change the default session. This issue will be corrected in the greeter asap.

    [http://afrantzis.wordpress.com/2012/06/11/changing-gdmlightdm-user-login-settings-programmatically/][0]">[http://afrantzis.wordpress.com/2012/06/][1] … matically/

    Alternatively, you can simply edit /etc/lightdm/lightdm.conf “user-session=” parameter.

    Cheers!

    [0]: <a href=
    [1]: http://afrantzis.wordpress.com/2012/06/

  • Hi,

    ~/.dmrc exists and is ok. owned by me with -rw-r–r--

    /etc/lightdm/lightdm.conf “user-session=” under “[SeatDefaults]” is set to cinnamon

    and I have used the script (link) ./user_xsession.py to set the session to cinnamon

    No Change!

  • Please post the output of:

    pacman -Qi lightdm-webkit-theme-antergos
    

    Cheers!

  • I tested following:
    [list:2z8xt8vq]
    [*:2z8xt8vq]Reference installation of Antergos on VM; all config files are the same. Antergos theme folder also equal[/*:m:2z8xt8vq]
    [*:2z8xt8vq]Uninstall webkitgreeter and antergos-theme with pacman -Runcs; reinstall it; no change[/*:m:2z8xt8vq]
    [*:2z8xt8vq]use webkit-greeter theme webkit: no problem, works[/*:m:2z8xt8vq]
    [*:2z8xt8vq]use gtk3-greeter: no problem, works[/*:m:2z8xt8vq][/list:u:2z8xt8vq]

    How can the same version of antergos webkit greeter theme cause problems?
    Or is there a config file for the antergos theme, that is not under /usr/share/webkit-…/themes/antergos?

    This is the requested output:

      
    Name : lightdm-webkit-theme-antergos  
    Version : 2.0.1-1  
    Beschreibung : The official greeter theme of Antergos Linux  
    Architektur : any  
    URL : http://www.antergos.com  
    Lizenzen : GPLv2  
    Gruppen : Nichts  
    Stellt bereit : Nichts  
    Hängt ab von : lightdm lightdm-webkit-greeter antergos-wallpapers  
    Optionale Abhängigkeiten: Nichts  
    Benötigt von : Nichts  
    Optional für: Nichts  
    Konflikt mit : Nichts  
    Ersetzt : Nichts  
    Installationsgröße: 1780,00 KiB  
    Packer : Alexandre Filgueira <[email protected]\>  
    Erstellt am : Sa 17 Mai 2014 06:55:22 CEST  
    Installiert am : Do 29 Mai 2014 18:10:36 CEST  
    Installationsgrund : Ausdrücklich installiert  
    Installations-Skript : Ja  
    Verifiziert durch: Signatur  
    
    
  • When trying to login without manually selecting Cinnamon from the list, the log says:

      
    [+96.05s] DEBUG: Session pid=440: Greeter requests session Cinnamon  
    [+96.05s] DEBUG: Seat: Failed to find session configuration Cinnamon  
    [+96.05s] DEBUG: Seat: Can't find session 'Cinnamon'  
    
    

    I double checked all files; I never used an upper case cinnamon in configuration; and webkit std. theme and gtk greeter do not have any problem … ?!

  • Hi,

    What does this show:

    ls -l /usr/share/xsessions
    

    Best Regards,
    Dustin

  • ls -l /usr/share/xsessions  
    insgesamt 8  
    -rw-r--r-- 1 root root 268 11\. Mai 18:59 cinnamon2d.desktop  
    -rw-r--r-- 1 root root 155 11\. Mai 18:59 cinnamon.desktop  
    
    
  • Hi,

    This is making no sense

    Cheers!

  • Correct; it’s making no sense! And the git-version does not make any difference.

    When loggin in the Combobox has no default selection. Without selecting something, your log says “Cinnamon” is not available. When trying the same in --test-mode --debug it’s “default”

  • have you tried completely removing and then reinstalling lightdm from another VT (ctrl+alt+f2)

    sudo pacman -Rc lightdm --nosave
    

    Then verify that there are no files left behind in /etc/lightdm nor in /usr/share/lightdm-webkit (remove them if necessary).

    Next clear your package cache:

    sudo pacman -Scc
    

    Now force refresh your databases:

    sudo pacman -Syyu
    

    (we throw a “u” in for good measure

    Almost done, reinstall lightdm-webkit-theme-antergos which will pull in lightdm and lightdm-webkit automatically.

    Just a little more… edit /etc/lightdm.conf and change the second occurrence of “user-session=default” to “user-session=cinnamon”.

    FINALLY, enable lightdm:

    sudo systemctl enable lightdm
    

    Boy, I am exhausted now

    Cheers!

  • I did as you told; but am sorry to disappoint you
    I am missing the logic. As I installed the system from the beta-iso, everything worked. And after some update, this error occurs; which has apparently no reason … *grgrgrggr*

  • Hi,

    Verify that you have “accountsservice” installed. Let me know, thanks!

    Best Regards,
    Dustin

  • pacman -Qi accountsservice  
    Name : accountsservice  
    Version : 0.6.37-1  
    Beschreibung : D-Bus interface for user account query and manipulation  
    Architektur : x86\_64  
    URL : http://www.freedesktop.org/software/accountsservice/  
    Lizenzen : GPL3  
    Gruppen : Nichts  
    Stellt bereit : Nichts  
    Hängt ab von : glib2 polkit systemd  
    Optionale Abhängigkeiten: Nichts  
    Benötigt von : cinnamon  
    Optional für: lightdm  
    Konflikt mit : Nichts  
    Ersetzt : Nichts  
    Installationsgröße: 843,00 KiB  
    Packer : Jan Alexander Steffens (heftig) <[email protected]\>  
    Erstellt am : Sa 22 Mär 2014 20:37:57 CET  
    Installiert am : So 11 Mai 2014 19:07:13 CEST  
    Installationsgrund : Ausdrücklich installiert  
    Installations-Skript : Nein  
    Verifiziert durch: SHA256-Summe  
    
    
  • You do not have any further Ideas, don’t you? Then I would prefer an alternative greeter; although this is not looking so nice…

  • I’m sorry, it seems I lost track of this thread

  • Hi; it’s not addressing the underlying problem; but as workaround it is ok!
    Thank you!

Posts 21Views 2286
Log in to reply