每次我调用sudo时,Ubuntu登录循环和错误的解释器

时间:2016-12-06 11:04:03

标签: python-3.x ubuntu-16.04

当我不小心重新启动计算机时,我试图安装wireshark。现在我被困在Ubuntu的无限登录循环中。我尝试从bash做一些事情,但每当我尝试运行sudo命令时,sudo su就会得到:

-bash: /usr/lib/command-not-found: /usr/non/python3: bad interpreter: permission denied.

我尝试将权限更改为该权限但不起作用。

编辑:
我通过以root用户和sudo chmod 777 /usr/lib/command-not-found甚至sudo chmod 777 /usr/bin/python3进入恢复模式来解决问题。我尽可能地尝试了一切,我甚至不知道它为什么会起作用。

1 个答案:

答案 0 :(得分:0)

试试这个

.text-field {
    -fx-background-color: rgba(0,0,0,0.1);
    -fx-border-color: rgba(0,0,0,0.1);
    -fx-background-radius:30;
    -fx-border-radius:30;
    -fx-min-height:45;
    -fx-text-fill: #fff;
    -fx-prompt-text-fill: #fff;
    -fx-border-width:0px;
    -fx-alignment: center;
    -fx-font-size: 1.2em;
    -fx-effect: null;
}

.text-field:hover,
.text-field:focused,
.text-field:selected {
    -fx-background-color: rgba(0,0,0,0.1);
    -fx-border-color: rgba(0,0,0,0.1);
    -fx-background-radius:30;
    -fx-border-radius:30;
    -fx-min-height:45;
    -fx-text-fill: #fff;
    -fx-prompt-text-fill: #fff;
    -fx-border-width:0px;
    -fx-alignment: center;
    -fx-font-size: 1.2em;
    -fx-effect: null;
}