Enable / Disable auto login in openSUSE 12.1 – KDE Desktop
Last week i have installed openSUSE 12.1 on my laptop, during the installation i have enabled auto login feature; so that it automatically takes me to desktop. Yesterday i have installed cinnamon desktop environment and i was trying to login with cinnamon session but no luck due to auto login. I have decided to remove the auto login feature; here is the way to disable the autologin in openSUSE 12.1.
Method 1:
Open Yast.
Click on Security and Users and then click on User and Group Management.
Click the scroll on the Expert Settings and then select Login Settings.
In the next window, Uncheck to disable autologin and vice-versa.
Method 2:
Open Terminal.
Edit the /etc/sysconfig/displaymanager file.
vi /etc/sysconfig/displaymanager
To enable the autologin, place your user name (in my case “raj”) in the DISPLAYMANAGER_AUTOLOGIN field; it will look like below.
## Type: string
## Default:
#
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.
#
DISPLAYMANAGER_AUTOLOGIN="raj"
To disable auto login, remove the username from the DISPLAYMANAGER_AUTOLOGIN field; it will look like below.
## Type: string
## Default:
#
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.
#
DISPLAYMANAGER_AUTOLOGIN=""
That’s all!