can't login to xsession as new user

Dear All,
I have installed new linux image and added new user with command adduser new user. Additionally, I have changed:

vi /etc/lxdm/lxdm.conf

#PermitRootLogin yes
#PermitEmptyPasswords yes

I can successfully login with new user via SSH, but can’t login into x session using new user after reboot. Login window is coming back after few seconds (looks like lxdm try to load lxde but exiting after a while, nothing happens in .cache/lxsession/LXDE/run.log log file), .xsession-errors is empty and nothing in lxdm.log. What is surprising, new user can login to X only if, I will after reboot login as root first, logout, and then login as new user. After reboot problem is becoming.


I tried this out with 2.7b4 and it is working fine.

Could you check for the permissions on /home/<username>/.xsession-errors?

-rw------- 1 newuser newuser 0 Jul 26 07:07 /home/newuser/.xsession-errors

what is strange, when I first login as a root, click logout, after that I can login as a new user successfully. When I’m trying to login as a new user just after reboot, screen becomes blue for a 2 second, white for a 2 second and login window appears again.

finally found the reason of the problem. New user doesn’t have permissions to: /dev/galcore

 ls -l /dev/galcore
crw-rw----    1 root     video     199,   0 Jul 26 10:26 /dev/galcore

so, lxde couldn’t start and was exiting quietly. Adding new user to video group resolved the problem.

Perfect, that it works. Thanks for the feedback.