Skip to content

Autologin #1

Closed
Closed

Description

Activity

  1. ghost assigned on Jan 21, 2013
  2. ArthurBorsboom commented on Oct 15, 2014

    @ArthurBorsboom

    Hi Jerome,

    I can't get the auto login functionality to work in sddm >= 0.9.
    Is there something special I need to configure to get this working, except the 'User' or 'AutoUser' variable in /etc/sddm.conf?

  3. MartinBriza commented on Oct 16, 2014

    @MartinBriza
    Contributor

    The config file format has changed. You have to use the [Autologin] section and configure the User= and Session= values. For the complete overview of all sections and values, consult the sddm.conf manpage or sddm --example-config

  4. ArthurBorsboom commented on Oct 16, 2014

    @ArthurBorsboom

    Hi Martin,

    I also tried the autologin setting at home, and it doesn't work either.
    However, it does provide me with a clue.

    At home I have a truecrypt script running immediately after login.

    What I noticed at home is that after a reboot the truecrypt script shows
    instantly, without entering my user password.
    After providing the correct truecrypt password, it shows the sddm login
    page.
    I have the impression that I get logged out instantly.
    If I then provide the user password, everything works normal and I get
    logged in.

    Since at work I don't have this truecrypt script, it just seems like that
    the autologin is not working. This was the situation before you answered.

    After running the command "sudo journalctl /usr/bin/sddm -r" I get the
    following.

    Oct 16 20:35:52 z97 sddm[206]: Greeter stopped.
    Oct 16 20:35:52 z97 sddm[206]: Auth: sddm-helper exited successfully
    Oct 16 20:35:52 z97 sddm[206]: Session started
    Oct 16 20:35:52 z97 sddm[206]: Adding cookie to "/home/arthur/.Xauthority"
    Oct 16 20:35:52 z97 sddm[206]: Authenticated successfully
    Oct 16 20:35:52 z97 sddm[206]: Message received from greeter: Login
    Oct 16 20:28:03 z97 sddm[206]: Message received from greeter: Connect
    Oct 16 20:28:03 z97 sddm[206]: Greeter session started successfully
    Oct 16 20:28:03 z97 sddm[206]: Greeter starting...
    Oct 16 20:28:03 z97 sddm[206]: Socket server started.
    Oct 16 20:28:03 z97 sddm[206]: Socket server starting...
    Oct 16 20:28:03 z97 sddm[206]: Display server started.
    Oct 16 20:28:03 z97 sddm[206]: Running display setup script
    "/usr/share/sddm/scripts/Xsetup"
    Oct 16 20:28:03 z97 sddm[206]: Signal received: SIGUSR1
    Oct 16 20:28:02 z97 sddm[206]: Display server starting...
    Oct 16 20:28:02 z97 sddm[206]: Adding cookie to "/var/run/sddm/:0"
    Oct 16 20:28:02 z97 sddm[206]: Adding new display : 0 on vt 1 ...
    Oct 16 20:28:02 z97 sddm[206]: Removing display : 0 ...
    Oct 16 20:28:02 z97 sddm[206]: Display server stopped.
    Oct 16 20:28:02 z97 sddm[206]: Display server stopping...
    Oct 16 20:28:02 z97 sddm[206]: Auth: sddm-helper exited with 127
    Oct 16 20:27:56 z97 sddm[206]: Session started
    Oct 16 20:27:56 z97 sddm[206]: Adding cookie to "/home/arthur/.Xauthority"
    Oct 16 20:27:56 z97 sddm[206]: Authenticated successfully
    Oct 16 20:27:56 z97 sddm[206]: Display server started.
    Oct 16 20:27:56 z97 sddm[206]: Running display setup script
    "/usr/share/sddm/scripts/Xsetup"
    Oct 16 20:27:56 z97 sddm[206]: Signal received: SIGUSR1
    Oct 16 20:27:55 z97 sddm[206]: Display server starting...
    Oct 16 20:27:55 z97 sddm[206]: Adding cookie to "/var/run/sddm/:0"
    Oct 16 20:27:55 z97 sddm[206]: Adding new display : 0 on vt 1 ...
    Oct 16 20:27:55 z97 sddm[206]: Starting...
    Oct 16 20:27:55 z97 sddm[206]: Initializing...
    -- Reboot --

    This part "Auth: sddm-helper exited with 127" might be the cause of the
    automatic logout.
    Do you have any idea what causes the automatic logout (as it seems to me
    now)?

    On 16 October 2014 08:41, Martin Bříza [email protected] wrote:

    The config file format has changed. You have to use the [Autologin]
    section and configure the User= and Session= values. For the complete
    overview of all sections and values, consult the sddm.conf manpage or sddm
    --example-config

    —
    Reply to this email directly or view it on GitHub
    #1 (comment).

    Arthur Borsboom
    Lieven de Keystraat 77
    3067 KG, Rotterdam
    The Netherlands
    Mob: +31629089953
    Email: [email protected]
    Skype: Arthur Borsboom, The Hague, The Netherlands

    [image: View Arthur's LinkedIn profile]
    http://uk.linkedin.com/in/arthurborsboom

  5. added a commit that references this issue on Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions