Thursday, November 22, 2018

Bash: reset bash conosole

tput reset

PulseAudio: Stream sound from home to work computer over ssh and vnc

1. At work use papref to "Enable network access to local sound devices"and restart computer.

2. Copy pulse cookie from work to home: ~/.config/pulse/cookie so that work and home computer share same secret (cookie).

3. At work start: sudo start-pulseaudio-x11

4. At work open reverse tunnel for pulseadio: ssh -X -R 9998:localhost:4713 home

5. At work use vnc to connect to home.

6. Once connected using vnc to home, start firefox (for example) at home computer using: PULSE_SERVER=localhost:9998 firefox

The instructions are based on this: http://psung.blogspot.com/2011/09/network-audio-with-pulseaudio-made.html