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.
This is simple guide about enable xdmcp service on Ubuntu 12.04 for user/root remote login.
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.
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".
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.
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 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
F18 on an old R40
Originally did an XFCE install.
Installed MATE. Got sick of trying to get lightdm to auto log in.
removed lightdm after installing gdm
gdm would not auto start. Had to log in and launch it manually. Spent a while trying to figure out how gdm starts - could not find it. Searched net / Fedora Forums etc. No joy.
gave up. gdm uses too much memory anyway.
I have Linux Mint 14 Xfce and have also installed LXDE desktop, so I can choose between these sessions if I want.