Skip to content

autologin-session=guisession #253

Open

Description

@iwl

sed -i 's/#user-session=.*/user-session=guisession/g' /etc/lightdm/lightdm.conf

autologin-session=guisession - - - - - should also be set
sed -i 's/#autologin-session=.*/autologin-session=guisession/g' /etc/lightdm/lightdm.conf
I think that ensures always guisession is used on autologin.
Otherwise it somehow depends on last session used and I have seen some hacks with ~/.dmrc, but still have seen the Desktop sometimes after boot.
I have also set XKBOPTIONS="terminate:ctrl_alt_bksp":
/etc/default/keyboard:
`#KEYBOARD CONFIGURATION FILE

#Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS="terminate:ctrl_alt_bksp"

BACKSPACE="guess"`
terminate:ctrl_alt_bksp -> I can kill X-Server with ctrl_alt_bksp and get to X-Server-Login, where I can login for the GUI and do some maintenance, or can press ctrl_alt_bksp again and get Autologin FullPage again,
so ctrl_alt_bksp Alternates between X-Login and Autologin FullPage

Activity

  1. guysoft commented on Mar 18, 2025

    @guysoft
    Owner

    Ok, it worked for me until now - does it work for you and this is just a precaution or did this break something for you?
    I want to understand the urgency.

  2. iwl commented on Mar 20, 2025

    @iwl
    ContributorAuthor

    I've experienced AutoLogins into the LightDmDesktop.
    That's why I investigated the Problem.
    And I think that ~/.dmrc writing in some scripts of the image I used was somebodies try to solve the same problem, but haven't worked dependable for me.
    Several can't cope with a Linux Desktop appearing, fewer can access the System to easy then...

  3. guysoft commented on Mar 23, 2025

    @guysoft
    Owner

    Ok - any chance you can draft a PR? I will get to it far later then you likely.

  4. added a commit that references this issue on Mar 26, 2025
  5. added a commit that references this issue on Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions