• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Gelöst keinen Sound mehr

Hallo zusammen,

die Lösung funktioniert - also immer wieder ;-). Allerdings muß ich das bei jedem Neustart durchführen und daher habe ich den Thread nochmal aufgemacht.
Wie kann ich das dauerhaft machen?

Vielen Dank schon mal für sachdienliche Hinweise!

Viele Grüße,
 
Vielen Dank für Deine Antwort!

Die Berechtigungen schauen so aus:
Code:
drwx------  2 root    root   4096 28. Feb 19:08 pulse
drwx------  3 root    root   4096 29. Jan 16:55 pulse.old

Also genauso wie oben. Irgendetwas überschreibt diese immer wieder.

Lieben Dank schon mal für sachdienliche Hilfe!
 
Folgendes ist passiert. Wenn ich den Befehl als root eingebe, erhalte ich eine Ausgabe, die aber zu lang ist, um sie abzugreifen. Wenn ich die Ausgabe in eine Datei umlenken möchte passiert folgendes:

Code:
touch ausgabepa.txt
localhost:/home/xxx/Downloads # pa-info > ausgabepa.txt
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
localhost:/home/xxx/Downloads #

Kann der Fehler damit zu tun haben? :???:
 
Hallo Phoenix7

Leider bin ich zuweit ´raus Linuxprobleme zu analysieren aber mir scheint, bei Dir läuft ein "Pulsaudio Systemwide".
Daher Deine pa-info Ausgabe.

Bei mir hatte sich auch einmal eine "systemwide" Konfiguration durch ein zypper dup in Tumbleweed "eingeschlichen".
Pulseaudio sollte als user laufen.
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide
Dann würden auch die Einträge in Deinem Home wirken.

Gruß, Ganymed
 
Lieben Dank für Deine Antwort!

In der

Code:
/etc/pulse/daemon.conf

steht bei bei Systemweit ein nein. Mhhh, ... scheint es nicht zu sein.

Code:
daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; remixing-produce-lfe = no
; remixing-consume-lfe = no
; lfe-crossover-freq = 0

; flat-volumes = no

; rescue-streams = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0
 
Code:
/bin/pulseaudio
Warum in /bin?

Was sagt:
Code:
ls -al /bin/ | grep -i pulse
Code:
ls -al /usr/bin/ | grep -i pulse
Code:
zypper se -si pulse

So sieht meine 1. Zeile aus:
Code:
> pulseaudio_ps_do
stephan   2064 10.9  0.0 4281248 23004 ?       S<sl Feb27 947:03 /usr/bin/pulseaudio --daemonize=no --log-target=journal
 
Code:
userx1@localhost:~> ls -al /bin/ | grep -i pulse
-rwxr-xr-x  1 root root        1122 17. Jun 2018  apulse
-rwxr-xr-x  1 root root       94168 20. Feb 09:41 pulseaudio
-rwxr-xr-x  1 root root         998 26. Feb 23:16 pulseaudio-dlna
-rwxr-xr-x  1 root root       17631  7. Jan 20:06 pulseaudio-equalizer
-rwxr-xr-x  1 root root         570  7. Jan 20:06 pulseaudio-equalizer-gtk
-rwxr-xr-x  1 root root     3699904 20. Feb 13:17 pulseeffects
-rwxr-xr-x  1 root root       12432 20. Feb 09:41 setup-pulseaudio
-rwxr-xr-x  1 root root        2280 20. Feb 09:41 start-pulseaudio-x11
userx1@localhost:~>

Code:
userx1@localhost:~> ls -al /usr/bin/ | grep -i pulse
-rwxr-xr-x  1 root root        1122 17. Jun 2018  apulse
-rwxr-xr-x  1 root root       94168 20. Feb 09:41 pulseaudio
-rwxr-xr-x  1 root root         998 26. Feb 23:16 pulseaudio-dlna
-rwxr-xr-x  1 root root       17631  7. Jan 20:06 pulseaudio-equalizer
-rwxr-xr-x  1 root root         570  7. Jan 20:06 pulseaudio-equalizer-gtk
-rwxr-xr-x  1 root root     3699904 20. Feb 13:17 pulseeffects
-rwxr-xr-x  1 root root       12432 20. Feb 09:41 setup-pulseaudio
-rwxr-xr-x  1 root root        2280 20. Feb 09:41 start-pulseaudio-x11

