1- Open a text editor and paste the following code:
- Code: Select all
#!/bin/sh
gnome-screensaver-command -l
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.SimulateUserActivity
2- Save it inside your personal folder with the name .mylogin.sh
3- Open a terminal and execute the following code:
- Code: Select all
chmod a+x ~/.mylogin.sh
4- From the main menu, go to "Preferences"->"Startup Applications" and add a new entry:
- Code: Select all
Name: MyLoginMod
Code: sh /home/NAME_OF_YOUR_PERSONAL_FOLDER/.mylogin.sh
Comment: my login workaround
5- Again from the main menu, go to "Administration"->"Login Window", enter you password at prompt, go to the "Security" tab and check "Enable automatic login" for your user.
Restart your system and at login you'll get this (ready to type your password):

There's no need to mess with other session managers (LightDM, XDM, Slim... whatever), you can have it with the default session manager.


