新安装的 Linux Mint 19.2 上声音不起作用

新安装的 Linux Mint 19.2 上声音不起作用

我尝试强制重新加载pulseaudio,重新启动系统......一切都无济于事。但后来我尝试了以下方法:

phonon@DALEK:~$ apt-get install alsa-utils -y

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

phonon@DALEK:~$ sudo apt-get install alsa-utils -y

[sudo] password for phonon: 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
alsa-utils is already the newest version (1.1.3-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.

phonon@DALEK:~$ systemctl --user enable pulseaudio && systemctl --user start pulseaudio

Created symlink /home/phonon/.config/systemd/user/default.target.wants/pulseaudio.service → /usr/lib/systemd/user/pulseaudio.service.
Created symlink /home/phonon/.config/systemd/user/sockets.target.wants/pulseaudio.socket → /usr/lib/systemd/user/pulseaudio.socket.
Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl --user status pulseaudio.service" and "journalctl --user -xe" for details.

phonon@DALEK:~$ systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-09-25 08:44:40 PDT; 26s ago
  Process: 2128 ExecStart=/usr/bin/pulseaudio --daemonize=no (code=exited, status=1/FAILURE)
 Main PID: 2128 (code=exited, status=1/FAILURE)

Sep 25 08:44:40 DALEK systemd[1149]: pulseaudio.service: Service hold-off time over, scheduling restart.

Sep 25 08:44:40 DALEK systemd[1149]: pulseaudio.service: Scheduled restart job, restart counter is at 5.

Sep 25 08:44:40 DALEK systemd[1149]: Stopped Sound Service.
Sep 25 08:44:40 DALEK systemd[1149]: pulseaudio.service: Start request repeated too quickly.
Sep 25 08:44:40 DALEK systemd[1149]: pulseaudio.service: Failed with result 'exit-code'.
Sep 25 08:44:40 DALEK systemd[1149]: Failed to start Sound Service.

因此,我对这里的错误代码的含义以及如何解决此问题感到困惑。我尝试重新安装pulseaudio,但这搞乱了肉桂。

我知道这不是硬件故障,因为我在 BIOS 中测试了声音并且它可以工作。

根据建议我尝试了这个:

phonon@DALEK:~$ systemctl status sound.target
● sound.target - Sound Card
   Loaded: loaded (/lib/systemd/system/sound.target; static; vendor preset: enab
   Active: active since Wed 2019-09-25 15:49:57 PDT; 16h ago
     Docs: man:systemd.special(7)

Sep 25 15:49:57 DALEK systemd[1]: Reached target Sound Card.
lines 1-6/6 (END)...skipping...
● sound.target - Sound Card
   Loaded: loaded (/lib/systemd/system/sound.target; static; vendor preset: enabled)
   Active: active since Wed 2019-09-25 15:49:57 PDT; 16h ago
     Docs: man:systemd.special(7)

Sep 25 15:49:57 DALEK systemd[1]: Reached target Sound Card.

相关内容