lightDM 動かねえぞ?
ThinkPad Ubuntu14.04を久々に起動したらGUIログイン画面が出てこなくなったようなのでCtrl+Alt+F1でCUIログインして
%sudo start lightdm
立ち上がらないね。
zsh: corrupt history file /home/nao/.zsh-history
ってエラーが表示される。
.zsh-history に @ が連続した行が生成されてた。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
原因はよくわからん、削除したらエラーは解消したっぽい。
再度
%sudo start lightdm
%♦︎ sudoers ♦︎♦︎♦︎♦︎
起動しない
化けてるから読めるようにする
%export LANG=C
もう一回
%sudo start lightdm
結果
% "USERNAME" is not the sudoers file. This incident will be reported.
とな。
一旦ここで終了。
今日中に上記エラー内容でググってみよう。
//追記
とりあえず
ググったら
http://askubuntu.com/questions/151200/my-main-username-is-not-in-the-sudoers-file
がヒット
I tried to edit the/etc/sudoers
file by usingsudo
andsu username
but I got the same error!
とあるので自分もトライ
%cd /etc/sudoers
sudoersとsudoers.dがある
vimで開いたらどちらも内容は無い。謎?
%su "USERNAME"
でログインは出来る
この状態で
%start lightdm
結果
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.18" (uid=1000 pid=6099 comm="start lightdm") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" request_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
とな。
なんとなくわかってきたきがする
ユーザがsudoに登録されてないのかねこれ。
//追記
これで解決した。。
けどなんかズレてる気もする