Linux Programmer | RHCE | RHCSA

Search This Blog

Friday 16 February 2018

Autologin Ubuntu 16.04 with LightDM

Autologin with LighDM in ubuntu 16.04

$ touch /etc/lightdm/lightdm.conf

open file and add the below entry

$ nano /etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user=lubuntu
autologin-user-timeout=0
greeter-session=lightdm-gtk-greeter
greeter-hide-users=true
user-session=Lubuntu
session-cleanup-script=service lightdm restart



Start VNC Server


x11vnc -shared -forever -xkb  -rfbport 5007 -httpport 5009 -repeat &
vncviewer -fullscreen -viewonly -listen &

No comments:

Post a Comment

SSH not working with password after upgrade ubuntu 22.04

Issue: In recent upgrade of ubuntu 22.04 we are not able to login server with SSH password. but when we try to login with key then it allow...