It’s not commended to enable and login as root user in Ubuntu Linux. sudo command can do most works if you need super user privilege. But if you do need or have a good reason to login Ubuntu as root, here’s a way to login root via LightDM. Do it at your own risk!
Since Ubuntu 11.10, the default display manager was changed to LightDM.
Lightdm is displayed properly but after entering a password and clicking login, I see the screen blink and lightdm window re-appears and asks to log in as if nothing happened.
Configs
user@laptop:~$ cat /etc/lightdm/
lightdm.conf lightdm-gtk-greeter-ubuntu.conf
lightdm-gtk-greeter.conf users.conf
lightdm.conf
user@laptop:~$ cat /etc/lightd
I've set up a kiosk using Ubuntu 12.04, and I'd like to have it autologin after a user logs out or if the screen locks, in case someone manages to get back to lightdm or tries to login to the non-kiosk account after a reboot. I've tried setting display-setup-script in lightdm.conf to run xautolock to trigger restarting lightdm, but that just causes Ubuntu startup in low graphics mode.
This is simple guide about enable xdmcp service on Ubuntu 12.04 for user/root remote login.
I recently made a few changes to my PC (Ubuntu 12.04 LTS Desktop):
Installed openssh-server so I could check on the computer remotely
Added my username to /etc/lightdm/lightdm.conf to log me in automatically
Installed fail2ban
Here are the lines I added to /etc/lightdm/lightdm.conf
Code:
autologin-user=clay
autologin-user-timeout=0
Now when I start the computer, I get the server login
I'm using 12.04. It was working fine till now. Suddenly today it happened to stuck/hang. I was writing Python scripts which went in infinite loop. So I restarted my PC and was unable to login to Admin account.
The default behavior in the Nexus 7 Image is to log straight in to the default user's desktop, bypassing the lightdm greeter. This seems like an acceptable behavior for testing the core but it's clearly insecure.
I've changed the default password and would like lightdm to actually require the password to be entered, rather than just having a button that says "login".
This simple tutorial is going to show you how to remove the white dots in LightDM login screen in Ubuntu 12.10.
If you have already installed the Ubuntu Tweak, navigate to Tweaks -> Login Settings -> unlock -> turn off draw grid.
Alternatively, hit Ctrl+Alt+T, copy and paste following commands into terminal and run one by one.
Allow user lightdm to create a connection to the X server:
sudo xhost
I start my 12.10 box up, toggle between terminals to get the decryption prompt up, then lightdm follows shortly thereafter. I login as myself with my normal session and get some text on a black screen then BAM I'm back at lightdm's login.