Não há som no Ubuntu após o login

2

Depois que instalei e desinstalei o lxde com o Ubuntu 16.04, não consigo ouvir nenhum som no Ubuntu depois do login com o meu usuário (na tela de login ele funciona).

Começou com (do history | grep apt):

  149  sudo apt-get install lubuntu-desktop 
  166  sudo apt install --reinstall ubuntu-desktop
  167  sudo apt install --reinstall ubuntu-desktop && sudo apt install unity
  168  sudo apt lightdm restart
  170  sudo apt autoremove 
  172  sudo apt install --reinstall ubuntu-desktop && sudo apt install unity
  176  sudo apt remove lxde-core 
  177  sudo apt remove lxde-common 
  178  sudo apt autoremove 

E depois, o som não estava mais lá (talvez até mais cedo e eu não reconheci).

Após algumas tentativas (com reinicializações no meio), o som também não funcionou:

  194  sudo apt remove alsa-base 
  195  sudo apt autoremove 
  198  sudo apt-get autoremove pulseaudio
  199  sudo apt autoremove 
  202  sudo apt install pulseaudio
  206  sudo apt-get remove alsa
  207  sudo apt autoremove 
  210  sudo apt-get remove alsa-base alsa-utils
  212  sudo apt install indicator-sound
  213  sudo apt-get remove --purge alsa-base
  215  sudo apt-get remove --purge alsa-base
  216  sudo apt-get remove --purge pulseaudio
  217  sudo apt update && sudo apt upgrade
  219  sudo apt-get install alsa-base
  220  sudo apt-get install pulseaudio
  224  sudo apt install indicator-sound

Mas quando eu criei um novo usuário e me conectei com ele, funcionou. Eu li link , O som não funciona no Ubuntu 14.04 e Não há indicador de som após o login , mas não encontrou nenhuma solução para o problema que o som não está disponível apenas para um usuário. Parece que é um problema de configuração deste usuário. Na pasta inicial, os seguintes arquivos de configuração estão presentes:

reichelt@reichelt-Aspire-S3:~$ ll | grep \.
drwxr-xr-x 28 reichelt reichelt  4096 Jul  4 10:59 ./
drwxr-xr-x  4 root     root      4096 Jul  4 10:48 ../
-rw-------  1 reichelt reichelt 10537 Jul  4 10:48 .bash_history
-rw-r--r--  1 reichelt reichelt   220 Jun  9 20:53 .bash_logout
-rw-r--r--  1 reichelt reichelt  3771 Jun  9 20:53 .bashrc
drwx------ 21 reichelt reichelt  4096 Jul  4 10:21 .cache/
drwx------ 24 reichelt reichelt  4096 Jul  4 10:35 .config/
drwx------  3 root     root      4096 Jul  4 10:21 .dbus/
-rw-r--r--  1 reichelt reichelt    25 Jun 21 00:50 .dmrc
-rw-r--r--  1 reichelt reichelt  8980 Jun  9 20:53 examples.desktop
drwx------  3 reichelt reichelt  4096 Jul  4 10:59 .gconf/
-rw-rw-r--  1 reichelt reichelt   205 Jul  2 15:15 .gitconfig
-rw-r-----  1 reichelt reichelt     0 Jul  4 10:20 .gksu.lock
drwx------  3 reichelt reichelt  4096 Jul  4 10:59 .gnome2/
drwx------  2 reichelt reichelt  4096 Jul  3 17:20 .gnome2_private/
drwx------  3 reichelt reichelt  4096 Jul  4 10:50 .gnupg/
-rw-------  1 reichelt reichelt  6954 Jul  4 10:50 .ICEauthority
drwx------  3 reichelt reichelt  4096 Jun 21 00:50 .local/
drwxrwxr-x  3 reichelt reichelt  4096 Jun 20 23:27 .m2/
-rw-rw-r--  1 reichelt reichelt   402 Jul  3 20:16 missfont.log
drwx------  4 reichelt reichelt  4096 Jun 21 00:50 .mozilla/
drwxrwxr-x  2 reichelt reichelt  4096 Jul  2 15:15 .nano/
drwx------  3 reichelt reichelt  4096 Jun 20 23:29 .pki/
-rw-r--r--  1 reichelt reichelt   675 Jun  9 20:53 .profile
drwx------  6 reichelt reichelt  4096 Jul  4 00:00 .Skype/
drwx------  2 reichelt reichelt  4096 Jun 20 23:44 .ssh/
drwxr-xr-x  3 reichelt reichelt  4096 Jul  2 17:44 .texmf-var/
drwx------  4 reichelt reichelt  4096 Jul  2 10:50 .thunderbird/
drwxr-xr-x  2 reichelt reichelt  4096 Jul  4 10:59 .vim/
-rw-------  1 reichelt reichelt  7900 Jul  4 10:59 .viminfo
-rw-------  1 reichelt reichelt    63 Jul  4 10:50 .Xauthority
-rw-------  1 reichelt reichelt    94 Jul  4 10:50 .xsession-errors
-rw-------  1 reichelt reichelt   829 Jul  4 10:48 .xsession-errors.old

A exclusão de .config, .gnome2, .gnome2_private e .local e relogin não alterou nada. Alguém tem uma idéia de onde a configuração errada pode ser?

    
por David Georg Reichelt 04.07.2016 / 11:02

3 respostas

0

Eu estava na mesma situação quando um novo usuário tinha som, mas eu provavelmente não tinha estragado algo com o apt.

Em alsamixer minha placa de som foi exibida, mas nas configurações - > não soa.

Foi resolvido quando copiei (como novo usuário):

/home/newuser/.config/pulse/*

para (como novo usuário; também não esqueça de mkdir isso):

/home/newuser/pulsecopy/

porque o usuário não pode acessar os outros usuários .config e depois para (como usuário original)

/home/originaluser/.config/pulse/
    
por Tuaafooo 04.03.2017 / 23:05
0

Eu tive o mesmo problema ontem. Eu instalei o Jack e depois de um reboot eu encontrei isso.

Após uma pequena pesquisa, eu saí com essa solução.

  1. Desinstalar o JACK

  2. Vá para o diretório ~/.config/pulse/

  3. Remova todos os arquivos localizados lá.

De repente, descobri que meus dispositivos de saída começaram a aparecer nas configurações de som.

Espero que isso ajude.

    
por Ahsan A. Ishan 08.09.2017 / 10:53
0

Esta cópia pode ser feita a partir de uma sessão do LiveUSB e não ter o "novo usuário" em funcionamento?

Citando para referência:

% bl0ck_qu0te%     
por Mark Preston 24.04.2018 / 19:10