LoginSignup
2
0

gdmではログインできるのにlightdmだとログインできないとき

Last updated at Posted at 2019-11-30

なぜか~/.Xauthorityの所有者、所有グループがrootになっていたから

sudo chown 1000:1000 ~/.Xauthority  # インストール時に作ったユーザーなら大抵UID,GIDどちらも1000なはず
sudo chown ${USER}:$(id -gn) ~/.Xauthority  # こっちのほうがいいかも

してあげたらログインできるようになった
実行する際は一般ユーザーで!

環境: Ubuntu 18.04.3 Japanese remix amd64

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0