I had setup vnc through vncserver script http://manpages.ubuntu.com/manpages/hardy/man1/vnc4server.1.html .This script were launched under the root. After that i decide to use xrdp instead vnc and remove vnc4server package. Worse luck, the login dialog were changed by Xrdp. And now it's depend from default lightdm dialog. But must horrible thing is only the root can login in system now. Other users authorization challenges are fails.
root@mediacenter:~# stat /etc/passwd File: '/etc/passwd' Size: 2230 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 920089 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2016-02-13 00:01:55.338874970 +0300 Modify: 2015-09-29 23:43:56.607963741 +0300 Change: 2015-09-29 23:43:56.641963316 +0300 Birth: -root@mediacenter:~# stat /etc/shadow File: `/etc/shadow' Size: 1727 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 920737 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 42/ shadow) Access: 2016-02-13 00:39:03.394275815 +0300 Modify: 2015-09-29 23:43:56.461965559 +0300 Change: 2015-09-29 23:43:56.495965141 +0300 Birth: -
As seems above this files weren't modified since september of 2015.
content of /etc/lightdm/lightdm.conf is:
[SeatDefaults] autologin-guest=false autologin-user=sergii autologin-user-timeout=0 autologin-session=lightdm-autologin greeter-session=lightdm-gtk-greeter user-session=ubuntustudio
I will be very grateful if someone show me the way how to repair login in my system.
Also, i were tried run Users Setting application from "System" -> "Users and Groups" but it hangs when launching
When I going to terminal mode with Ctrl+Alt+F4 then login as other user is OK. So it seems that XServer fails to start session for users except for root.