Advertisement
Guest User

x11 pofile

a guest
Jan 15th, 2020
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. config:
  2. environment.DISPLAY: :0
  3. raw.idmap: |-
  4. uid 1000 1000
  5. gid 985 1000
  6. user.user-data: |
  7. #cloud-config
  8. runcmd:
  9. - 'mkdir -p /home/ubuntu/.pulse-native'
  10. - 'chown -R ubuntu:ubuntu /home/ubuntu'
  11. - 'sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf'
  12. - 'echo export PULSE_SERVER=unix:/home/ubuntu/.pulse-native | tee --append /home/ubuntu/.profile'
  13. packages:
  14. - x11-apps
  15. - mesa-utils
  16. - pulseaudio
  17. - alsa-utils
  18. description: GUI LXD profile
  19. devices:
  20. PASocket1:
  21. bind: container
  22. connect: unix:/run/user/1000/pulse/native
  23. listen: unix:/home/ubuntu/.pulse-native
  24. mode: "0777"
  25. security.gid: "985"
  26. security.uid: "1000"
  27. uid: "1000"
  28. gid: "1000"
  29. type: proxy
  30. X0:
  31. bind: container
  32. connect: unix:@/tmp/.X11-unix/X0
  33. listen: unix:@/tmp/.X11-unix/X0
  34. security.gid: "985"
  35. security.uid: "1000"
  36. type: proxy
  37. Xauthority:
  38. path: /home/ubuntu/.Xauthority
  39. source: /home/colt/.Xauthority
  40. type: disk
  41. mygpu:
  42. type: gpu
  43. name: x11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement