3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

gdmではログインできるのにlightdmだとログインできなかったときの解決方法

Last updated at Posted at 2019-11-30

なぜかログインできない、非rootユーザーの~/.Xauthorityの所有者、所有グループがrootになっていたから

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

してあげたらログインできるようになった
2行目のやつを実行する際は修正するユーザーで実行してね

環境: Ubuntu 18.04.3 Japanese remix amd64

3
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
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?