-1

i have 3 user account in system with kde and xfce . in x-server i can not login with all created users.

in terminal after restart x-server and kdm or xfce i do not get any error. login interminal not problem but i can not login with kde or xfce. orxfce`.

DolDurma
  • 310
  • 4
  • 7
  • 17

1 Answers1

0

Try these solutions:

Login to tty (Ctrl+Alt+F1) and remove the .Xauthority file and also need to remove the .xsession-errors files.

sudo rm .Xauthority
sudo rm .xsession-errors*

or also back it up:

sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart

Check the home directory:

ls -l /home

you may have to give ownership back to your account using chown

sudo chown -R username:group /home/username

More answers here

JoKeR
  • 6,972
  • 9
  • 43
  • 65
  • i'm going all of this ways. not resolve my problem. .xsession-errors result: Xsession: X session started for tux-world at Wed Jun 11 10:16:59 IRDT 2014 open: Permission denied and -rw------- 1 tux-world tux-world 0 Jun 11 10:18 .Xauthority – DolDurma Jun 11 '14 at 05:54
  • did you do what's written in my answer? do you have root (sudo) privileges? you cannot do this as a simple user. – JoKeR Jun 11 '14 at 05:56
  • moving .Xauthority and chown -R tux-world:tux-world for /home/tux-world and for finish running servise lightdm restart. – DolDurma Jun 11 '14 at 06:00
  • remove it with commands in my answer, this tutorial works for sure otherwise you experience problems with something else. – JoKeR Jun 11 '14 at 06:03
  • why thats looping for get username password. i see open: Permission denied in .xsession-errors file. – DolDurma Jun 11 '14 at 06:05
  • permission denied because you're doing it without or you don't have root priviliges, can you login as sudo su and repeat it? – JoKeR Jun 11 '14 at 06:12
  • .xsession-errors content: `Xsession: X session started for tux-world at Wed Jun 11 10:51:28 IRDT 2014

    localuser:tux-world being added to access control list

    OpenSSL version mismatch. Built against 1000105f, you have 10001080` and looping againg for get username password

    – DolDurma Jun 11 '14 at 06:25
  • read here what is your distro by default? – JoKeR Jun 11 '14 at 06:31