Changes between Version 8 and Version 9 of WebKitGTK/Chroot


Ignore:
Timestamp:
Feb 20, 2014, 3:15:24 PM (11 years ago)
Author:
Andres Gomez
Comment:

Resorted pulse audio connection methods from a chroot

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/Chroot

    v8 v9  
    9393There are different ways of overcoming this limitation.
    9494
     95==== Fix through tcp connection ====
     96
    9597One of the simplest ones would be to set the local server to listen for TCP connections in the loopback interface, allowing any connection, and the Pulse client processes running in the chroot to connect to the server listening in the loopback interface. This can be sent system-wide, to all the users in the local host and the chroot or just per user.
    9698
     
    119121}}}
    120122
    121 === Pulse running system-wide ===
     123==== Fix through unix connection ====
    122124
    123 The complete information about this can be found at http://www.freedesktop.org/wiki/Software/PulseAudio/FAQ/#index36h3
     125This was a way of making a working connection to the pulse audio server running in the host while a soft link to the /tmp/pulse-XXXX working directory was stored at $HOME/.pulse/ .
    124126
    125 As this is not the default running mode for pulse, you will have to set the proper setting:
    126 {{{
    127 #!sh
    128 $ cat /etc/pulse/daemon.conf
    129 ...
    130 system-instance = yes
    131 ...
    132 }}}
     127This is not like this any more so '''this method is not working any more'''. You are free to correct this method for a way that would actually work.
    133128
    134 ==== Pulse Ubuntu ====
     129This were the steps to follow, though ...
    135130
    136131First, we have to make work `/dev/shm` (in some distributions, this is actually a soft link to `/run/shm`) following the instructions [wiki:WebKitGTK/Chroot#SHM_Ubuntu above].
     
    161156/home/user/.pulse /home/user/.pulse none rw,bind        0       0
    162157}}}
     158
     159=== Pulse running system-wide ===
     160
     161In system-wide mode any client process can connect to the running pulse audio instance.
     162
     163The complete information about this can be found at http://www.freedesktop.org/wiki/Software/PulseAudio/FAQ/#index36h3
     164
     165As this is not the default running mode for pulse, you will have to set the proper setting:
     166{{{
     167#!sh
     168$ cat /etc/pulse/daemon.conf
     169...
     170system-instance = yes
     171...
     172}}}