Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Fix Automatic Login Greyed Out in Ubuntu Linux Machine

November 30, 2022
in Blog, Linux, Ubuntu
0
ADVERTISEMENT

Table of Contents

In general, users are required to authentication before logging on to a Linux device. This helps in ensuring that sensitive and personal information on the device is safe. 

But, if you are so sure that the Linux system is placed in a secure environment and can be adequately monitored, then you can enable automatic login for your Linux device.

Automatic Login Greyed Out in Ubuntu

But when you enable automatic login from Users settings window as shown below. As you can see, the option to disable automatic logon is grayed out.

To do this, you will have to click on the button as shown below in order to change the user settings. Then you will be prompted to enter your password to apply the changes. Without entering the password, you will not be able to enable the automatic logon.

Upon authentication, you should be able to switch on the Automatic login as shown below. That is all that is needed to enable automatic login in Ubuntu.

Note Note: To disable automatic login in Ubuntu 20:10, kindly repeat the process and switch the Ubuntu Automatic Login off.

Enable automatic login using Terminal

Alternatively, you can enable automatic login using Terminal instead of using GUI.

1. Open Terminal then run the following command:

sudo nano /etc/gdm3/custom.conf

2. In the custom.conf file opened, you will have to uncomment some selected lines out by removing the pound symbol # at the beginning of each line. This will ensure the interpreter ignores the commented lines when reading through a configuration file.

If it is already uncommented, you need to change False to True and replace the username with yours or the desired username.

# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.

[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10

AutomaticLoginEnable=True #Change from False to True
AutomaticLogin=bonben

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true

3. Save the file then restart your Ubuntu machine to verify it works.

Note Tip: To save the file in nano editor, press > >
ADVERTISEMENT
5/5 - (1 vote)
Previous Post

How to Fix Share with Everyone Option Missing in SharePoint Online

Next Post

How to Fix Drag and Drop Not Working in Ubuntu 20.04 on VMware

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory