$ sudo /etc/init.d/lightdm stop
[sudo] password for ubuntu:
- Stopping X display manager lightdm [ OK ]
$ sudo /etc/init.d/lightdm start - Starting X display manager lightdm [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.1, UID=0 PID=3089
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.02s] DEBUG: Adding default seat
[+0.02s] DEBUG: Seat: Starting
[+0.02s] DEBUG: Seat: Creating user session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.06s] DEBUG: Seat: Creating display server of type x
[+0.07s] DEBUG: Using VT 7
[+0.07s] DEBUG: Seat: Starting local X display on VT 7
[+0.07s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.07s] DEBUG: DisplayServer x-0: Can’t launch X server Xephyr, not found in path
[+0.07s] DEBUG: DisplayServer x-0: X server stopped
[+0.07s] DEBUG: Releasing VT 7
[+0.07s] DEBUG: Seat: Display server stopped
[+0.07s] DEBUG: Seat: Can’t create display server for automatic login
[+0.07s] DEBUG: Seat: Session stopped
[+0.07s] DEBUG: Seat: Stopping display server, no sessions require it
[+0.07s] DEBUG: Seat: Creating greeter session
[+0.07s] DEBUG: Seat: Creating display server of type x
[+0.07s] DEBUG: Using VT 7
[+0.07s] DEBUG: Seat: Starting local X display on VT 7
[+0.07s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.07s] DEBUG: DisplayServer x-0: Can’t launch X server Xephyr, not found in path
[+0.07s] DEBUG: DisplayServer x-0: X server stopped
[+0.07s] DEBUG: Releasing VT 7
[+0.07s] DEBUG: Seat: Display server stopped
[+0.07s] DEBUG: Seat: Can’t create display server for greeter
[+0.07s] DEBUG: Seat: Session stopped
[+0.07s] DEBUG: Seat: Stopping display server, no sessions require it
[+0.07s] DEBUG: Seat: Stopping
[+0.07s] DEBUG: Seat: Stopped
[ OK ]