
Ubuntu 14.04 オペレーティング システムを使用しています。現在、ログインの問題が発生しています。オペレーティング システムのデスクトップにアクセスするためにログインのパスワードを入力すると、パスワードを入力するための同じウィンドウが再読み込みされます。間違ったパスワードを入力すると、「無効なパスワードです。もう一度お試しください」というエラーが表示されますが、正しいパスワードを入力すると、デスクトップの作業領域ではなく、パスワードを入力するための同じウィンドウが表示されます。また、ゲスト セッションとしてログインしようとすると、パスワードを入力するための同じウィンドウが再び表示されます。この問題を解決して、Ubuntu システムで作業できるようにするための提案をお願いします。
Ctrl+alt+F2 を実行してシステムにログインすると、次のように表示されます:-
welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-33-generic i686) *Documentation: HTTPS://help.Ubuntu.com/
23 package can be updated.
0 updates are security updates. -bash: groups: command not found. Command 'ls' is available is '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found.
Command 'lesspipe' is available in the following places.
*/bin/lesspipe.
*/usr/bin/lesspipe.
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
Lesspipe: command not found
Command 'dircolors' is available in '/usr/bin/dircolors'.
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
dircolors: command not found.
Command 'ls' is available in '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found.
答え1
コメントでの議論とこのチャットルームを に変更したため、/etc/environment
PATH が壊れてしまいました。その結果、ログイン マネージャーはログインに必要な実行ファイルを見つけることができませんでした。これを修正するには、ファイルを編集して/etc/environment
正しい を設定します$PATH
。
Ctrl+ Alt+を押してF1、コマンドラインからログインします。
ファイルを編集するには、次のコマンドを実行します。
/usr/bin/sudo /usr/bin/nano /etc/環境
そのファイル内のすべてを削除し、以下の行に置き換えます。この行以外はファイルに何も含まれていないことを確認してください。
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
ファイルを保存して(Ctrl+ O)、終了する(Ctrl+X
Ctrl+で GUI ログイン マネージャーに戻りF7、再度ログインを試みます。期待どおりに動作するはずです。
答え2
sted でこれを試すことができます:
sudo dkms-reconfigure Xauthority
この方法でうまくいくかもしれない