28 lines
809 B
Markdown
28 lines
809 B
Markdown
PRE-REQUISTE:
|
|
./setup.sh
|
|
|
|
This will basically run:
|
|
docker network create frontend
|
|
docker network create backend
|
|
|
|
Create and bring up an Ubuntu instance with the following:
|
|
./create_user.sh john_doe 1001 2201 5901 your_secure_password
|
|
./connect_and_stream.sh
|
|
|
|
The ~ (home) directory is saved on the local disk in the ./data directory.
|
|
|
|
If you need to bring up a specific user:
|
|
docker-compose -f docker-compose.user_1001.yml build
|
|
docker-compose -f docker-compose.user_1001.yml up -d
|
|
|
|
OR MANUALLY:
|
|
|
|
Locally, type:
|
|
pulseaudio --load=module-native-protocol-tcp --exit-idle-time=-1 --daemon
|
|
|
|
export DISPLAY=:0
|
|
ssh -Y -C -p 2201 -L 4713:localhost:4713 -L 5000:localhost:5000 john_doe@localhost
|
|
|
|
On the remote container:
|
|
paplay /usr/share/sounds/alsa/Front_Center.wav
|
|
PULSE_SERVER=unix:/tmp/pulseaudio.socket firefox |