Code:
userx1@localhost:~> zypper se -si pulse
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name                        | Type  | Version                       | Arch   | Repository
---+-----------------------------+-------+-------------------------------+--------+-----------------------
i  | alsa-plugins-pulse          | Paket | 1.2.6-1.3                     | x86_64 | Haupt-Repository (OSS)
i  | alsa-plugins-pulse          | Paket | 1.2.6-1.3                     | x86_64 | openSUSE:Tumbleweed
i  | alsa-plugins-pulse          | Paket | 1.2.6-1.3                     | x86_64 | openSUSE:Factory
i  | alsa-plugins-pulse-32bit    | Paket | 1.2.6-1.3                     | x86_64 | Haupt-Repository (OSS)
i  | alsa-plugins-pulse-32bit    | Paket | 1.2.6-1.3                     | x86_64 | openSUSE:Tumbleweed
i  | alsa-plugins-pulse-32bit    | Paket | 1.2.6-1.3                     | x86_64 | openSUSE:Factory
i  | apulse                      | Paket | 0.1.13-2.9                    | x86_64 | Haupt-Repository (OSS)
i  | apulse                      | Paket | 0.1.13-2.9                    | x86_64 | openSUSE:Tumbleweed
i  | apulse                      | Paket | 0.1.13-2.9                    | x86_64 | openSUSE:Factory
i  | apulse-32bit                | Paket | 0.1.13-2.9                    | x86_64 | Haupt-Repository (OSS)
i  | apulse-32bit                | Paket | 0.1.13-2.9                    | x86_64 | openSUSE:Tumbleweed
i  | apulse-32bit                | Paket | 0.1.13-2.9                    | x86_64 | openSUSE:Factory
i+ | libpt2_10_11-plugins-pulse  | Paket | 2.10.11-8.9                   | x86_64 | Haupt-Repository (OSS)
i+ | libpt2_10_11-plugins-pulse  | Paket | 2.10.11-8.9                   | x86_64 | openSUSE:Tumbleweed
i+ | libpt2_10_11-plugins-pulse  | Paket | 2.10.11-8.9                   | x86_64 | openSUSE:Factory
i+ | libpulse-mainloop-glib0     | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i+ | libpulse-mainloop-glib0     | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i+ | libpulse-mainloop-glib0     | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i+ | libpulse0                   | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i+ | libpulse0                   | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i+ | libpulse0                   | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | libpulse0-32bit             | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | libpulse0-32bit             | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | libpulse0-32bit             | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | libxine2-pulse              | Paket | 1.2.11-166.41                 | x86_64 | Packman
i+ | mpg123-pulse                | Paket | 1.29.3-1.3                    | x86_64 | Haupt-Repository (OSS)
i+ | mpg123-pulse                | Paket | 1.29.3-1.3                    | x86_64 | openSUSE:Tumbleweed
i+ | mpg123-pulse                | Paket | 1.29.3-1.3                    | x86_64 | openSUSE:Factory
i+ | mpg123-pulse-32bit          | Paket | 1.29.3-1.3                    | x86_64 | Haupt-Repository (OSS)
i+ | mpg123-pulse-32bit          | Paket | 1.29.3-1.3                    | x86_64 | openSUSE:Tumbleweed
i+ | mpg123-pulse-32bit          | Paket | 1.29.3-1.3                    | x86_64 | openSUSE:Factory
i+ | pulseaudio                  | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i+ | pulseaudio                  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i+ | pulseaudio                  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-bash-completion  | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-bash-completion  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-bash-completion  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i+ | pulseaudio-dlna             | Paket | 0.6.0+git20190209.b0db813-2.3 | noarch | Packman
i+ | pulseaudio-equalizer        | Paket | 3.0.2-1.2                     | noarch | Haupt-Repository (OSS)
i+ | pulseaudio-equalizer        | Paket | 3.0.2-1.2                     | noarch | openSUSE:Tumbleweed
i+ | pulseaudio-equalizer        | Paket | 3.0.2-1.2                     | noarch | openSUSE:Factory
i  | pulseaudio-gdm-hooks        | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-gdm-hooks        | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-gdm-hooks        | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-lang             | Paket | 15.0-10.2                     | noarch | Haupt-Repository (OSS)
i  | pulseaudio-lang             | Paket | 15.0-10.2                     | noarch | openSUSE:Tumbleweed
i  | pulseaudio-lang             | Paket | 15.0-10.2                     | noarch | openSUSE:Factory
i  | pulseaudio-module-bluetooth | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-module-bluetooth | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-module-bluetooth | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-module-gsettings | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-module-gsettings | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-module-gsettings | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i+ | pulseaudio-module-jack      | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i+ | pulseaudio-module-jack      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i+ | pulseaudio-module-jack      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i+ | pulseaudio-module-lirc      | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i+ | pulseaudio-module-lirc      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i+ | pulseaudio-module-lirc      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-module-x11       | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-module-x11       | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-module-x11       | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-module-zeroconf  | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-module-zeroconf  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-module-zeroconf  | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-setup            | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-setup            | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-setup            | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-utils            | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-utils            | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-utils            | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-utils-32bit      | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-utils-32bit      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-utils-32bit      | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i  | pulseaudio-zsh-completion   | Paket | 15.0-10.2                     | x86_64 | Haupt-Repository (OSS)
i  | pulseaudio-zsh-completion   | Paket | 15.0-10.2                     | x86_64 | openSUSE:Tumbleweed
i  | pulseaudio-zsh-completion   | Paket | 15.0-10.2                     | x86_64 | openSUSE:Factory
i+ | pulseeffects                | Paket | 4.8.5-1.8                     | x86_64 | Haupt-Repository (OSS)
i+ | pulseeffects                | Paket | 4.8.5-1.8                     | x86_64 | openSUSE:Tumbleweed
i+ | pulseeffects                | Paket | 4.8.5-1.8                     | x86_64 | openSUSE:Factory
i  | pulseeffects-lang           | Paket | 4.8.5-1.8                     | noarch | Haupt-Repository (OSS)
i  | pulseeffects-lang           | Paket | 4.8.5-1.8                     | noarch | openSUSE:Tumbleweed
i  | pulseeffects-lang           | Paket | 4.8.5-1.8                     | noarch | openSUSE:Factory
i  | system-user-pulse           | Paket | 15.0-10.2                     | noarch | Haupt-Repository (OSS)
i  | system-user-pulse           | Paket | 15.0-10.2                     | noarch | openSUSE:Tumbleweed
i  | system-user-pulse           | Paket | 15.0-10.2                     | noarch | openSUSE:Factory
 
1. Ich würde der Übersichtlichkeit 2 Repos löschen: openSUSE:Tumbleweed und openSUSE:Factory
2. Ich würde mal dies versuchen zu löschen: system-user-pulse
Aber nur wenn es ohne große Abhängigkeitseffekte geht, ansonsten hier posten.
 
Ich habe die Vorschläge oben umgesetzt und den Fehler jetzt mal eine zeitlang beobachtet. Er kommt und geht immer wieder. Als letztes habe ich probiert die Kernel Pakete von Tumbleweed Standard auf ein Kernel Repository umzustellen. Leider ist jetzt kein Ton mehr vorhanden, nur noch wenn ich auf das Lautsprechersymbol in der Taskleiste klicke. :???: :???: :???: Dann aber auch nur für ein paar Sekunden. Sehr seltsames Verhalten. Hat jemand noch eine gute Idee, was ich noch probieren könnte, um den Fehler zu beheben?

Lieben Dank schon mal!
 
ein Update zu dem Fehlerbild: Vielleicht ist es relevant!? Wenn ich in den Systemeinstellungen auf "Audio" gehe, finde ich nur ein komplett leeres "Feld". Einrichten ist hier gar nicht erst möglich. Könnte das evtl. mit dem Fehler zusammenhängen? Wenn ja, wie kann ich das beheben?

Lieben Dank schon mal!
 
Hi,
ich habe mir echt mal alles Durchgelesen aber ich kann mir die Ausgaben von ls und co. so nicht nachvollziehen.
Ich glaube da gibt es ein großes Problem bei der Eingabe im Terminal.
Ich würde aber gerne mal was Ausprobieren. Terminal als ganz normaler User öffnen.
Bitte einmal als normaler User (kein su oder sudo) von:
Code:
ls -lha
Da wir nichts kaputt machen können was du nicht schon gemacht hast, grins;
Als Root anmelden
Code:
su
Dann deine Berechtigungen für dein gesamtes Home zurückholen;
Code:
chown -cR $USER $HOME
wieder auslogen;
Code:
exit
Neustarten des PCs
Dann wieder zum Vergleich;
Less:
ls -hla
Mal schauen ob es jetzt auch wieder normal funktioniert mit dem Sound.

Alle Ausgaben bitte auch mit Prompt um zu sehen ob Root oder User.


Bearbeitet da das große R bei chown vergessen, sorry.
 
Zuletzt bearbeitet:
Oben