A Desktop-as-a-Service with root access using Ubuntu and common encryption (SSH) and Windowing protocols in a dockerized system.
Go to file
2024-07-24 00:23:36 -04:00
connect_and_stream.sh Working streaming audio 2024-07-23 23:25:47 -04:00
create_ubuntu_user.sh Working streaming audio 2024-07-23 23:25:47 -04:00
create_user.sh Working streaming audio 2024-07-23 23:25:47 -04:00
docker-compose.networks.yml Main files for making user envs 2024-07-23 16:40:12 -04:00
docker-compose.yml Main files for making user envs 2024-07-23 16:40:12 -04:00
Dockerfile Working files for Ubuntu! 2024-07-24 00:23:36 -04:00
README.md Working streaming audio 2024-07-23 23:25:47 -04:00
setup.sh Working streaming audio 2024-07-23 23:25:47 -04:00
start_services.sh Working streaming audio 2024-07-23 23:25:47 -04:00

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