[ubuntu-jp:4426] ユーザ認証に成功してもXが立ち上がらずログイン画面に戻ってしまうようになってしまいました

dezawa dezawa @ aliadne.net
2013年 5月 16日 (木) 06:10:41 UTC


出沢です

rebootしたら、ログインしてもGDMのユーザ認証の画面に戻るようになってしま
いました。いまネットでしらべながらいろいろ試しているのですが見通しが立っ
ていません。お知恵をお貸しください。

system
 まだ Ubuntu10です。ちと事情がありまして。
 update 2.6.32-46-generic にupdate後しばらくrebootしていません
 でした

reboot前の状況
 emacsにて日本語モードにしても変換候補の表示が出なくなった
 emacsを終了するためにウインドウ枠右上の X をクリックしたら
 応答しなくなった
 そこで、C+A+F11, A+F1 でコンソール画面にloginしてrebootした

reboot後、ログインすると
  認証失敗のメッセージは出ず、画面が暗転し、しばらくするとGDMの
  ログイン画面に戻る

      sshでのログイン、consoleからのloginはできる
   apache、mail、dnsなどは動いている

  カーネルを古いもの(6世代ぐらいまでためした)にしても同じ現象
  rootでloginしてみても同じ現象

調べたこと
 dmesg, messages 私には異常見つからず
  syslog その時刻にlogはでていますが、警告はありますがエラーらしきもの
	は見つかりませんでした。
 auth.log 認証に成功した後、nox11 mode になって終わっている
 xsession-errors:.profileが開けないとのエラー?が出ている。  
 .profile のパーミッションは 644。catで読める
 .Xauthorityを削除してみたが、変わらない。新たに作成もされない
 xinit すると display 0 で既に動いているといる警告
   /usr/bin/X とその親、祖父の gdm-simple-slave, bdm-binaryをkill
   すると、xinit でXは立ち上がる(WMなしで)

## syslog ##
May 16 14:20:34 ww3 gdm-simple-greeter[1724]: WARNING: Default session 
is not available
May 16 14:20:38 ww3 dovecot: Dovecot v1.2.9 starting up (core dumps
disabled)
May 16 14:20:38 ww3 kernel: [   42.668148] __ratelimit: 21 callbacks
suppressed
May 16 14:20:38 ww3 kernel: [   42.668150] type=1503
audit(1368681638.454:27):  operation="open" pid=2208 parent=1725
profile="/us
r/share/gdm/guest-session/Xsession" requested_mask="r::"
denied_mask="r::" fsuid=500 ouid=500 name="/home/dezawa/.profile"
May 16 14:20:38 ww3 gdm-simple-slave[2310]: WARNING: Unable to load file
'/etc/gdm/custom.conf': そのようなファイルやディレクトリ
はありません
May 16 14:20:38 ww3 acpid: client 1473[0:0] has disconnected
May 16 14:20:38 ww3 acpid: client connected from 2312[0:0]
May 16 14:20:38 ww3 acpid: 1 client rule loaded

### auth.log
gdm-session-worker[1725]: pam_unix(gdm:session): session opened for user
dezawa by (uid=0)
gdm-session-worker[1725]: pam_ck_connector(gdm:session): nox11 mode,
ignoring PAM_TTY :0
gdm-session-worker[1725]: pam_unix(gdm:session): session closed for user
dezawa

## .xsession-errors
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=ja_JP.
Start IM through /etc/X11/xinit/xinput.d/ja_JP linked to /etc/X11
/xinit/xinput.d/ibus.
/etc/gdm/Xsession: Beginning session setup...
.: 34: Can't open /home/dezawa/.profile




More information about the ubuntu-jp mailing list