Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config:
- environment.DISPLAY: :0
- raw.idmap: |-
- uid 1000 1000
- gid 985 1000
- user.user-data: |
- #cloud-config
- runcmd:
- - 'mkdir -p /home/ubuntu/.pulse-native'
- - 'chown -R ubuntu:ubuntu /home/ubuntu'
- - 'sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf'
- - 'echo export PULSE_SERVER=unix:/home/ubuntu/.pulse-native | tee --append /home/ubuntu/.profile'
- packages:
- - x11-apps
- - mesa-utils
- - pulseaudio
- - alsa-utils
- description: GUI LXD profile
- devices:
- PASocket1:
- bind: container
- connect: unix:/run/user/1000/pulse/native
- listen: unix:/home/ubuntu/.pulse-native
- mode: "0777"
- security.gid: "985"
- security.uid: "1000"
- uid: "1000"
- gid: "1000"
- type: proxy
- X0:
- bind: container
- connect: unix:@/tmp/.X11-unix/X0
- listen: unix:@/tmp/.X11-unix/X0
- security.gid: "985"
- security.uid: "1000"
- type: proxy
- Xauthority:
- path: /home/ubuntu/.Xauthority
- source: /home/colt/.Xauthority
- type: disk
- mygpu:
- type: gpu
- name: x11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement